Xref link color transformations not correct! Using XEP FOP.
Posted: Fri Dec 07, 2012 6:22 pm
Ok...I have searched around on the forums for quite a bit and I have not found any info on the problem I'm having. I would very much appreciate help with the following:
I currently have a DITA/XML document with xref links throughout the document that I'm trying to transform into a PDF using XEP FO Processor.
Every time I transform the document, it gives me everything correct, EXCEPT that the xref link colors vary in the document!
In some topics the blue color is a vibrant #0000FF blue, in other topics the blue is a dark variation with a deeper saturation. I need the color to be exactly the same!
This is what I tried to do to fix it:
1.) Went to my C:\DITA-OT1.5.1\demo\fo\cfg\fo\attrs\links-attr file and changed the attribute value of xref from "blue" to the hex# value of full blue (i.e., #0000FF); it did not work
.
Below is the code that is currently in the link-attr file:
Could it be the "font-style" attribute that’s throwing it off? If so, where do I find that code and what values can I change it to?
Whats funny about all this, is when I change teh xref color attribute to red (i.e., #FF0000)the color of the links are consistent throughout.
Could this be a bug?
Any help will be MUCH appreciated!!!!
~Brent
I currently have a DITA/XML document with xref links throughout the document that I'm trying to transform into a PDF using XEP FO Processor.
Every time I transform the document, it gives me everything correct, EXCEPT that the xref link colors vary in the document!
In some topics the blue color is a vibrant #0000FF blue, in other topics the blue is a dark variation with a deeper saturation. I need the color to be exactly the same!
This is what I tried to do to fix it:
1.) Went to my C:\DITA-OT1.5.1\demo\fo\cfg\fo\attrs\links-attr file and changed the attribute value of xref from "blue" to the hex# value of full blue (i.e., #0000FF); it did not work

Below is the code that is currently in the link-attr file:
Code: Select all
<xsl:attribute-set name="xref">
<xsl:attribute name="color">#0000FF</xsl:attribute>
<xsl:attribute name="font-style">normal</xsl:attribute>
</xsl:attribute-set>
Whats funny about all this, is when I change teh xref color attribute to red (i.e., #FF0000)the color of the links are consistent throughout.
Could this be a bug?
Any help will be MUCH appreciated!!!!
~Brent