[NTG-context] theorem environment

2011-07-13 Thread Andreas Richter
Hello, Using ConTeXt, I would like to define environments to appear like -- Theorem 1.4 (Pythagoras) In any right triangle, $c^2 = a^2 + b^2$ holds where ... -- and --- Example 1.1 ---

Re: [NTG-context] cont-sys.mkiv in texlive 2011

2011-07-13 Thread Mojca Miklavec
On Tue, Jul 12, 2011 at 17:55, John Culleton wrote: Where did you find TL-2011? All I find is TL-2010 Then you didn't search enough :) http://wiki.contextgarden.net/TeX_Live_2011 http://www.tug.org/texlive/pretest.html Mojca

Re: [NTG-context] Optimal way to defining of macros in Luacode in ConTeXt

2011-07-13 Thread Jaroslav Hajtmar
Hello all. It is GREAT! Thanx Hans and Wolfgang too. It is very instructive and inspiring for me... I was looking for something similar for a long time, but I have not found anything (not even in the CLD-MKIV and others ...). Finally, after yours reply to this email find something in the

Re: [NTG-context] Optimal way to defining of macros in Luacode in ConTeXt

2011-07-13 Thread Hans Hagen
On 13-7-2011 10:05, Jaroslav Hajtmar wrote: Hello all. It is GREAT! Thanx Hans and Wolfgang too. It is very instructive and inspiring for me... I was looking for something similar for a long time, but I have not found anything (not even in the CLD-MKIV and others ...). Finally, after yours reply

Re: [NTG-context] Optimal way to defining of macros in Luacode in ConTeXt

2011-07-13 Thread Jaroslav Hajtmar
Great Hans, thanx very much for complete an exhaustive answer.. It very help me to solve my module Regards Jaroslav Dne 13.7.2011 11:55, Hans Hagen napsal(a): On 13-7-2011 10:05, Jaroslav Hajtmar wrote: Hello all. It is GREAT! Thanx Hans and Wolfgang too. It is very instructive and

Re: [NTG-context] Optimal way to defining of macros in Luacode in ConTeXt

2011-07-13 Thread Wolfgang Schuster
Am 13.07.2011 um 12:05 schrieb Jaroslav Hajtmar: Great Hans, thanx very much for complete an exhaustive answer.. It very help me to solve my module A few dozen commands to access values aren’t a perfect solution, there are better ways to access entries from a Lua table. \starttext

Re: [NTG-context] theorem environment

2011-07-13 Thread Wolfgang Schuster
Am 13.07.2011 um 07:15 schrieb Andreas Richter: Hello, Using ConTeXt, I would like to define environments to appear like -- Theorem 1.4 (Pythagoras) In any right triangle, $c^2 = a^2 + b^2$ holds where ...

Re: [NTG-context] Optimal way to defining of macros in Luacode in ConTeXt

2011-07-13 Thread Jaroslav Hajtmar
Thanx Wolfgang, It looks very interesting... It can be used this method for example for macro definitions? When I will return to the subject of this mail: Can also be used for the council said Hans macros with multiple parameters? For example macros without parameter is no problem:

Re: [NTG-context] Optimal way to defining of macros in Luacode in ConTeXt

2011-07-13 Thread Wolfgang Schuster
Am 13.07.2011 um 16:09 schrieb Jaroslav Hajtmar: Thanx Wolfgang, It looks very interesting... It can be used this method for example for macro definitions? It depends what you want to achieve, while you try to create many commands in the form \MacroXXX where each command contains some

[NTG-context] Can not become member of NTG

2011-07-13 Thread Cecil Westerhof
I tried to become a member, but after submitting the form I get: Not acceptable! I entered all the fields except postbus and telefoon. -- Cecil Westerhof ___ If your question is of interest to others as well,

Re: [NTG-context] Can not become member of NTG

2011-07-13 Thread Mojca Miklavec
On Wed, Jul 13, 2011 at 19:00, Cecil Westerhof wrote: I tried to become a member, but after submitting the form I get:     Not acceptable! I entered all the fields except postbus and telefoon. This is all handled by secretary anyway. The registration is not fully automatic and the form is

Re: [NTG-context] Optimal way to defining of macros in Luacode in ConTeXt

2011-07-13 Thread Hans Hagen
On 13-7-2011 4:09, Jaroslav Hajtmar wrote: But how to use multiple parameters when defining the macro as follows: context([[\\def\\paramcontrol#1#2{%s}]],thirddata.scancsv.paramcontrol('#1', '#2')) interfaces.definecommand { name = TwoMandate, macro =

[NTG-context] beta

2011-07-13 Thread Hans Hagen
Hi, I uploaded a beta: - Project structure related files are now dealt with in lua: it's mostly compatible but somewhat more strict (proper push and pop). In the log file the used structure is summarized. - All writing from lua to tex is now under control of the cld infrastructure. This

Re: [NTG-context] \date bug with french

2011-07-13 Thread Romain Diss
Le lundi 04 juillet 2011, Romain Diss a écrit : The date printed with the \date command is not correct in french (but ok in english). See this example : \mainlanguage[fr] \starttext \date \stoptext It prints 44 juillet 2011 (today). Without \mainlanguage[fr], it’s prints

Re: [NTG-context] Can not become member of NTG

2011-07-13 Thread Taco Hoekwater
Hi Cecil, On 07/13/11 19:00, Cecil Westerhof wrote: I tried to become a member, but after submitting the form I get: Not acceptable! There was a bug in the script, it did not like URLs without the 'www' prefix. I have fixed that a moment ago, and registering should work properly now. Thank