Re: [NTG-context] infinite loop with a huge document

2020-03-30 Thread Hans Hagen
On 3/30/2020 9:23 PM, Pablo Rodriguez wrote: Dear list, I’m afraid I have a huge document (combination of more than 80 individual documents) that triggers an infinite loop. All of them are Markdown sources that I convert to HTML4 and compile with ConTeXt latest. Individual documents compile

[NTG-context] infinite loop with a huge document

2020-03-30 Thread Pablo Rodriguez
Dear list, I’m afraid I have a huge document (combination of more than 80 individual documents) that triggers an infinite loop. All of them are Markdown sources that I convert to HTML4 and compile with ConTeXt latest. Individual documents compile fine, in about 3 or 4 runs. The single document

Re: [NTG-context] for-loop

2018-08-30 Thread Pablo Rodriguez
On 08/30/2018 05:15 PM, Hans van der Meer wrote: > Sorry to ask, but I forgot how to execute a (for)-loop in an environment > where \loop..\repeat gives the error: > > ! Undefined control sequence > > \loop #1\repeat ->\def \@@plnbody  >                                   {#1}\@@plniterate I

[NTG-context] for-loop

2018-08-30 Thread Hans van der Meer
Sorry to ask, but I forgot how to execute a (for)-loop in an environment where \loop..\repeat gives the error: ! Undefined control sequence \loop #1\repeat ->\def \@@plnbody {#1}\@@plniterate dr. Hans van der Meer

Re: [NTG-context] Lua-loop inside MetaPost

2010-03-09 Thread Hans Hagen
On 9-3-2010 15:24, Wolfgang Schuster wrote: Am 09.03.10 15:17, schrieb Andreas Harder: Hi all, I can't find a solution for the following example: \starttext \startMPpage draw origin for i=0 step 10 until 100 : ..{down}(i,0) endfor ; \stopMPpage \startluacode context.startMPpage()

Re: [NTG-context] Lua-loop inside MetaPost

2010-03-09 Thread Andreas Harder
Am 09.03.2010 um 15:59 schrieb Hans Hagen: On 9-3-2010 15:24, Wolfgang Schuster wrote: Am 09.03.10 15:17, schrieb Andreas Harder: Hi all, I can't find a solution for the following example: \starttext \startMPpage draw origin for i=0 step 10 until 100 : ..{down}(i,0) endfor ;

Re: [NTG-context] Lua-loop inside MetaPost

2010-03-09 Thread Hans Hagen
On 9-3-2010 16:11, Andreas Harder wrote: context(..{down}(..i..,0)) – without %d Or is this deprecated? no, it's just lua sttring concatination ... it all depends on taste - Hans

Re: [NTG-context] Lua-loop inside MetaPost

2010-03-09 Thread Andreas Harder
Am 09.03.2010 um 15:24 schrieb Wolfgang Schuster: Am 09.03.10 15:17, schrieb Andreas Harder: Hi all, I can't find a solution for the following example: \starttext \startMPpage draw origin for i=0 step 10 until 100 : ..{down}(i,0) endfor ; \stopMPpage \startluacode

Re: [NTG-context] Lua-loop inside MetaPost

2010-03-09 Thread Wolfgang Schuster
Am 09.03.10 15:17, schrieb Andreas Harder: Hi all, I can't find a solution for the following example: \starttext \startMPpage draw origin for i=0 step 10 until 100 : ..{down}(i,0) endfor ; \stopMPpage \startluacode context.startMPpage() context(draw origin..for i=0,100,10

[NTG-context] Lua-loop inside MetaPost

2010-03-09 Thread Andreas Harder
Hi all, I can't find a solution for the following example: \starttext \startMPpage draw origin for i=0 step 10 until 100 : ..{down}(i,0) endfor ; \stopMPpage \startluacode context.startMPpage() context(draw origin..for i=0,100,10 do{down}(..i..,0)..end..;) context.stopMPpage()

Re: [NTG-context] \showmathcharacters loop

2005-10-10 Thread Hans Hagen
Radhelorn wrote: I've done clean install of beta context 2005.09.14 with all default configuration (like wiki teTeX 3.0 Installation doc suggests). Results is still the same, but default teTeX 3.0 context (2005.01.31) works fine. i need to update the zip (but currently i'm busy with

Re: [NTG-context] \showmathcharacters loop

2005-10-10 Thread Radhelorn
Hans Hagen wrote: Radhelorn wrote: I've done clean install of beta context 2005.09.14 with all default configuration (like wiki teTeX 3.0 Installation doc suggests). Results is still the same, but default teTeX 3.0 context (2005.01.31) works fine. i need to update the zip (but currently

Re: [NTG-context] \showmathcharacters loop

2005-10-09 Thread Radhelorn
Radhelorn wrote: This simple file sends pdfetex into endless loop: \starttext \showmathcharacters \stoptext Here is texexec --version: TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 texutil : TeXUtil

[NTG-context] \showmathcharacters loop

2005-10-08 Thread Radhelorn
Hello All! This simple file sends pdfetex into endless loop: \starttext \showmathcharacters \stoptext Here is texexec --version: TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 texutil : TeXUtil 9.0.0 -

Re: [NTG-context] recursion/loop with counter?

2005-01-07 Thread Hans Hagen
Henning Hraban Ramm wrote: Am 06.01.2005 um 15:41 schrieb Hans Hagen: \dorecurse{20} {\bTR \expanded{\bTD \recurselevel bottles of beer \eTD} \bTD \strut \eTD \eTR} But what if I need it in a call to some function like: \dorecurse{10}{\SkillField{Skill\expanded\recurselevel}}

[NTG-context] recursion/loop with counter?

2005-01-06 Thread Henning Hraban Ramm
Hello again! In a form I need a lot of empty, but numbered fields. Can I access the counter of \dorecurse somehow, or is there another loop command? e.g. \dorecurse{20}{\bTR \bTD \LoopCounter bottles of beer \eTD \bTD{\strut} \eTD \eTR} or

Re: [NTG-context] recursion/loop with counter?

2005-01-06 Thread Vit Zyka
Henning Hraban Ramm wrote: In a form I need a lot of empty, but numbered fields. Can I access the counter of \dorecurse somehow, or is there another \recurselevel Vit Zyka ___ ntg-context mailing list ntg-context@ntg.nl

Re: [NTG-context] recursion/loop with counter?

2005-01-06 Thread Hans Hagen
Henning Hraban Ramm wrote: \dorecurse{20}{\bTR \bTD \LoopCounter bottles of beer \eTD \bTD{\strut} \eTD \eTR} \dorecurse{20} {\bTR \expanded{\bTD \recurselevel bottles of beer \eTD} \bTD \strut \eTD \eTR} Hans -