On 23-12-2010 4:37, Thomas A. Schmitz wrote:
Since y'all are playing with cld, here's my little question: how can I write me
a language test? Here is what I've been playing with:
\mainlanguage[fr]
\starttext
\startluacode
function doit(s)
if tex.language == 2 then
if languages.current() == "en" then
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / 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
___________________________________________________________________________________