* \translateinput and discretionaries
@ 2008-12-06 14:31 Wolfgang Schuster
0 siblings, 0 replies; only message in thread
From: Wolfgang Schuster @ 2008-12-06 14:31 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi,
the \translateinput command has a problem with discretionaries
in the replacement text.
In the following example
\usemodule[translate]
\translateinput[Auflage][Auf|*|lage]
\starttext
Auflage
\enableinputtranslation
Auflage
\stoptext
I get a error message.
! Undefined control sequence.
l.11 Auf\CCC
:4:124 *\CCC:4:124 lage
I could prevent the message after I protected the | signs with
\translateinput[Auflage][Auf\string|*\string|lage]
but can't this be done in the \translateinput macro itself.
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] only message in thread
only message in thread, other threads:[~2008-12-06 14:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-06 14:31 \translateinput and discretionaries Wolfgang Schuster
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).