4 Apr
2007
4 Apr
'07
12:09 p.m.
I like the extended feature set of makeindex so I creatred my own little routine to use it with Context on a recent project. Here is the code: \newwrite\ind \immediate\openout\ind=book.idx \def\sidx#1{\write\ind{\\indexentry{#1}{\the\pageno}}} It works fine from the indexing point of view. But if the \sidx{} tag is embedded in a paragraph then some extra space is left where the tag existed in the paragraph. I had to move all such tags to either the beginning or the end of the paragraph. What did I fail to do? -- John Culleton Able Indexing and Typesetting Precision typesetting (tm) at reasonable cost. Satisfaction guaranteed. http://wexfordpress.com