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)
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
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
participants (2)
-
Steffen Wolfrum
-
Wolfgang Schuster