Re: [NTG-context] urgent index error

2008-09-29 Thread Steffen Wolfrum

Am 29.09.2008 um 00:16 schrieb Wolfgang Schuster:


 Am 29.09.2008 um 00:00 schrieb Steffen Wolfrum:

 Hi,


 in my document I use utf-input.
 So do the index-marks:

 \enableregime[utf]

 \starttext

 START\startregister[index][umlautä]{Umlaute– ä}

 \input knuth

 END\stopregister[index][umlautä]

 \placeregister[index][compress=yes]

 \stoptext



 Just, this can't be typset:

 ! Missing \endcsname inserted.
 to be read again
   \char
 \dochar #1-\char
  #1\relax
 \setgvalue #1-\expandafter \gdef \csname #1
\endcsname
 \dostartregister ... \setgvalue {\??id #1\??id #2}
  {\dodostopregister
 [#1][#3...
 l.5 ...rtregister[index][umlautä]{Umlaute– ä}

 ?



 UTF in maintext but not in index-marks ...

 What can be done now (besides re-writting the document)?

 \startregister[index][umlautae]{...}
 ...
 \stopregister[index][umlautae]

 You could use umlauts in macro names only with XeTeX and LuaTeX
 but not with pdfTeX.


strange...

sure, you are right: no umlaut in macro names.
only, I didn't consider it as a macro name, for it is written in the  
text (ie. the original doc-file) by the author, and thus in my  
consideration part of the text. some kind of hybrid, no?

but as using pdfTeX can be totally avoided in near future it's all  
right with me.

Steffen



___
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
___


[NTG-context] urgent index error

2008-09-28 Thread Steffen Wolfrum
Hi,


in my document I use utf-input.
So do the index-marks:

\enableregime[utf]

\starttext

START\startregister[index][umlautä]{Umlaute– ä}

\input knuth

END\stopregister[index][umlautä]

\placeregister[index][compress=yes]

\stoptext



Just, this can't be typset:

! Missing \endcsname inserted.
to be read again
\char
\dochar #1-\char
   #1\relax
\setgvalue #1-\expandafter \gdef \csname #1
 \endcsname
\dostartregister ... \setgvalue {\??id #1\??id #2}
   {\dodostopregister  
[#1][#3...
l.5 ...rtregister[index][umlautä]{Umlaute– ä}

?



UTF in maintext but not in index-marks ...

What can be done now (besides re-writting the document)?

Steffen (MKII)
___
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
___


Re: [NTG-context] urgent index error

2008-09-28 Thread Wolfgang Schuster

Am 29.09.2008 um 00:00 schrieb Steffen Wolfrum:

 Hi,


 in my document I use utf-input.
 So do the index-marks:

 \enableregime[utf]

 \starttext

 START\startregister[index][umlautä]{Umlaute– ä}

 \input knuth

 END\stopregister[index][umlautä]

 \placeregister[index][compress=yes]

 \stoptext



 Just, this can't be typset:

 ! Missing \endcsname inserted.
 to be read again
\char
 \dochar #1-\char
   #1\relax
 \setgvalue #1-\expandafter \gdef \csname #1
 \endcsname
 \dostartregister ... \setgvalue {\??id #1\??id #2}
   {\dodostopregister
 [#1][#3...
 l.5 ...rtregister[index][umlautä]{Umlaute– ä}

 ?



 UTF in maintext but not in index-marks ...

 What can be done now (besides re-writting the document)?

\startregister[index][umlautae]{...}
...
\stopregister[index][umlautae]

You could use umlauts in macro names only with XeTeX and LuaTeX
but not with pdfTeX.

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
___