Possible Bug - Lost all styling in output

cjboorman
Posts: 37
Joined: Wed Jun 19, 2013 1:49 am

Possible Bug - Lost all styling in output

Post by cjboorman » Sat Oct 01, 2016 2:59 am

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.

radu_pisoi
Posts: 336
Joined: Thu Aug 21, 2003 11:36 am
Location: Craiova
Contact:

Re: Possible Bug - Lost all styling in output

Post by radu_pisoi » Mon Oct 03, 2016 8:50 am

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.
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

Post Reply