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.

HTH,

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

Reply via email to