* scribes and scolars: ^^M
@ 2000-08-24 20:01 Frans Goddijn
2000-08-25 9:55 ` Hans Hagen
0 siblings, 1 reply; 2+ messages in thread
From: Frans Goddijn @ 2000-08-24 20:01 UTC (permalink / raw)
Hello,
After a longish working day I treat myself to a few hours of happy TeXing
on a book that I want to make available for those interested and on the
home PC I ran into an interesting problem:
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.
I seem to remember that a while ago Hans tackled a similar problem but I
forgot how it could be avoided. On the WIN98 system where I originally ran
this source file, nothing like this happened. On This WIN-NT machine at
home, this comes up...
I easily find these "invisible" line-break like characters in the TUO file
so I can search and destroy these in the main source file, but if there's a
better way I'd be interested to hear ;=}}
Here is part of that .TUO file:
%
% TeXUtil 6.7 - ConTeXt / PRAGMA ADE 1992-1998 / Commands
%
\thisisutilityversion{1998.12.20}
\registerentrya{boektitel}{Scribes and Scholars.^^MA Guide to the
Transmission of Greek and^^MLatin Literature.}
\registerpage{boektitel}{,}{238}{2::0:1:0:0:0:0:0::17}{21}
\registerentrya{boektitel}{Sp\"{a}tzeit}
\registerpage{boektitel}{,}{90}{2::0:1:0:0:0:0:0::9}{13}
\registerentrya{boektitel}{Strofen en andere verzen uit de^^Mnalatenschap
van Andries de Hoghe}
Groet!
Frans
frans@iaf.nl www.goddijn.com
Pb 30196 6803 AD Arnhem NL
tel (+31)[0]621-815-881 fax (+31)[0]26-3211.759
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: scribes and scolars: ^^M
2000-08-24 20:01 scribes and scolars: ^^M Frans Goddijn
@ 2000-08-25 9:55 ` Hans Hagen
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2000-08-25 9:55 UTC (permalink / raw)
Cc: ntg-context
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
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-08-25 9:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-08-24 20:01 scribes and scolars: ^^M Frans Goddijn
2000-08-25 9:55 ` Hans Hagen
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).