Author DITA xref display

Oxygen general issues.
maglid
Posts: 75
Joined: Mon Sep 28, 2009 8:10 am

Author DITA xref display

Post by maglid »

In Author DITA mode, is there a way to turn off display of the xref path when I add an xref? When I add an xref in a small table cell, the extra path and filename info really messes up the table display. I do not need to see the path info at all. Even with tags off it still appears.
Radu
Posts: 9496
Joined: Fri Jul 09, 2004 5:18 pm

Re: Author DITA xref display

Post by Radu »

Hi,

Rendering in the Author page is CSS based.
You have to edit the OXYGEN_INSTALL_DIR/frameworks/dita/css_classed/topic.css file and comment or remove from line 591 to 598.
The commented CSS should be:

Code: Select all


*[class~="topic/link"][href]:before,
*[class~="topic/xref"][href]:before {
content:url("../img/link.png") "[" attr(href) "]";
}
*[class~="topic/link"][type][href]:before,
*[class~="topic/xref"][type][href]:before {
content:url("../img/link.png") "[" attr(type) " - " attr(href) "]";
}
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
maglid
Posts: 75
Joined: Mon Sep 28, 2009 8:10 am

Re: Author DITA xref display

Post by maglid »

Perfect! That works great, thanks a lot Radu for the fast answer!
Post Reply