Non-printing macro disturbs line justification.
I did a big project in Context and becuse I wanted to use the special features of eplain's interface to makeindex I wrote my own indexing macro. Every place I inserted a call to this macro extra space appeared at that point. Here is my macro: \def\sidx#1{\write\ind{\\indexentry{#1}{\the\pageno}}} I had to retreat to the regular Context indexing tag. Can someone spot the flaw in my definition? -- John Culleton ATTN Publishers/authors: If you don't read you don't succeed. Free short list of publishing/marketing books. http://wexfordpress.com/tex/shortlist.pdf
Saturday, July 28, 2007 John R. Culleton wrote:
I did a big project in Context and becuse I wanted to use the special features of eplain's interface to makeindex I wrote my own indexing macro. Every place I inserted a call to this macro extra space appeared at that point. Here is my macro:
\def\sidx#1{\write\ind{\\indexentry{#1}{\the\pageno}}}
I had to retreat to the regular Context indexing tag. Can someone spot the flaw in my definition?
Don't know if it's significant, but what if you use \slash instead of \\ ? -- Giuseppe "Oblomov" Bilotta
participants (2)
-
Giuseppe Bilotta
-
John R. Culleton