From: Pablo Rodriguez <oinos@gmx.es>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Modern CV like cover letter example
Date: Thu, 20 Apr 2017 07:56:47 +0200 [thread overview]
Message-ID: <a966cddb-8fce-cef2-4037-d7121125a984@gmx.es> (raw)
In-Reply-To: <36c52c5e-5cce-6a27-151d-cfe76eb0462b@gmail.com>
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
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2017-04-20 5:56 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-17 12:34 Jonas Baggett
2017-04-18 8:09 ` Henri Menke
2017-04-18 20:18 ` Jonas Baggett
2017-04-20 5:08 ` Jonas Baggett
2017-04-20 5:56 ` Pablo Rodriguez [this message]
2017-04-20 20:16 ` Jonas Baggett
2017-04-21 6:40 ` Aditya Mahajan
2017-04-22 5:42 ` Jonas Baggett
2017-12-02 14:13 ` Jonas Baggett
2017-12-02 14:37 ` Aditya Mahajan
[not found] ` <eaa90b73-3fef-f32c-bef7-376a60ae3471@gmail.com>
2017-12-02 18:13 ` Jonas Baggett
2017-12-03 13:10 ` How to make context show different languages? Elof Ng
2017-12-03 17:57 ` Henning Hraban Ramm
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a966cddb-8fce-cef2-4037-d7121125a984@gmx.es \
--to=oinos@gmx.es \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).