DITA and XMetaL Discussion
txvia October 30, 2011 at 5:33 am
Add color to index page linksOctober 30, 2011 at 5:33 amParticipants 3Replies 4Last Activity 11 years, 3 months ago
Hi, I have another question on index page customizations. I'd like to have my index page links to be in a different color. By default DITA_OT configures the index page links to be black, I want to use a different color code to make these links stand out from their adjacent characters. Is there a way to do it? I tried to change settings in xm_index.xsl and index-attr.xsl, but was not able to get it to work.
I must be clear about what I mean by index page links; index page links are those clickable page numbers on the index page. For example, “body page 14” where “14” is the clickable link and I'd like to color-code it if possible, thanks.IF November 2, 2011 at 7:22 pm
Reply to: Add color to index page linksNovember 2, 2011 at 7:22 pm
My suggestion was to edit the attribute set __index__page__link but now that I look at it I see that the color is set to blue and yet the output (XMetal Enhanced PDF via Render XEP) is black regardless of what color is specified for the attribute.
What is odd to me is that the topic.fo file seems to display the correct color information and yet the output is black, for example:txvia November 3, 2011 at 4:04 am
Reply to: Add color to index page linksNovember 3, 2011 at 4:04 am
Thanks for the reply, that was exactly what I've modified, and it turned out to be black even when the value says blue. I believe this may very well be a bug in DITA OT.txvia November 8, 2011 at 5:00 pm
Reply to: Add color to index page linksNovember 8, 2011 at 5:00 pm
Move this up and see if anyone has a solution for this, thanks.IF January 27, 2012 at 4:10 pm
Reply to: Add color to index page linksJanuary 27, 2012 at 4:10 pm
Explanation is here
and solution is here
- You must be logged in to reply to this topic.