Re: [NTG-context] source code repos

2011-01-14 Thread Marius
On 11 January 2011 01:06, Jonas Stein n...@jonasstein.de wrote: on the wiki main page are many links to the source code =    *  Source code    The original source code Current Version and Beta Version    Browse git and it's mirror    Browse why outdated?    * Documentation of the

Re: [NTG-context] Bad interaction between new interpretation of underscore and modules

2011-01-14 Thread Mathieu Boespflug
Thank you for the solution, Wolfgang. But it seems rather painful to have to replace every occurrence of _ in my definitions module with the very verbose \normalsubscript just because it's a module. The new default catcode for _ introduces extra difficulty when defining math macros. Would it be

Re: [NTG-context] Bad interaction between new interpretation of underscore and modules

2011-01-14 Thread Wolfgang Schuster
Am 14.01.2011 um 10:15 schrieb Mathieu Boespflug: Thank you for the solution, Wolfgang. But it seems rather painful to have to replace every occurrence of _ in my definitions module with the very verbose \normalsubscript just because it's a module. The new default catcode for _ introduces

Re: [NTG-context] Bad interaction between new interpretation of underscore and modules

2011-01-14 Thread Mathieu Boespflug
Hi Wolfgang, thank you for the explanation and the solution. Best, Mathieu On Fri, Jan 14, 2011 at 10:32 AM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 14.01.2011 um 10:15 schrieb Mathieu Boespflug: Thank you for the solution, Wolfgang.  But it seems rather painful to

Re: [NTG-context] Bad interaction between new interpretation of underscore and modules

2011-01-14 Thread Hans Hagen
On 14-1-2011 10:15, Mathieu Boespflug wrote: Thank you for the solution, Wolfgang. But it seems rather painful to have to replace every occurrence of _ in my definitions module with the very verbose \normalsubscript just because it's a module. The new default catcode for _ introduces extra

Re: [NTG-context] TABLE in a flow chart

2011-01-14 Thread Hans Hagen
On 14-1-2011 6:00, Aditya Mahajan wrote: Hi, I want to include a TABLE in a flow chart, but the table is shifted by an offset. Any ideas on how to get rid of the offset \usemodule[chart] \setupFLOWcharts[nx=1,ny=1,width=3cm,height=2cm] \setupTABLE[each][each][height=1cm]

Re: [NTG-context] Bad interaction between new interpretation of underscore and modules

2011-01-14 Thread Wolfgang Schuster
Am 14.01.2011 um 12:01 schrieb Hans Hagen: just add a space before the _ when it directly follows a \cs, so ... $\cs _2$ ... but regular text like ... $x_2$ ... can be left as it is He put the definitions in a external file which he loads with \usemodule and then this won’t work

Re: [NTG-context] source code repos

2011-01-14 Thread Mojca Miklavec
On Tue, Jan 11, 2011 at 00:06, Jonas Stein wrote: on the wiki main page are many links to the source code =    *  Source code    The original source code Current Version and Beta Version    Browse git and it's mirror    Browse why outdated?    * Documentation of the source code

[NTG-context] Escaping from modes set for tabulate

2011-01-14 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, is it possible to escape from modes (fonts) defined in \starttabulate[...]? I mean just for header - to escape the math mode and to switch to normal font temporarily: --- \starttext I get: \starttabulate[|lT|mc|p|] \NC Code \NC Symbol\NC Description \NC\NR \HL

Re: [NTG-context] Escaping from modes set for tabulate

2011-01-14 Thread Peter Münster
Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz writes: \NC {\normalfont Code} \NC {\nomath Symbol} \NC Description \NC\NR \NC {\rm Code} \NC \text{Symbol} \NC Description \NC\NR -- Peter Münster Contact information: http://pmrb.free.fr/contact/

[NTG-context] PANIC: unprotected error in call to Lua API

2011-01-14 Thread Peter Münster
Hello, With the latest version and the following test-file test.cld: --8---cut here---start-8--- local t = {} package.seeall(t) setfenv(0, t) context.starttext() contextbla context.stoptext() --8---cut here---end---8--- I

Re: [NTG-context] TABLE in a flow chart

2011-01-14 Thread Aditya Mahajan
On Fri, 14 Jan 2011, Hans Hagen wrote: On 14-1-2011 6:00, Aditya Mahajan wrote: Hi, I want to include a TABLE in a flow chart, but the table is shifted by an offset. Any ideas on how to get rid of the offset \usemodule[chart] \setupFLOWcharts[nx=1,ny=1,width=3cm,height=2cm]

Re: [NTG-context] PANIC: unprotected error in call to Lua API

2011-01-14 Thread Hans Hagen
On 14-1-2011 4:54, Peter Münster wrote: Hello, With the latest version and the following test-file test.cld: --8---cut here---start-8--- local t = {} package.seeall(t) setfenv(0, t) context.starttext() contextbla context.stoptext() --8---cut

[NTG-context] How to call \environment in CLD file

2011-01-14 Thread Khaled Hosny
context.environment() just throws an error: context.environment(foo.tex) -- throws an error --context.input(foo.tex) -- fine context.starttext() context(foo) context.stoptext() Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer

Re: [NTG-context] PANIC: unprotected error in call to Lua API

2011-01-14 Thread Peter Münster
Hans Hagen pra...@wxs.nl writes: On 14-1-2011 4:54, Peter Münster wrote: local t = {} package.seeall(t) setfenv(0, t) what do you want to achieve with the first three lines I want to prevent pollution of the global environment, when I need to define my own globals. But of course, I can do

[NTG-context] catcode problems (mkiv)

2011-01-14 Thread Peter Rolf
Hi, I have some problems with catcode handling in lua and tex. Source of the problem is (aside from my limited knowledge) a XML based line of text that can contain any printable character. From this source line I create one modified text line for the tex side (named 'textext') and one unmodified

Re: [NTG-context] How to call \environment in CLD file

2011-01-14 Thread Peter Münster
Khaled Hosny khaledho...@eglug.org writes: context.environment(foo.tex) -- throws an error context(\\environment foo ) -- Peter Münster Contact information: http://pmrb.free.fr/contact/ ___ If your question is of

Re: [NTG-context] How to call \environment in CLD file

2011-01-14 Thread Khaled Hosny
On Fri, Jan 14, 2011 at 06:52:25PM +0100, Peter Münster wrote: Khaled Hosny khaledho...@eglug.org writes: context.environment(foo.tex) -- throws an error context(\\environment foo ) The same error, no difference. Regards, Khaled -- Khaled Hosny Arabic localiser and member of

Re: [NTG-context] PANIC: unprotected error in call to Lua API

2011-01-14 Thread Hans Hagen
On 14-1-2011 5:51, Peter Münster wrote: Hans Hagenpra...@wxs.nl writes: On 14-1-2011 4:54, Peter Münster wrote: local t = {} package.seeall(t) setfenv(0, t) what do you want to achieve with the first three lines I want to prevent pollution of the global environment, when I need to

Re: [NTG-context] How to call \environment in CLD file

2011-01-14 Thread Hans Hagen
On 14-1-2011 6:58, Khaled Hosny wrote: On Fri, Jan 14, 2011 at 06:52:25PM +0100, Peter Münster wrote: Khaled Hosnykhaledho...@eglug.org writes: context.environment(foo.tex) -- throws an error context(\\environment foo ) The same error, no difference. as it's \environment

Re: [NTG-context] How to call \environment in CLD file

2011-01-14 Thread Hans Hagen
On 14-1-2011 6:58, Khaled Hosny wrote: On Fri, Jan 14, 2011 at 06:52:25PM +0100, Peter Münster wrote: Khaled Hosnykhaledho...@eglug.org writes: context.environment(foo.tex) -- throws an error context(\\environment foo ) btw, you can also use \useenvironment[filename], so

Re: [NTG-context] How to call \environment in CLD file

2011-01-14 Thread Peter Münster
Khaled Hosny khaledho...@eglug.org writes: On Fri, Jan 14, 2011 at 06:52:25PM +0100, Peter Münster wrote: Khaled Hosny khaledho...@eglug.org writes: context.environment(foo.tex) -- throws an error context(\\environment foo ) The same error, no difference. Then a minimal example is

Re: [NTG-context] \footnote in \placefigure

2011-01-14 Thread Hans Hagen
On 10-1-2011 6:02, Hannes Riebl wrote: Dear ConTeXt users, I am using the following piece of code: \placefigure[right]{Zerfall von Pangäa\footnote{\hyphenatedurl{http://www.geologie.uni-frankfurt.de/staff/Homepages/Oschmann/Oschmann/Homepage/P21-Homepage/P21-9-Evolution.html}, zugegriffen am

Re: [NTG-context] How to call \environment in CLD file

2011-01-14 Thread Khaled Hosny
On Fri, Jan 14, 2011 at 07:32:39PM +0100, Peter Münster wrote: Khaled Hosny khaledho...@eglug.org writes: On Fri, Jan 14, 2011 at 06:52:25PM +0100, Peter Münster wrote: Khaled Hosny khaledho...@eglug.org writes: context.environment(foo.tex) -- throws an error

Re: [NTG-context] How to call \environment in CLD file

2011-01-14 Thread Khaled Hosny
On Fri, Jan 14, 2011 at 07:23:27PM +0100, Hans Hagen wrote: On 14-1-2011 6:58, Khaled Hosny wrote: On Fri, Jan 14, 2011 at 06:52:25PM +0100, Peter Münster wrote: Khaled Hosnykhaledho...@eglug.org writes: context.environment(foo.tex) -- throws an error context(\\environment foo ) btw,

Re: [NTG-context] ConTeXt does not execute MetaPost (in debian experimental)

2011-01-14 Thread Jonas Stein
In that case one should better run mtxrun instead of luatools (they are equivalent at the moment, but luatools is becomming obsolete). Ahhh ... I guess that needs some divine inspiration to know ... And yes, texmfcnf.lua should be carefully designed to match the structure of texmf trees in

Re: [NTG-context] ConTeXt does not execute MetaPost (in debian experimental)

2011-01-14 Thread Khaled Hosny
On Fri, Jan 14, 2011 at 09:57:32PM +0100, Jonas Stein wrote: In that case one should better run mtxrun instead of luatools (they are equivalent at the moment, but luatools is becomming obsolete). Ahhh ... I guess that needs some divine inspiration to know ... And yes, texmfcnf.lua

Re: [NTG-context] ConTeXt does not execute MetaPost (in debian experimental)

2011-01-14 Thread Arthur Reutenauer
Is there any hope that context will become a replacement of latex? I don't think this have been a goal. Maybe Jonas means that for *some* particular users, ConTeXt could be a replacement for LaTeX, and that we could, for example, use it to introduce newcomers to TeX-based typesetting

Re: [NTG-context] ConTeXt does not execute MetaPost (in debian experimental)

2011-01-14 Thread Peter Münster
Arthur Reutenauer arthur.reutena...@normalesup.org writes: Is there any hope that context will become a replacement of latex? I don't think this have been a goal. Maybe Jonas means that for *some* particular users, ConTeXt could be a replacement for LaTeX, For *some* particular users,

Re: [NTG-context] ConTeXt does not execute MetaPost (in debian experimental)

2011-01-14 Thread Hans Hagen
On 14-1-2011 9:57, Jonas Stein wrote: Its so sad to read this but no other reply on this thread till now. As far i have looked into the .deb packages the bug should be in the current stable versions too. The ideas behind context are so nice and could save us from so much latex-pain. If there

Re: [NTG-context] ConTeXt does not execute MetaPost (in debian experimental)

2011-01-14 Thread Arthur Reutenauer
For *some* particular users, ConTeXt *is* already a replacement for LaTeX Yes, for me too. But you're missing the point. Arthur ___ If your question is of interest to others as well, please add an entry