Re: [NTG-context] \mainlanguage[pe]

2016-07-07 Thread Hans Hagen
On 7/7/2016 2:40 PM, Mohammad Hossein Bateni wrote: While you're at it, could you also add something like jday, jmonth, jmm, jyear, etc. to use the Jalali calendar instead of the Gregorian? I see that the—commented—conversion code exists in core-con.lua. I am willing to provide test cases for

Re: [NTG-context] ppchTeX

2016-07-07 Thread Alan BRASLAU
On Wed, 6 Jul 2016 18:23:57 +0200 Henri Menke wrote: > Dear list, > > I just wanted to check whether chemical structures typeset in ConTeXt > can be exported as XML. Therefore I wanted to setup a simple example > with ppchTeX. I copied example 3.1 from the manual [1] >

Re: [NTG-context] \mainlanguage[pe]

2016-07-07 Thread Wolfgang Schuster
Mohammad Hossein Bateni 7. Juli 2016 um 16:31 Thanks, Wolfgang! BTW why doesn't the following work? it gives the 'missing number' error. % \mainlanguage[en] \romannumerals{\currentdate[day]} 1. The \currentdate command isn’t expandable and is therefore not expanded

Re: [NTG-context] \mainlanguage[pe]

2016-07-07 Thread Mohammad Hossein Bateni
Thanks, Wolfgang! BTW why doesn't the following work? it gives the 'missing number' error. % \mainlanguage[en] \romannumerals{\currentdate[day]} On Thu, Jul 7, 2016 at 10:02 AM, Wolfgang Schuster < schuster.wolfg...@gmail.com> wrote: > Mohammad Hossein Bateni > 7. Juli 2016

Re: [NTG-context] \mainlanguage[pe]

2016-07-07 Thread Wolfgang Schuster
Mohammad Hossein Bateni 7. Juli 2016 um 10:53 Wolfgang & Hans, In customizing the date, is there a way to use a number converter on day and year? In particular, I'd like to apply persiandecimals conversion on them. You can only change the numbers for the day (see

Re: [NTG-context] \mainlanguage[pe]

2016-07-07 Thread Mohammad Hossein Bateni
While you're at it, could you also add something like jday, jmonth, jmm, jyear, etc. to use the Jalali calendar instead of the Gregorian? I see that the—commented—conversion code exists in core-con.lua. I am willing to provide test cases for the conversion. Thanks! —MHB On Thu, Jul 7, 2016 at

Re: [NTG-context] \mainlanguage[pe]

2016-07-07 Thread Mohammad Hossein Bateni
Wolfgang & Hans, In customizing the date, is there a way to use a number converter on day and year? In particular, I'd like to apply persiandecimals conversion on them. (I have a similar question regarding \currentime.) Thanks! —Hossein On Wed, Jul 6, 2016 at 2:30 PM, Wolfgang Schuster <