Re: [NTG-context] expand date from CSV file

2014-12-18 Thread Jaroslav Hajtmar
Hi Pablo. Peter pointed out an error in my solution. Thanks Peter! His message but pointed out that in fact is not the task as simple as it seems at first glance. In fact, a lot depends on what target group for those you solve a problem resp. whether e.g. date of birth of persons. What does it

Re: [NTG-context] PSTricks in Context

2014-12-18 Thread Context NTG
Would you perhaps also have the instructions how to just add PST to standalone ConTeXt, similar to TikZ is used in standalone ConTeXt. I want to work with clean ConTeXt without all the overhead of MikTeX or any other Windows version of TeX. In Standalone ConTeXt I work perfectly easy with drawings

Re: [NTG-context] expand date from CSV file

2014-12-18 Thread Pablo Rodriguez
On 12/18/2014 01:37 PM, Peter Münster wrote: > On Thu, Dec 18 2014, Jaroslav Hajtmar wrote: > >> if (year<2000) then year=year+2000 end; > > Hi, > > What about "Test;11/11/1999" ... ;-) Hi Peter, all dates start from this year :-). Pablo -- http://www.ousia.tk __

Re: [NTG-context] expand date from CSV file

2014-12-18 Thread Pablo Rodriguez
On 12/18/2014 01:24 PM, Jaroslav Hajtmar wrote: > Hi Pablo, > I am sending still slightly modified version (use local variables and > better typographic output). > It use of much variables, but at least it is clear how it works. For > solution occurred me to use parsing function that I have been

Re: [NTG-context] PSTricks in Context

2014-12-18 Thread Mojca Miklavec
On Wed, Dec 17, 2014 at 10:22 PM, Context NTG wrote: > I am using on Win7 x 64bit with standalone Context from > http://standalone.contextgarden.net/setup/context-setup-win64.zip > > in \tex\texmf-context\tex\context\base\m-pstricks.mkii line 46 looks as > following: > \loadpstrickscolors{colo-

Re: [NTG-context] numberconversion bug?

2014-12-18 Thread Alan Bowen
I am re-sending this in the hope that someone will confirm whether this is a general or a very local problem; and if the latter, point out what I am missing (or what has changed). The following used to work but fails in the latest beta (standalone, cleanly installed): \definehead[BookTitle][title

Re: [NTG-context] expand date from CSV file

2014-12-18 Thread Peter Münster
On Thu, Dec 18 2014, Jaroslav Hajtmar wrote: > if (year<2000) then year=year+2000 end; Hi, What about "Test;11/11/1999" ... ;-) -- Peter ___ If your question is of interest to others as well, please

Re: [NTG-context] expand date from CSV file

2014-12-18 Thread Jaroslav Hajtmar
Hi Pablo, I am sending still slightly modified version (use local variables and better typographic output). It use of much variables, but at least it is clear how it works. For solution occurred me to use parsing function that I have been defined in the library, so that it can be successfully u

Re: [NTG-context] expand date from CSV file

2014-12-18 Thread Jaroslav Hajtmar
Hi Pablo Here is a quick solution. However, it not treat the incorrect input data, ie it requires, however, correct input, otherwise it will collapse ... Jaroslav Hajtmar \usemodule[scancsv] \def\ddmm#1#2#3{% #1 - date, #2 - old separator, #3 - new separator \startlua parsedate=thi