ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* urgent index error
@ 2008-09-28 22:00 Steffen Wolfrum
  2008-09-28 22:16 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Steffen Wolfrum @ 2008-09-28 22:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: urgent index error
  2008-09-28 22:00 urgent index error Steffen Wolfrum
@ 2008-09-28 22:16 ` Wolfgang Schuster
  2008-09-29  6:57   ` Steffen Wolfrum
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2008-09-28 22:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: urgent index error
  2008-09-28 22:16 ` Wolfgang Schuster
@ 2008-09-29  6:57   ` Steffen Wolfrum
  0 siblings, 0 replies; 3+ messages in thread
From: Steffen Wolfrum @ 2008-09-29  6:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-09-29  6:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-28 22:00 urgent index error Steffen Wolfrum
2008-09-28 22:16 ` Wolfgang Schuster
2008-09-29  6:57   ` Steffen Wolfrum

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).