From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/2543 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: scribes and scolars: ^^M Date: Fri, 25 Aug 2000 11:55:47 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.20000825115547.01496da0@pop.wxs.nl> References: <001001c00e06$5c853400$a77c2ed5@arnhem.chello.nl> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: main.gmane.org 1035393330 9758 80.91.224.250 (23 Oct 2002 17:15:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:15:30 +0000 (UTC) Cc: "ntg-context" Original-To: "Frans Goddijn" In-Reply-To: <001001c00e06$5c853400$a77c2ed5@arnhem.chello.nl> Xref: main.gmane.org gmane.comp.tex.context:2543 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:2543 At 10:01 PM 8/24/00 +0200, Frans Goddijn wrote: >On the second run, tex stops with a strange complaint, caused by a line in >the .tuo file that has suddenly got some strange characters, displayed in >the .tuo file as ^^M but otherwise invisible in the source file itself. >\registerentrya{boektitel}{Scribes and Scholars.^^MA Guide to the >Transmission of Greek and^^MLatin Literature.} Now, say that you redefine: \def\obeyedspace{\ifprocessingverbatim\hbox{ }\else\space\fi} and set \setupregister[index][expansion=yes] and define a command like: \def\Index{\bgroup\ignorelines\doIndex} \def\doIndex#1{\index{#1}\egroup} then you can say: \startlines Why is Frans torturing ConTeXt so much\Index{torture test}. \stoplines Of course you can also decide to put the whole index entry on one line, Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE 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 -------------------------------------------------------------------------