[NTG-context] Non-shortened month name in \date

2015-04-03 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, \mainlanguage[cz] \starttext \date[d=1,m=3,y=2000][d,~,m,~,y]\par \date[d=1,m=3,y=2000][d,~,mm,~,y]\par \date[d=1,m=3,y=2000][d,~,month,~,y]\par \stoptext gives: 1 břez. 2000 1 03 2000 1 břez. 2000 Is there a way to get non-shortened month name, i.e. března instead

Re: [NTG-context] Non-shortened month name in \date

2015-04-03 Thread Hans Hagen
On 4/3/2015 1:44 PM, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, \mainlanguage[cz] \starttext \date[d=1,m=3,y=2000][d,~,m,~,y]\par \date[d=1,m=3,y=2000][d,~,mm,~,y]\par \date[d=1,m=3,y=2000][d,~,month,~,y]\par \stoptext gives: 1 břez. 2000 1 03 2000 1 břez. 2000

[NTG-context] Page of the month in the wiki

2011-01-08 Thread Jonas Stein
Do you think some page of the month or a monthly changing example picture would make the startpage more attractive? May be we could place it next to Documentation | Welcome | News| | get started| | doc | picture | | tricks | [1] http://wiki.contextgarden.net

Re: [NTG-context] Page of the month in the wiki

2011-01-08 Thread Aditya Mahajan
On Sat, 8 Jan 2011, Jonas Stein wrote: Do you think some page of the month or a monthly changing example picture would make the startpage more attractive? A featured page of the month sounds like a good idea. Aditya

Re: [NTG-context] Date with three-letter month

2008-04-24 Thread richard . stephens
I have consulted the manuals and even the source (core-con.tex) but I cannot find a way of getting a three-letter month using the \date command. For example, I would like to display today's date as 23-Apr-08. This gives a short display suitable for use in a margin, but avoids

Re: [NTG-context] Date with three-letter month

2008-04-24 Thread Aditya Mahajan
On Thu, 24 Apr 2008, [EMAIL PROTECTED] wrote: I have consulted the manuals and even the source (core-con.tex) but I cannot find a way of getting a three-letter month using the \date command. For example, I would like to display today's date as 23-Apr-08. This gives a short display suitable

Re: [NTG-context] Date with three-letter month

2008-04-24 Thread richard . stephens
Aditya Mahajan wrote: See if this works (untested) \unprotect \setuplabeltext [\s!en] [\v!january :\s!mnem=Jan.] \setuplabeltext [\s!en] [\v!february :\s!mnem=Feb.] \setuplabeltext [\s!en] [\v!march:\s!mnem=Mar.] \setuplabeltext [\s!en] [\v!april:\s!mnem=Apr.] \setuplabeltext [\s!en]

Re: [NTG-context] Date with three-letter month

2008-04-24 Thread Peter Münster
... tex.print(os.date(%b, os.time({day = 10, month = m, year = 2000}))) os.setlocale(C) end \stopluacode \starttext \ctxlua{Monthshort(\the\normalmonth)} \stoptext Cheers, Peter -- http://pmrb.free.fr/contact

Re: [NTG-context] Date with three-letter month

2008-04-24 Thread Hans Hagen
Peter Münster wrote: % engine=luatex \startluacode function Monthshort(m) --os.setlocale(fr_FR.utf8) -- just for testing... tex.print(os.date(%b, os.time({day = 10, month = m, year = 2000}))) os.setlocale(C) end \stopluacode \starttext \ctxlua{Monthshort(\the\normalmonth

Re: [NTG-context] Date with three-letter month

2008-04-24 Thread Peter Münster
On Thu, Apr 24 2008, Hans Hagen wrote: Peter Münster wrote: % engine=luatex \startluacode function Monthshort(m) -- os.setlocale(fr_FR.utf8) -- just for testing... tex.print(os.date(%b, os.time({day = 10, month = m, year = 2000}))) os.setlocale(C) end \stopluacode

Re: [NTG-context] Date with three-letter month

2008-04-24 Thread Arthur Reutenauer
Indeed, I've already seen that: when setting the locale to fr_FR.utf8, without resetting it to C just after the tex.print(), then I get this error: !luaTeX error (file /opt/TeX-live/texmf-dist/fonts/opentype/public/lm/lmroman12-regular.otf): Parsing CFF DICT failed. (error=-1) == Fatal

Re: [NTG-context] Date with three-letter month

2008-04-24 Thread Taco Hoekwater
Arthur Reutenauer wrote: Indeed, I've already seen that: when setting the locale to fr_FR.utf8, without resetting it to C just after the tex.print(), then I get this error: !luaTeX error (file /opt/TeX-live/texmf-dist/fonts/opentype/public/lm/lmroman12-regular.otf): Parsing CFF DICT

Re: [NTG-context] Date with three-letter month

2008-04-24 Thread Hans Hagen
Taco Hoekwater wrote: Arthur Reutenauer wrote: Indeed, I've already seen that: when setting the locale to fr_FR.utf8, without resetting it to C just after the tex.print(), then I get this error: !luaTeX error (file /opt/TeX-live/texmf-dist/fonts/opentype/public/lm/lmroman12-regular.otf):

Re: [NTG-context] Date with three-letter month

2008-04-24 Thread Arthur Reutenauer
why not completely remove locatel then ... probably also faster There would certainly be many reasons to do so ... if anything, because ConTeXt has its own “localization” system. btw, nilling the locale is done in mkiv: os.setlocale(nil,nil) -- useless feature and even dangerous in

[NTG-context] Date with three-letter month

2008-04-23 Thread richard . stephens
Hello All, I have consulted the manuals and even the source (core-con.tex) but I cannot find a way of getting a three-letter month using the \date command. For example, I would like to display today's date as 23-Apr-08. This gives a short display suitable for use in a margin, but avoids

Re: [NTG-context] Date with three-letter month

2008-04-23 Thread Taco Hoekwater
[EMAIL PROTECTED] wrote: Hello All, I have consulted the manuals and even the source (core-con.tex) but I cannot find a way of getting a three-letter month using the \date command. For example, I would like to display today's date as 23-Apr-08. This gives a short display suitable