When I was trying to typeset date in Chinese environment(\usemodule[chinese]) using the commond \currentdate, the date format was strange: "2007 五月 18"(the month was in Chinese). What I want is 2007.5.18 or 2007-5-18(the month should not be in Chinese). How to achieve this? Thanks !
Hi *fdu.xiaojf@gmail.com*
You can change the conversion in the kernel:
=======================================
\defineconversion [cn] [\v!day] [\chinesenumber]
\defineconversion [cn] [\v!month] [\chinesenumber]
\defineconversion [cn] [\v!year] [\chinesenumber]
=======================================
please remember to put them in \unprotect . . . \protect pair
On 5/18/07, fdu.xiaojf@gmail.com
When I was trying to typeset date in Chinese environment(\usemodule[chinese]) using the commond \currentdate, the date format was strange:
"2007 五月 18"(the month was in Chinese).
What I want is 2007.5.18 or 2007-5-18(the month should not be in Chinese).
How to achieve this?
Thanks !
___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
___________________________________________________________________________________
-- Best Regards Chen ---------------------------------------------------------------- Zhi-chu Chen | Shanghai Synchrotron Radiation Facility No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China tel: 086 21 5955 3405 | zhichu.chen.googlepages.com | www.sinap.ac.cn ----------------------------------------------------------------
participants (2)
-
fdu.xiaojf@gmail.com
-
Zhichu Chen