From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/69554 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: where to place \index (again) Date: Sun, 26 Jun 2011 22:52:19 +0200 Message-ID: References: <4E0770C4.6000803@wxs.nl> <949EBA10-CB02-45D8-A760-0EC3244AC8AE@st.estfiles.de> <2637448E-D1EA-416C-83DE-3E70733F7063@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1309121573 28261 80.91.229.12 (26 Jun 2011 20:52:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 26 Jun 2011 20:52:53 +0000 (UTC) Cc: mailing list for ConTeXt users , Hans Hagen , Steffen Wolfrum To: Thomas Schmitz Original-X-From: ntg-context-bounces@ntg.nl Sun Jun 26 22:52:42 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QawJt-0001li-QE for gctc-ntg-context-518@m.gmane.org; Sun, 26 Jun 2011 22:52:41 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DB53CCADB9; Sun, 26 Jun 2011 22:52:40 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id q033vp74I1a4; Sun, 26 Jun 2011 22:52:38 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 33F32CAD90; Sun, 26 Jun 2011 22:52:38 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3EA02CAD90 for ; Sun, 26 Jun 2011 22:52:36 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id c7k3QQDGcJcy for ; Sun, 26 Jun 2011 22:52:25 +0200 (CEST) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id 2AFA7CAD55 for ; Sun, 26 Jun 2011 22:52:25 +0200 (CEST) Original-Received: from mail-fx0-f42.google.com (mail-fx0-f42.google.com [209.85.161.42]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p5QKqONo008175 for ; Sun, 26 Jun 2011 22:52:24 +0200 Original-Received: by fxe23 with SMTP id 23so1339709fxe.15 for ; Sun, 26 Jun 2011 13:52:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer; bh=6SdWftoS7BX4ofKCPxpnxm/K+gAUSJ3KaKPfWa32ehA=; b=QUfhn9OkSG0V/t/YrziJCl4KeHV2YqNuERI0XoFHkMxNc5sst15qaBHJIj930JAhoh X/ZkW2q52DU9d1t62ok+s5d97I+fSxkg8L5ijf4e5Ju24Q5LySpYLC+EmcbbDI8KnH9K EPz4UmA+CvjJObmYHEukX0ISEul4eikvs3ebw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=piZA/k/7PpMZGKo/Hg7WyXtH5frDvNPT0hTkxWPhqwdq1G3S2jORtXqCTVO0q72WUW Sx6HkhEQZBYnhLEPWJdqNl7jcYgiUgbcLMGSBv92mt5Iq1CuItQWD7pE5QrmqCUz8FuO hmDRfQYitWsie4mJIZuvO1CEoF6t3Y/105ui0= Original-Received: by 10.223.79.139 with SMTP id p11mr7726668fak.118.1309121544111; Sun, 26 Jun 2011 13:52:24 -0700 (PDT) Original-Received: from [192.168.2.34] (p5B0EE78E.dip.t-dialin.net [91.14.231.142]) by mx.google.com with ESMTPS id n27sm3099979faa.4.2011.06.26.13.52.21 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 26 Jun 2011 13:52:23 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1084) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.42; 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: 06F0IQoII - 5571248d0f73 - 20110626 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:69554 Archived-At: Am 26.06.2011 um 22:18 schrieb Thomas Schmitz: >> \setuplayout[width=6.3cm]\showframe >> %\let\forcecolorhack\relax >> \starttext >> This is a short sentence to check \index{test}the \tex{index} command. >> This is another sentence for the test\index{test}. >> \stoptext >> The problem when you put the \index command before a word is that >> it can end in a visible space at the end of the previous line. >> Wolfgang > Thanks, Wolfgang. Just to confirm: yes, this short test does indeed show exactly the effects I was referring to. So question to Taco: could some lua trickery somehow get around these nasty effects? Because they really make finishing a long project somewhat difficult... The effect is caused by \forcecolorhack and when uncomment my redefinition you can see that the output is as expected but there has to be a reason why Hans use it. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________