ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \index inserts whitespace
Date: Fri, 10 Jul 2009 19:27:12 +0200	[thread overview]
Message-ID: <E120921D-7FE4-4BFE-AF12-12C5D996F8A1@gmail.com> (raw)
In-Reply-To: <4A565E35.6090404@wxs.nl>


Am 09.07.2009 um 23:16 schrieb Hans Hagen:

> \def\donoregister #1#2#3{\doflushatpar{\doprocesspageregister{#1}{}{} 
> {#2}{#3}}}   % register key - entry
> \def\dodoregister#1#2#3#4{\doflushatpar{\doprocesspageregister{#1}{} 
> {#2}{#3}{#4}}} % register key altnum entry

Thanks, this works.

Is there also a way to take care of situations where the \index  
command appear between two vertical skips, a stupid example is

     \starttext

     text
     \blank\index{text}

     \blank
     more text

     \stoptext

In my document this appears in the form

     \setup[commanda]\index{commanda}

     \setup[commandb]\index{commandb}

and

     \setup[commandc]\index{commandc}

     \starttyping
     ...
     \stoptyping

Wolfgang


___________________________________________________________________________________
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
___________________________________________________________________________________


  reply	other threads:[~2009-07-10 17:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-09 19:48 Wolfgang Schuster
2009-07-09 21:16 ` Hans Hagen
2009-07-10 17:27   ` Wolfgang Schuster [this message]
2009-07-10 18:03     ` Hans Hagen
2009-07-11  3:44       ` Wolfgang Schuster
2009-07-11  9:17         ` Hans Hagen

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=E120921D-7FE4-4BFE-AF12-12C5D996F8A1@gmail.com \
    --to=schuster.wolfgang@googlemail.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).