From: "John R. Culleton" <john@wexfordpress.com>
To: ntg-context@ntg.nl
Subject: Makeindex and Context
Date: Wed, 4 Apr 2007 08:09:56 -0400 [thread overview]
Message-ID: <200704040809.56941.john@wexfordpress.com> (raw)
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
next reply other threads:[~2007-04-04 12:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-04 12:09 John R. Culleton [this message]
2007-04-04 20:29 ` Taco Hoekwater
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200704040809.56941.john@wexfordpress.com \
--to=john@wexfordpress.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).