DITA and XMetaL Discussion
bzebian October 8, 2009 at 8:31 pm
Colons in Index TermsOctober 8, 2009 at 8:31 pmParticipants 3Replies 4Last Activity 12 years, 8 months ago
Is there any way to delimit a colon in an indexterm marker so that it doesn't create a sub-term in the index, but displays as an actual colon? Yahoo DITA Users group says use : but that doesn't seem to work.
This is with the pdf3 output type in XmetaL 5.1Su-Laine Yeo October 14, 2009 at 8:29 pm
Reply to: Colons in Index TermsOctober 14, 2009 at 8:29 pm
As far as I can tell, this is an Open Toolkit issue and is not specific to XMetaL. I'm surprised that nobody has reported it before.
I've logged a bug here against the Open Toolkit: https://sourceforge.net/tracker/?func=detail&aid=2879196&group_id=132728&atid=725074
As a primitive workaround, depending on what font you are using in your PDF index you might be able to use another character that looks like a colon. Here is one that should work in a few fonts: http://www.fileformat.info/info/unicode/char/05c3/browsertest.htm
Su-LaineSu-Laine Yeo October 22, 2009 at 9:54 pm
Reply to: Colons in Index TermsOctober 22, 2009 at 9:54 pm
Derek found this old thread in which someone posted a creative workaround for the bug: http://tech.groups.yahoo.com/group/dita-users/message/9598bzebian November 5, 2009 at 4:14 pm
Reply to: Colons in Index TermsNovember 5, 2009 at 4:14 pm
Thanks. Will give them a test.bzebian November 9, 2009 at 8:46 pm
Reply to: Colons in Index TermsNovember 9, 2009 at 8:46 pm
I've found that if I type the term in the Sort As box in the Insert Index Marker dialog, it does not break at the colon in PDF output. For example,
prints correctly in the index as Connect:Direct. That may be easiest for the writers to handle.
But I find that doesn't work with commas. The only thing I've found so far that works for commas is to insert the indexterm from the element list rather than through the 5.1 GUI.
Also, looks like when you use Sort As with EclipseHelp output, it outputs the term twice. We disable the index tag in Eclipse output, so this is not a big deal.
- You must be logged in to reply to this topic.