Re: [NTG-context] Malicious little bugger

2006-07-03 Thread Taco Hoekwater
David Arnold wrote: Sanjoy, Of course. Thanks. But how about an example in latex or tex where a function eats a brace and crashes, as what happens with this context code: \placeformula[-] \startformula [9,\infty)=\{x:\,x\ge 9\} \stopformula I know I've seen this in Latex

Re: [NTG-context] Malicious little bugger

2006-07-02 Thread Hans Hagen
David Arnold wrote: All, Came across this again. \placeformula[-] \startformula [9,\infty)=\{x:\,x\ge 9\} \stopformula Got it to compile with: \placeformula[-] \startformula\relax [9,\infty)=\{x:\,x\ge 9\} \stopformula indeed, that's the price to pay for optional arguments

Re: [NTG-context] Malicious little bugger

2006-07-02 Thread Peter Münster
On Sun, 2 Jul 2006, Hans Hagen wrote: David Arnold wrote: \startformula\relax [9,\infty)=\{x:\,x\ge 9\} \stopformula indeed, that's the price to pay for optional arguments Really? Isn't it rather the price for optional space before the [? Cheers, Peter --

Re: [NTG-context] Malicious little bugger

2006-07-02 Thread Taco Hoekwater
Peter Münster wrote: On Sun, 2 Jul 2006, Hans Hagen wrote: David Arnold wrote: \startformula\relax [9,\infty)=\{x:\,x\ge 9\} \stopformula indeed, that's the price to pay for optional arguments Really? Isn't it rather the price for optional space before the [? Same thing, because there

Re: [NTG-context] Malicious little bugger

2006-07-02 Thread Hans Hagen
� wrote: On Sun, 2 Jul 2006, Hans Hagen wrote: David Arnold wrote: \startformula\relax [9,\infty)=\{x:\,x\ge 9\} \stopformula indeed, that's the price to pay for optional arguments Really? Isn't it rather the price for optional space before the [? for tex:

Re: [NTG-context] Malicious little bugger

2006-07-02 Thread Peter Münster
On Sun, 2 Jul 2006, Hans Hagen wrote: for tex: \bla[ and \bla [ are the same, i.e. the \cs ends at a non-letter and the space is gobbled Ah, I see... Then, the #1 in \def\MyZigzag#1[#2]{% % the #1 makes sure we allow a space before the bracket on page

Re: [NTG-context] Malicious little bugger

2006-07-02 Thread David Arnold
Can someone give me an example where this happens in either latex or tex? On Jul 2, 2006, at 12:53 PM, Hans Hagen wrote: � wrote: On Sun, 2 Jul 2006, Hans Hagen wrote: David Arnold wrote: \startformula\relax [9,\infty)=\{x:\,x\ge 9\} \stopformula indeed, that's the price to pay

Re: [NTG-context] Malicious little bugger

2006-07-02 Thread Sanjoy Mahajan
are the same, i.e. the \cs ends at a non-letter and the space is gobbled Can someone give me an example where this happens in either latex or tex? Not sure if this example is what you're looking for, but a typical case in TeX or LaTeX is: \TeX has a programming language that only a

Re: [NTG-context] Malicious little bugger

2006-07-02 Thread David Arnold
Sanjoy, Of course. Thanks. But how about an example in latex or tex where a function eats a brace and crashes, as what happens with this context code: \placeformula[-] \startformula [9,\infty)=\{x:\,x\ge 9\} \stopformula I know I've seen this in Latex before, but I can't remember

Re: [NTG-context] Malicious little bugger

2006-07-02 Thread Aditya Mahajan
On Sun, 2 Jul 2006, David Arnold wrote: Sanjoy, Of course. Thanks. But how about an example in latex or tex where a function eats a brace and crashes, as what happens with this context code: \placeformula[-] \startformula [9,\infty)=\{x:\,x\ge 9\} \stopformula I know I've seen

[NTG-context] Malicious little bugger

2006-07-01 Thread David Arnold
All, Came across this again. \placeformula[-] \startformula [9,\infty)=\{x:\,x\ge 9\} \stopformula Got it to compile with: \placeformula[-] \startformula\relax [9,\infty)=\{x:\,x\ge 9\} \stopformula Yuk! ___ ntg-context mailing list