Re: [NTG-context] format generation -- again!

2006-06-02 Thread Alan Bowen
On Jun 1, 2006, at 6:11 PM, Hans Hagen wrote: Alan Bowen wrote: On Jun 1, 2006, at 5:12 PM, Hans Hagen wrote: Alan Bowen wrote: Using the latest version of Gerben’s i-Installer (expert mode), I completely erased teTeX, re-installed the 2005 x86pc version, and then re-installed the

Re: [NTG-context] Font problems (Palatino)

2006-06-02 Thread Hans Hagen
Johan Blixt-Dackhammar wrote: I updated ConTeXt to the latest version available in i-Installer and the error dissapeared. Although, another thing started to mess upp. I write my documents in UTF-8 and was before upgrading using the \enableregime[utf] commande which worked perfect. After

Re: [NTG-context] Fwd: Math 120 textbook for Fall 2006

2006-06-02 Thread Mojca Miklavec
On 6/1/06, David Arnold wrote: All, I just received this from our disabled students' center. What is needed is a simple way to convert a Context document into a format that can be read by these MathML players. Are we anywhere close to such a conversion? I doubt that you can convert a

[NTG-context] Question about get commalist size

2006-06-02 Thread Aditya Mahajan
Hi, I tried an example from syst-gen.tex \def\dosomething#1{(#1=\commalistsize) } \getcommalistsize [\hbox{$a,b,c,d,e,f$}] \dosomething 1 \getcommalistsize [{a,b,c,d,e,f}]\dosomething 1 \getcommalistsize [{a,b,c},d,e,f]\dosomething 4 \getcommalistsize [a,b,{c,d,e},f]

[NTG-context] Treat last element in a commalist differently

2006-06-02 Thread Aditya Mahajan
Hi, I am trying to write a macro so that \SEQ X[1,2,3] expands to $X_1, X_2, X_3$ \SEQ X[1-N] expands to $X_1, \dots, X_N$ and \SEQ X expands to ${\bf X}$. So far I have \def\SEQ#1% {\dodoubleempty\doSEQ[#1]} \def\doSEQ[#1][#2]% {\ifsecondargument

Re: [NTG-context] format generation -- again!

2006-06-02 Thread Alan Bowen
On Jun 2, 2006, at 7:27 AM, Alan Bowen wrote: On Jun 1, 2006, at 6:11 PM, Hans Hagen wrote: Alan Bowen wrote: On Jun 1, 2006, at 5:12 PM, Hans Hagen wrote: Alan Bowen wrote: Using the latest version of Gerben’s i-Installer (expert mode), I completely erased teTeX, re-installed the

Re: [NTG-context] format generation -- again!

2006-06-02 Thread Aditya Mahajan
On Fri, 2 Jun 2006, Alan Bowen wrote: On Jun 2, 2006, at 7:27 AM, Alan Bowen wrote: On Jun 1, 2006, at 6:11 PM, Hans Hagen wrote: Alan Bowen wrote: On Jun 1, 2006, at 5:12 PM, Hans Hagen wrote: Alan Bowen wrote: Using the latest version of Gerbenÿÿs i-Installer (expert mode), I

Re: [NTG-context] Treat last element in a commalist differently

2006-06-02 Thread Taco Hoekwater
Aditya Mahajan wrote: There is an extra comma at the end. That is, \SEQ X[1,2,3] expands to $X_1,X_2,X_3,$ ^^^ How can I treat the last element of a commalist differently? It is much easier to treat the first element as special: \def\doSEQ[#1][#2]%

Re: [NTG-context] format generation -- again!

2006-06-02 Thread Alan Bowen
On Jun 2, 2006, at 4:45 PM, Aditya Mahajan wrote: On Fri, 2 Jun 2006, Alan Bowen wrote: On Jun 2, 2006, at 7:27 AM, Alan Bowen wrote: On Jun 1, 2006, at 6:11 PM, Hans Hagen wrote: Alan Bowen wrote: On Jun 1, 2006, at 5:12 PM, Hans Hagen wrote: Alan Bowen wrote: Using the latest

Re: [NTG-context] Treat last element in a commalist differently

2006-06-02 Thread Aditya Mahajan
On Fri, 2 Jun 2006, Taco Hoekwater wrote: Aditya Mahajan wrote: There is an extra comma at the end. That is, \SEQ X[1,2,3] expands to $X_1,X_2,X_3,$ ^^^ How can I treat the last element of a commalist differently? It is much easier to treat the first

Re: [NTG-context] Treat last element in a commalist differently

2006-06-02 Thread Taco Hoekwater
Aditya Mahajan wrote: \def\dodoSEQ#1#2% {\ifdone ,\else \donetrue\fi#1_{#2}} Thanks Taco, Works like ... er ... magic. Where is \done set to true? Right above here, in \dodoSEQ. Taco ___ ntg-context mailing list ntg-context@ntg.nl

Re: [NTG-context] Question about get commalist size

2006-06-02 Thread Taco Hoekwater
Aditya Mahajan wrote: Hi, I tried an example from syst-gen.tex \def\dosomething#1{(#1=\commalistsize) } \getcommalistsize [\hbox{$a,b,c,d,e,f$}] \dosomething 1 \getcommalistsize [{a,b,c,d,e,f}]\dosomething 1 \getcommalistsize [{a,b,c},d,e,f]\dosomething 4

Re: [NTG-context] Font problems (Palatino)

2006-06-02 Thread Johan Blixt-Dackhammar
Okay, perhaps it's a font related error. I can't say that I do understand much of the log, but I saw something saying that there was an error trying to load a font. Here's the full LOG: TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 fixing engine variable : pdfetex executable :

Re: [NTG-context] Font problems (Palatino)

2006-06-02 Thread Taco Hoekwater
Johan Blixt-Dackhammar wrote: Okay, perhaps it's a font related error. I can't say that I do understand much of the log, but I saw something saying that there was an error trying to load a font. Here's the full LOG: This is quickly becoming a FAQ:

Re: [NTG-context] Treat last element in a commalist differently

2006-06-02 Thread Aditya Mahajan
On Fri, 2 Jun 2006, Taco Hoekwater wrote: Aditya Mahajan wrote: \def\dodoSEQ#1#2% {\ifdone ,\else \donetrue\fi#1_{#2}} Thanks Taco, Works like ... er ... magic. Where is \done set to true? Right above here, in \dodoSEQ. Duh... I need to read TeX code more carefully. Thanks.

Re: [NTG-context] Treat last element in a commalist differently

2006-06-02 Thread Aditya Mahajan
On Fri, 2 Jun 2006, Aditya Mahajan wrote: Hi, I am trying to write a macro so that \SEQ X[1,2,3] expands to $X_1, X_2, X_3$ \SEQ X[1-N] expands to $X_1, \dots, X_N$ and \SEQ X expands to ${\bf X}$. So far I have On Fri, 2 Jun 2006, Taco Hoekwater wrote: It is much easier to treat the