Pages: 1
Print
Author Topic: Colons in Index Terms  (Read 1630 times)
bzebian
Member

Posts: 27


« on: October 08, 2009, 02:31:57 PM »

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.1
Logged
Su-Laine Yeo
Solutions Consultant
Member

Posts: 260


« Reply #1 on: October 14, 2009, 02:29:23 PM »

Hi Bob,

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

Regards,
Su-Laine
Logged

Su-Laine Yeo
Solutions Consultant
JustSystems Canada, Inc.
Su-Laine Yeo
Solutions Consultant
Member

Posts: 260


« Reply #2 on: October 22, 2009, 03:54:05 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/9598
Logged

Su-Laine Yeo
Solutions Consultant
JustSystems Canada, Inc.
bzebian
Member

Posts: 27


« Reply #3 on: November 05, 2009, 10:14:10 AM »

Thanks. Will give them a test.
Logged
bzebian
Member

Posts: 27


« Reply #4 on: November 09, 2009, 02:46:42 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, <indexterm>Connect:Direct<index-sort-as>Connect:Direct</index-sort-as></indexterm>

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.

<indexterm>index, item</indexterm>

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.
Logged
Pages: 1
Print
Jump to: