ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
[parent not found: <mailman.1275.1306911210.4231.ntg-context@ntg.nl>]
[parent not found: <mailman.1266.1306859874.4231.ntg-context@ntg.nl>]
[parent not found: <mailman.1.1306836001.18520.ntg-context@ntg.nl>]
[parent not found: <mailman.1.1306576802.24208.ntg-context@ntg.nl>]
* checking mainlanguage setup
@ 2011-05-27  9:49 Jeong Dalyoung
  2011-05-27 10:11 ` Pontus Lurcock
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Jeong Dalyoung @ 2011-05-27  9:49 UTC (permalink / raw)
  To: ntg-context

Dear all,

Is it possible to check what is the mainlanguage set in document?
Now, I use \enablemode[kr] to do something A. But, I'd like to do it automatically if possible.

For example,

I'd like to do the following type of setup.


if mainlanguage == kr then

	do something A

elseif mainlanguage == en then

	do something B

else
	do something C

endif

So, if \mainlanguage[kr] is set, then do A, and etc.

Thank you for reading.

Best regards,

Dalyoung



___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2011-06-01 12:54 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.1220.1306501767.4231.ntg-context@ntg.nl>
2011-05-28  2:41 ` checking mainlanguage setup Jeong Dalyoung
2011-05-28  3:04   ` Aditya Mahajan
     [not found] <mailman.1275.1306911210.4231.ntg-context@ntg.nl>
2011-06-01  7:45 ` Jeong Dalyoung
2011-06-01 12:54   ` Wolfgang Schuster
     [not found] <mailman.1266.1306859874.4231.ntg-context@ntg.nl>
2011-06-01  1:16 ` Jeong Dalyoung
2011-06-01  1:32   ` Aditya Mahajan
     [not found] <mailman.1.1306836001.18520.ntg-context@ntg.nl>
2011-05-31 10:45 ` Jeong Dalyoung
2011-05-31 14:33   ` Procházka Lukáš Ing. - Pontex s. r. o.
2011-06-01  8:14     ` Hans Hagen
2011-06-01  8:22       ` Hans Hagen
     [not found] <mailman.1.1306576802.24208.ntg-context@ntg.nl>
2011-05-28 12:26 ` Jeong Dalyoung
2011-05-28 13:45   ` Hans Hagen
2011-05-31  6:48   ` Procházka Lukáš Ing. - Pontex s. r. o.
2011-05-27  9:49 Jeong Dalyoung
2011-05-27 10:11 ` Pontus Lurcock
2011-05-27 10:22 ` Marco
2011-05-27 10:41 ` Peter Münster

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).