Re: [NTG-context] Installing Context on Windows XP

2013-11-09 Thread Nelson Goncalves
Thanks for the tip. I have been very busy and forgot to say thanks. Better late than never. Nelson On 06-11-2013 16:28, Alan BRASLAU wrote: Try an ssh tunnel. See Proxy settings in http://wiki.contextgarden.net/ConTeXt_Standalone Alan On Wed, 6 Nov 2013 15:22:15 +0100 Nelson Goncalves

Re: [NTG-context] Configure AUCTeX to run context not texec

2013-11-09 Thread Peter Münster
On Sat, Nov 09 2013, Jean Magnan de Bornier wrote: This problem does not appear on my machine where instead of context --nonstopmode %t I wrote PATH=~/context/tex/texmf-linux/bin:$PATH context %s Interesting. What's your ConTeXt version, AUCTeX version and Emacs version? --

Re: [NTG-context] two suggestions to \typesetbuffer

2013-11-09 Thread Pablo Rodriguez
On 11/08/2013 11:39 PM, Hans Hagen wrote: On 11/8/2013 7:11 PM, Pablo Rodriguez wrote: Dear Hans, I have presentations that include buffers typeset with \typesetbuffer. One of the presentation includes 33 buffers, which are small ConTeXt samples. Any time I change anything on the

Re: [NTG-context] two suggestions to \typesetbuffer

2013-11-09 Thread Wolfgang Schuster
Am 09.11.2013 um 12:49 schrieb Pablo Rodriguez oi...@gmx.es: On 11/08/2013 11:39 PM, Hans Hagen wrote: On 11/8/2013 7:11 PM, Pablo Rodriguez wrote: Dear Hans, I have presentations that include buffers typeset with \typesetbuffer. One of the presentation includes 33 buffers, which are

Re: [NTG-context] Configure AUCTeX to run context not texec

2013-11-09 Thread Jean Magnan de Bornier
Le 09 novembre à 11:13:13 Peter Münster pmli...@free.fr écrit notamment: | On Sat, Nov 09 2013, Jean Magnan de Bornier wrote: | This problem does not appear on my machine where instead of context | --nonstopmode %t I wrote PATH=~/context/tex/texmf-linux/bin:$PATH | context %s | Interesting.

[NTG-context] [font-syn.lua] remove call to fontloader.to_table()

2013-11-09 Thread Philipp Gesang
Hi all, calling fontloader.to_table() appears to be redundant when extracting font names, see the attached patch. On my system I measured 42 (patched) vs 59 (vanilla) seconds for rebuilding the entire index: mtxrun --script fonts --reload --force The resulting index is -- except for the uuid,

Re: [NTG-context] [font-syn.lua] remove call to fontloader.to_table()

2013-11-09 Thread Hans Hagen
On 11/9/2013 6:45 PM, Philipp Gesang wrote: Hi all, calling fontloader.to_table() appears to be redundant when extracting font names, see the attached patch. On my system I measured 42 (patched) vs 59 (vanilla) seconds for rebuilding the entire index: mtxrun --script fonts --reload --force

Re: [NTG-context] [font-syn.lua] remove call to fontloader.to_table()

2013-11-09 Thread Philipp Gesang
···date: 2013-11-09, Saturday···from: Hans Hagen··· On 11/9/2013 6:45 PM, Philipp Gesang wrote: Hi all, calling fontloader.to_table() appears to be redundant when extracting font names, see the attached patch. On my system I measured 42 (patched) vs 59 (vanilla) seconds for rebuilding

Re: [NTG-context] [font-syn.lua] remove call to fontloader.to_table()

2013-11-09 Thread Philipp Gesang
···date: 2013-11-09, Saturday···from: Philipp Gesang··· ···date: 2013-11-09, Saturday···from: Hans Hagen··· On 11/9/2013 6:45 PM, Philipp Gesang wrote: Hi all, calling fontloader.to_table() appears to be redundant when extracting font names, see the attached patch. On my system I

Re: [NTG-context] How to test the emptyness of a variable?

2013-11-09 Thread Aditya Mahajan
On Thu, 7 Nov 2013, Géry Ogam wrote: I'm sure there is also a cleaner TeX way, but I'm not experienced enough for that. I think you misunderstood my issue: your Lua way does the same thing than my TeX way: it displays: ONE Cool 2 Cat 3 Mouse but that is NOT what I want. What I want is: 1

Re: [NTG-context] [font-syn.lua] remove call to fontloader.to_table()

2013-11-09 Thread Hans Hagen
On 11/9/2013 8:42 PM, Philipp Gesang wrote: Aren’t you allocating fonts without freeing them? With this approach you need fontloader.close() somewhere inside check_names() which isn’t straightforward if you hide the font data inside the metatable. Btw. calling fontloader.info() first yields a

Re: [NTG-context] [font-syn.lua] remove call to fontloader.to_table()

2013-11-09 Thread Hans Hagen
On 11/9/2013 8:48 PM, Philipp Gesang wrote: Scratch that, I just did some tests and memory consumption seems to be the same. Thanks for revealing this feature! fyi: it's one of the reasons why the overhead in terms of memory of the initial loading of large fonts (pre-caching) became less

[NTG-context] Argument of \startInvoice has an extra }.

2013-11-09 Thread Peter Münster
Hi, How could I avoid that error here please: --8---cut here---start-8--- \def\beginInvoice{\dosingleempty\dobeginInvoice} \def\dobeginInvoice[#1]{\grabbufferdata[myLetter][beginInvoice][endInvoice]} \def\startInvoice#1\stopInvoice{bla} \starttext

Re: [NTG-context] Argument of \startInvoice has an extra }.

2013-11-09 Thread Aditya Mahajan
On Sat, 9 Nov 2013, Peter Münster wrote: Hi, How could I avoid that error here please: --8---cut here---start-8--- \def\beginInvoice{\dosingleempty\dobeginInvoice} \def\dobeginInvoice[#1]{\grabbufferdata[myLetter][beginInvoice][endInvoice]}

Re: [NTG-context] Argument of \startInvoice has an extra }.

2013-11-09 Thread Peter Münster
On Sat, Nov 09 2013, Aditya Mahajan wrote: One possibility is to restrict optional arguments to one line: \def\beginInvoice{\bgroup\obeylines\dosingleempty\dobeginInvoice} \def\dobeginInvoice[#1]{\egroup\grabbufferdata[myLetter][beginInvoice][endInvoice]} Thanks. How did you find the reason