On 04/20/2017 07:08 AM, Jonas Baggett wrote:
Hello Henri,
I tried to use labeltexts without success so far. Here is the simple example I tried to do :
\setuplabeltext [East=east, West=west] \setuplabeltext [en] [Name=name] \setuplabeltext [fr] [Name=nom]
\starttext \labeltext{East} % Works \labeltext{West} % Works \labeltext[en]{Name} % Doesn't work \labeltext[fr]{Name} % Doesn't work \stoptext
Hi Jonas, it seems that labeltext works based on \mainlanguage, such as in: \setuplabeltext [East=east, West=west] \setuplabeltext [en] [Name=name] \setuplabeltext [fr] [Name=nom] \starttext \labeltext{East} % Works \labeltext{West} % Works \labeltext{Name} % Doesn't work \mainlanguage[fr] \labeltext{Name} % Doesn't work \stoptext BTW, all \labeltext commands work fine in this previous sample.
Can we also make labeltexts depend on 2 parameters and write something like \setuplabeltext[fr][male][longtitle=Monsieur] (...) \labeltext[fr][male]{longtitle} ?
I don’t think this is supported by labeltext. Just in case it helps, Pablo -- http://www.ousia.tk