Re: [NTG-context] \inputif(file)exist(s)

2012-05-03 Thread Procházka Lukáš Ing . - Pontex s . r . o .
... Great, thank you. Lukas On Thu, 03 May 2012 17:41:18 +0200, Aditya Mahajan wrote: On Thu, 3 May 2012, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, just a quick question - is there a command like "\inputif(file)exist(s)", which will \input a file if it exists, i.e. with no erro

Re: [NTG-context] Bug with linenumbering

2012-05-03 Thread Aditya Mahajan
On Thu, 3 May 2012, Wolfgang Schuster wrote: Am 03.05.2012 um 17:18 schrieb Aditya Mahajan: On Thu, 3 May 2012, Wolfgang Schuster wrote: You assume \definelinenumbering has a second argument for the settings but this isn’t the case D'oh. and you need \setuplinenumbering to set them.

[NTG-context] \systemparameter{n}

2012-05-03 Thread Peter Rolf
Hi, the system parameter 'n' is not properly set on the third run. % test.tex \starttext \ifnum\systemparameter{n}=1\relax \ctxlua{print("*** 1st run")}\fi \ifnum\systemparameter{n}=2\relax \ctxlua{print("*** 2nd run")}\fi \ifnum\systemparameter{n}=3\relax \ctxlua{print("*** 3rd run")}\fi

Re: [NTG-context] Bug with linenumbering

2012-05-03 Thread Wolfgang Schuster
Am 03.05.2012 um 17:18 schrieb Aditya Mahajan: > On Thu, 3 May 2012, Wolfgang Schuster wrote: > >> You assume \definelinenumbering has a second argument for the settings but >> this isn’t the case > > D'oh. > >> and you need \setuplinenumbering to set them. > > I also needed to change \setva

Re: [NTG-context] \inputif(file)exist(s)

2012-05-03 Thread Wolfgang Schuster
Am 03.05.2012 um 17:37 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: > Hello, > > just a quick question - is there a command like "\inputif(file)exist(s)", > which will \input a file if it exists, i.e. with no error if it doesn't? \ReadFile{…} Wolfgang __

Re: [NTG-context] \inputif(file)exist(s)

2012-05-03 Thread Aditya Mahajan
On Thu, 3 May 2012, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, just a quick question - is there a command like "\inputif(file)exist(s)", which will \input a file if it exists, i.e. with no error if it doesn't? \readfile. From file-res.mkvi %D \macros %D {readfile,ReadFile} %D %

[NTG-context] \inputif(file)exist(s)

2012-05-03 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, just a quick question - is there a command like "\inputif(file)exist(s)", which will \input a file if it exists, i.e. with no error if it doesn't? TIA. Lukas -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová 16

Re: [NTG-context] Indentation for beginner

2012-05-03 Thread hwitloc
Marco, thank you for kindly showing me how to do the resume section : itemize format that I needed in a very clear way. The example you provided works very well. I appreciate your help. Regards, hwitloc Marco wrote: > On 2012-05-02 hwit...@gmail.com wrote: > > > %Whereas I wa

Re: [NTG-context] Bug with linenumbering

2012-05-03 Thread Aditya Mahajan
On Thu, 3 May 2012, Wolfgang Schuster wrote: You assume \definelinenumbering has a second argument for the settings but this isn’t the case D'oh. and you need \setuplinenumbering to set them. I also needed to change \setvalue to \setevalue in the example, and add an \expanded to get it t

Re: [NTG-context] drawarrow and transparency

2012-05-03 Thread Peter Rolf
Hi Alan, Am 03.05.2012 12:32, schrieb Alan BRASLAU: > On Wed, 2 May 2012 21:42:24 +0200 > Marco wrote: > >> On 2012-05-02 Alan BRASLAU wrote: >> >>> For example, in the minimal example below, how can one obtain >>> a transparent arrow without getting an X-ray vision of the >>> arro

Re: [NTG-context] drawarrow and transparency

2012-05-03 Thread Rogers, Michael K
On May 3, 2012, at 6:32 AM, Alan BRASLAU wrote: I believe that this is somewhat a bug with transparency under MetaFun. For I tried the following: \startMPcode picture pic ; pic := image(drawarrow origin--(1cm,0)) ; draw pic withtransparency(1,.5) ; draw pic rotated 90 withtransparency(1,.5) ; \s

Re: [NTG-context] Bug with linenumbering

2012-05-03 Thread Wolfgang Schuster
Am 03.05.2012 um 06:58 schrieb Aditya Mahajan: > On Wed, 2 May 2012, Hans Hagen wrote: > >> On 1-5-2012 21:43, Aditya Mahajan wrote: >>> Hi, >>> Line numbering does not respect the parameters given with >>> \startlinenumbering. For example: >> >> Line numbering is a delayed operation. As they a

Re: [NTG-context] drawarrow and transparency

2012-05-03 Thread Alan BRASLAU
On Wed, 2 May 2012 21:42:24 +0200 Marco wrote: > On 2012-05-02 Alan BRASLAU wrote: > > > For example, in the minimal example below, how can one obtain > > a transparent arrow without getting an X-ray vision of the > > arrowhead? > > Maybe I'm reinventing the wheel here, but you