ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Non-printing macro disturbs line justification.
@ 2007-07-28 12:32 John R. Culleton
  2007-07-29 11:45 ` Giuseppe Bilotta
  0 siblings, 1 reply; 2+ messages in thread
From: John R. Culleton @ 2007-07-28 12:32 UTC (permalink / raw)
  To: ntg-context

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


___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Non-printing macro disturbs line justification.
  2007-07-28 12:32 Non-printing macro disturbs line justification John R. Culleton
@ 2007-07-29 11:45 ` Giuseppe Bilotta
  0 siblings, 0 replies; 2+ messages in thread
From: Giuseppe Bilotta @ 2007-07-29 11:45 UTC (permalink / raw)
  To: John R. Culleton; +Cc: ntg-context

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

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-07-29 11:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-28 12:32 Non-printing macro disturbs line justification John R. Culleton
2007-07-29 11:45 ` Giuseppe Bilotta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).