Closed steinbacher01 closed 4 years ago
Is there an easy way to apply color to all xref link text (unless output.type=print-mono)?
I'm considering the way. Please give me a time.
I modified the xref template to make it possible to customize the style without overriding the template.
(Newly added styles)
Now you can override "atsXrefStep" in your style definition file.
Thank you for this change. I tested it and the output is now as expected.
I'm wondering why there is no color for some types of xrefs. I'm looking at com.antennahouse.pdf5.ml\xsl\dita2fo_xref.xsl - line #780 and I see this comment.
"steps/step, substep: Xref link color does not apply."
I'm trying to be consistent so all links have a color, but I'd rather not have to extend this xsl:template just to add color to the link.
Here's a screenshot of my PDF output.
Here's the source for the link that is not colored. The target of the xref is a step.
Is there an easy way to apply color to all xref link text (unless output.type=print-mono)?
Thanks,
Leroy