From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/51727 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: \index inserts whitespace Date: Sat, 11 Jul 2009 05:44:52 +0200 Message-ID: References: <1B1306A0-DD6B-49AA-AEC7-A1679DC8744A@gmail.com> <4A565E35.6090404@wxs.nl> <4A57826A.3060600@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v935.3) Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1247284176 10660 80.91.229.12 (11 Jul 2009 03:49:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 11 Jul 2009 03:49:36 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Jul 11 05:49:29 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1MPTab-0002Jo-2n for gctc-ntg-context-518@m.gmane.org; Sat, 11 Jul 2009 05:49:29 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4C3EA1FB5A; Sat, 11 Jul 2009 05:49:28 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 02197-01; Sat, 11 Jul 2009 05:48:39 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4F8441FADF; Sat, 11 Jul 2009 05:48:37 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 212551FADF for ; Sat, 11 Jul 2009 05:48:34 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 30323-09 for ; Sat, 11 Jul 2009 05:48:14 +0200 (CEST) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by ronja.ntg.nl (Postfix) with ESMTP id E77FE1FAD7 for ; Sat, 11 Jul 2009 05:48:12 +0200 (CEST) Original-Received: from mail-fx0-f217.google.com (mail-fx0-f217.google.com [209.85.220.217]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-5) with ESMTP id n6B3m8I0007730 for ; Sat, 11 Jul 2009 05:48:12 +0200 Original-Received: by fxm17 with SMTP id 17so1153055fxm.2 for ; Fri, 10 Jul 2009 20:48:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=tKRPn+M4FqG8ZUjrwDGo2IPK2TooO97nSUjSDqVHiUE=; b=aEazP+S+EVNu0JSjvNGO85R4FDO7O+uWvV+yKwJeXs/hp/56Pq/vt9pxcfuM+YR4vC 3HPxJzEQjs/GU47FG7z96sJ625wxChpuMCeN3uGHsU4qEyyHSCDeRNmRrEBsdj8iPCoW xxLRg62+HYjRu6WMfjdO3a49hwVKWGSH05Nq8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=fUz7b7ELqrRmyL0xTEjCtbe/X0hVR26HxtIOquwon1Bnm/y5zRz3M5Ddcc1T1CLTQy iGZ6a6bmkeJTQct+VMfLUpPpJMeVby3P2YgDk2diSklCOXpTHEXD4Vg3vF6rGw3tl6q9 IHlxnzsvK+G4gMHq9r8bS889cL70+rw+FN9nw= Original-Received: by 10.204.57.73 with SMTP id b9mr2570197bkh.45.1247284087797; Fri, 10 Jul 2009 20:48:07 -0700 (PDT) Original-Received: from ?192.168.2.23? (p5B2974AF.dip.t-dialin.net [91.41.116.175]) by mx.google.com with ESMTPS id 22sm3868525fkq.23.2009.07.10.20.48.06 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 10 Jul 2009 20:48:06 -0700 (PDT) In-Reply-To: <4A57826A.3060600@wxs.nl> X-Mailer: Apple Mail (2.935.3) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.220.217; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 259133960 - dbaeb01d8a7a - 20090711 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:51727 Archived-At: Am 10.07.2009 um 20:03 schrieb Hans Hagen: > Wolfgang Schuster wrote: >> 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 > > no, an index inserts something in the stream (after all it has to be > anchored); > in such a case you can try \EveryPar{\index{...}} this suppress the extra skip but executes the index at each paragraph till the next \EveraPAr or the end of the document > (or use the delayed flush at par mechanism) do you mean \flushatnextpar because this works 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 ___________________________________________________________________________________