27 May
2011
27 May
'11
11:49 a.m.
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