Hi,

I discovered this bug while answering a question on TeX.SX. Consider:

\define\cyrdash{\dontleavehmode\scale[sx=0.80]{---}}
\unprotect
\setuplanguage
  [\s!ru]
  [
    \c!midsentence=\cyrdash,
    \c!leftsentence=\cyrdash,
    \c!rightsentence=\cyrdash,
  ]
\protect


\setupbodyfont[dejavu]

\starttext
Normal text|<|English

\mainlanguage[ru]
Normal text|<|Russian
\stoptext

The pdf shows:

Normal text—English
Normal text„Russian

Why the quote instead of the emdash. The output is okay is if \mainlanguage is set before |<| is used for the first time.

Aditya
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to