Re: [NTG-context] Reset counters by sectionblock

2012-03-13 Thread Hans Hagen
On 12-3-2012 18:44, Wolfgang Schuster wrote: Hi Hans, can add “way=block” to counter which reset the number at the start of each sectionblock, for now it works in the same way as “way=text”. Actually block is already implemented but not resolved right (due to inheritance resolving). This

[NTG-context] [OT] gnuplot version 4.6 released!

2012-03-13 Thread luigi scarso
http://www.gnuplot.info/ -- luigi ___ 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 :

Re: [NTG-context] [OT] gnuplot version 4.6 released!

2012-03-13 Thread Mojca Miklavec
On Tue, Mar 13, 2012 at 14:57, luigi scarso wrote: http://www.gnuplot.info/ I don't see an announcement on their web page yet, but it is available for download since a few days. (I'm waiting for a response to include that version into macports.) After zillion years there is finally support for

[NTG-context] random background picture in metafun

2012-03-13 Thread Thomas A. Schmitz
Hi all, scenario: for a presentation, I want the background to be a random picture, taken from a directory backgroundpics. The pictures are numbered consecutively as 1.jpg through 22.jpg. For some complex reasons, it would be easier for me to include these pictures via metafun (I want to add

Re: [NTG-context] Reset counters by sectionblock

2012-03-13 Thread Wolfgang Schuster
Am 13.03.2012 um 12:38 schrieb Hans Hagen: On 12-3-2012 18:44, Wolfgang Schuster wrote: Hi Hans, can add “way=block” to counter which reset the number at the start of each sectionblock, for now it works in the same way as “way=text”. Actually block is already implemented but not

Re: [NTG-context] random background picture in metafun

2012-03-13 Thread Aditya Mahajan
Hi all, scenario: for a presentation, I want the background to be a random picture, taken from a directory backgroundpics. The pictures are numbered consecutively as 1.jpg through 22.jpg. For some complex reasons, it would be easier for me to include these pictures via metafun (I want to add

Re: [NTG-context] random background picture in metafun

2012-03-13 Thread Peter Rolf
Am 13.03.2012 15:45, schrieb Thomas A. Schmitz: Hi all, scenario: for a presentation, I want the background to be a random picture, taken from a directory backgroundpics. The pictures are numbered consecutively as 1.jpg through 22.jpg. For some complex reasons, it would be easier for me to

Re: [NTG-context] random background picture in metafun

2012-03-13 Thread Thomas A. Schmitz
On 03/13/2012 05:33 PM, Peter Rolf wrote: string mypath, rndfile; mypath:= backgroundpics/; nofpics:= 22; n:= round(uniformdeviate(nofpics-1)+1); rndfile:= mypath decimal n; HTH, Peter Aditya, Peter, thank you both for your quick replies! Peter's works wonderfully; Aditya's untested

Re: [NTG-context] random background picture in metafun

2012-03-13 Thread Thomas A. Schmitz
On 03/13/2012 05:56 PM, Thomas A. Schmitz wrote: thank you both for your quick replies! Peter's works wonderfully; Aditya's untested code throws an error ! Not implemented: (string)(known numeric). I guess this is too arcane for the wiki? To clarify: I wasn't talking about the error, which is

Re: [NTG-context] random background picture in metafun

2012-03-13 Thread Aditya Mahajan
On Tue, 13 Mar 2012, Peter Rolf wrote: Am 13.03.2012 15:45, schrieb Thomas A. Schmitz: Hi all, scenario: for a presentation, I want the background to be a random picture, taken from a directory backgroundpics. The pictures are numbered consecutively as 1.jpg through 22.jpg. For some complex

Re: [NTG-context] random background picture in metafun

2012-03-13 Thread Peter Rolf
Am 13.03.2012 19:00, schrieb Aditya Mahajan: On Tue, 13 Mar 2012, Peter Rolf wrote: Am 13.03.2012 15:45, schrieb Thomas A. Schmitz: Hi all, scenario: for a presentation, I want the background to be a random picture, taken from a directory backgroundpics. The pictures are numbered

[NTG-context] ntg-style error

2012-03-13 Thread Meer, H. van der
Using the NTG-style to reprocess an older article I get the following error: ConTeXt ver: 2012.03.10 13:15 MKIV ... ! Undefined control sequence. ... system tex error on line 358 in file exammaps2.tex: Undefined control sequence ... \setupfootnotedefinition -\setupnotedefinition

[NTG-context] Format creation with luatex

2012-03-13 Thread Marco
Hi, I fail to create a format with luatex. I followed Hans' instructions¹ from TUG 2009. Example: % file fmt-plain.tex \input plain \directlua {tex.enableprimitives('', tex.extraprimitives())} \pdfoutput=1 \everyjob \expandafter {% \the\everyjob \input luatex-basics\relax

Re: [NTG-context] Format creation with luatex

2012-03-13 Thread Hans Hagen
On 13-3-2012 22:57, Marco wrote: Hi, I fail to create a format with luatex. I followed Hans' instructions¹ from TUG 2009. Example: just use luatex-plain.tex from the context distribution Hans -

Re: [NTG-context] Format creation with luatex

2012-03-13 Thread Marco
On 2012-03-13 Hans Hagen pra...@wxs.nl wrote: I fail to create a format with luatex. I followed Hans' instructions¹ from TUG 2009. Example: just use luatex-plain.tex from the context distribution Thanks for the pointer. For the record: The \dump at the end was missing. Marco