Page 1 of 1

Possible Bug - Lost all styling in output

Posted: Sat Oct 01, 2016 2:59 am
by cjboorman
Hi,

I used a parent topic twice in two sub-ditamaps, and discovered that in the WebHelp Classic output, the links to both of the parent topic's subtopics appeared combined. I finally solved the problem by using the "copy-to" attribute in the topicref in the second ditamap (for the second parent topic reference).

But now the output of the second parent topic appears without any styling at all! I.e., with a Serif font (ikes!).

Have I hit a bug in oXygen?

:shock:


Thanks,

Chris.

Re: Possible Bug - Lost all styling in output

Posted: Mon Oct 03, 2016 8:50 am
by radu_pisoi
Hi,

This situation is usually encountered when you don't keep the same path for the copied resource.

For instance, if you want to copy the following topic:

Code: Select all

<topicref href="tasks/pruning.dita"/>
then, the value of the copy-to attribute should be copy-to="tasks/pruning-copy.dita". Otherwise, the path to the CSS it is not computed well and the topic it isn't rendered correctly.