Taco Hoekwater wrote:
> Henning Hraban Ramm wrote:
> >> \startencoding[ec]
> >>     \startmode[swiss]
> >>         \definecharacter ssharp {ss}
> >>     \stopmode
> >> \stopencoding
> >> than the order of commands doesn't matter any more (but then the
> >> automatic conversion will only work for the ec encoding).
>
> mode processing is based on modes that are in effect
> at the execution time of the \startmode macro, not
> the typeset time. This would work:
>
>    \enablemode[swiss]
>    \startencoding[ec]
>       \startmode[swiss]
>           \definecharacter ssharp {ss}
>       \stopmode
>    \stopencoding
>
> but then it would be on always, since it effectively becomes
>
>    \startencoding[ec]
>       \definecharacter ssharp {ss}
>    \stopencoding
>
> whereas without the \enablemode it becomes only:
>
>    \startencoding[ec]
>    \stopencoding
>
> which does nothing.

OK, thanks Taco. Now I understand the problem. I always compiled with or without
    texexec --mode=swiss
which worked fine. If mixing modes within the same document is
required (\enablemode/\disablemode[swiss]), it fails of course (I
didn't think about it).

Mojca
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to