From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/5940 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: \index eats \par? Date: Fri, 26 Oct 2001 12:18:43 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20011026121618.032a18d0@server-1> References: <20011025190854.A17304@bart.math.muni.cz> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035396500 5914 80.91.224.250 (23 Oct 2002 18:08:20 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:08:20 +0000 (UTC) Cc: NTG ConTeXt Mailing List Original-To: David Antos In-Reply-To: <20011025190854.A17304@bart.math.muni.cz> Xref: main.gmane.org gmane.comp.tex.context:5940 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:5940 At 07:08 PM 10/25/2001 +0200, David Antos wrote: > Hi all, > >using \index at the end of a paragraph (like this one ;-) eats all \par-s >after that. Is this a bug or a feature? (In human words: the paragraphs become >joined together into one.) >\index{really don't know why} > >It can be easilly overriden using \index{} before the end of the paragraph, >but I consider this quite unpleasant. actually this is a feature; as berend says: use \index before the word to index (think of this: if such a word hyphenates, you want the ref on the page where the forst part ends up). the idea is as follows: \chapter {something} \index{oeps} \index{more} some text now this works well, if the \par would not be eaten, there would be a write node and thereby interference in the spacing (in some situations resulting in too much whitespace for instance. Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com -------------------------------------------------------------------------