Page 1 of 1
Author DITA xref display
Posted: Mon Sep 28, 2009 8:20 am
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.
Re: Author DITA xref display
Posted: Mon Sep 28, 2009 8:33 am
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
Re: Author DITA xref display
Posted: Tue Sep 29, 2009 7:52 am
by maglid
Perfect! That works great, thanks a lot Radu for the fast answer!