I have problem with goniometric functions in Czech language. Czech mathematicians don't use functions named tan(x) and cotan(x) but tg(x) and cotg(x) instead of them.
Does anybody know how to "localise" rendering of <math> /tan x /cot x </math> to render tg and cotg in resulting formula?
If this is not possible, is it possible to define new functions /tg and /cotg in <math>?
Until now I'm using \operatorname{tg} and \operatorname{cotg} which works, but the <math> source code of more complicated formulas are little bit unreadable and also \operatorname has problems with spaces between functions, so I have to add ; by the hand to space the formulas correctly.
Thanks in advance for any help
Jakub
Hi Jakub,
I think <math> functions are predominantly handled through texvc in the math/ path, a separate interpreter that passes information to latex, dvips and such. To solve this, I think you may have to deal with upstream (i.e. tetex) software, dealing with their specific localization routines. However, while that may not be helpful information, I hope it points you in the right direction, and I do hope someone can point you to a more elegant solution.
Best, Brian
On 7-Oct-06, at 4:26 PM, Šerých Jakub wrote:
I have problem with goniometric functions in Czech language. Czech mathematicians don't use functions named tan(x) and cotan(x) but tg (x) and cotg(x) instead of them.
Does anybody know how to "localise" rendering of <math> /tan x /cot x </math> to render tg and cotg in resulting formula?
If this is not possible, is it possible to define new functions /tg and /cotg in <math>?
Until now I'm using \operatorname{tg} and \operatorname{cotg} which works, but the <math> source code of more complicated formulas are little bit unreadable and also \operatorname has problems with spaces between functions, so I have to add ; by the hand to space the formulas correctly.
Thanks in advance for any help
Jakub
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
-
mediawiki-l@lists.wikimedia.org