[NTG-context] Trouble with # character in TABLE environment...

2010-08-25 Thread Jaroslav Hajtmar
Hello, all Why is a problem with character # inside TABLE?? \type{#XXX} is without problem but inside TABLE is a problem with compilation It works: \bTABLE \bTR \bTD \type{\#patt}\eTD \eTR \eTABLE Isnt works: \bTABLE \bTR \bTD \type{#patt}\eTD \eTR \eTABLE Is there solving the problem??

[NTG-context] Virtual math

2010-08-25 Thread Oliver Buerschaper
Hi all, I need directions on how to get started with a virtual math font... I'd like to take an existing math font, say Latin Modern, and replace certain glyphs by their corresponding ones from an OpenType font, say Minion Pro. (Proper math kerning won't be an issue at the moment since I'm

Re: [NTG-context] ConTeXt meeting Lua tutorials

2010-08-25 Thread Steffen Wolfrum
Am 24.08.2010 um 20:37 schrieb Oliver Buerschaper: Hi all, Today I started preparations for my activities at the ConTeXt meeting. There are two small lua tutorials in the program, and I am looking for input on both. There is one that is supposed to be a general beginner's introduction,

Re: [NTG-context] ConTeXt meeting Lua tutorials

2010-08-25 Thread Hans Hagen
On 25-8-2010 10:05, Steffen Wolfrum wrote: Am 24.08.2010 um 20:37 schrieb Oliver Buerschaper: Hi all, Today I started preparations for my activities at the ConTeXt meeting. There are two small lua tutorials in the program, and I am looking for input on both. There is one that is supposed to

Re: [NTG-context] Virtual math

2010-08-25 Thread Hans Hagen
On 25-8-2010 9:37, Oliver Buerschaper wrote: I need directions on how to get started with a virtual math font... I'd like to take an existing math font, say Latin Modern, and replace certain glyphs by their corresponding ones from an OpenType font, say Minion Pro. (Proper math kerning won't

Re: [NTG-context] Trouble with # character in TABLE environment...

2010-08-25 Thread Hans Hagen
On 25-8-2010 9:27, Jaroslav Hajtmar wrote: Hello, all Why is a problem with character # inside TABLE?? \type{#XXX} is without problem but inside TABLE is a problem with compilation It works: \bTABLE \bTR \bTD \type{\#patt}\eTD \eTR \eTABLE Isnt works: \bTABLE \bTR \bTD \type{#patt}\eTD \eTR

Re: [NTG-context] Virtual math

2010-08-25 Thread Oliver Buerschaper
I need directions on how to get started with a virtual math font... I'd like to take an existing math font, say Latin Modern, and replace certain glyphs by their corresponding ones from an OpenType font, say Minion Pro. (Proper math kerning won't be an issue at the moment since I'm having

Re: [NTG-context] Trouble with # character in TABLE environment... trouble with \starttyping environment too

2010-08-25 Thread Jaroslav Hajtmar
Ok. Thanx Hans. I solve it with \#\type{patt} it look like as have it and therefore isnt problem. BUT now I have problem with \starttyping - \stoptyping environment too. here is example: This works OK... \starttyping c = re.compile([[ longstring - ('[' {:eq: '='* :} '[' close) = void

[NTG-context] Items with head

2010-08-25 Thread Andreas Harder
Hi all, in strc-itm.mkiv I found the following example: \def\MyItemCommand#1{{\bf#1}\quad} \setupitemgroup[itemize][command=\MyItemCommand] \startitemize \item {test} is this okay? \item {test} is this okay? \item {test} is this okay? \stopitemize Is it deprecated? Is there an alternative?

Re: [NTG-context] Items with head

2010-08-25 Thread Andreas Harder
Am 25.08.2010 um 12:24 schrieb Andreas Harder: Hi all, in strc-itm.mkiv I found the following example: \def\MyItemCommand#1{{\bf#1}\quad} \setupitemgroup[itemize][command=\MyItemCommand] \startitemize \item {test} is this okay? \item {test} is this okay? \item {test} is this okay?

[NTG-context] \typefile without the last n lines

2010-08-25 Thread Peter Münster
Hello, Here a little feature request: \starttext \typefile[start=1, stop=-3]{test.tex} % printing this file without the % last 3 lines % line to print \stoptext % don't print this line % don't print this line % don't print this line TIA for any help! Peter

[NTG-context] [***SPAM***] Re: Trouble with # character in TABLE environment...

2010-08-25 Thread Peter Münster
On Wed, Aug 25 2010, Hans Hagen wrote: the next version will have \asciimode which will make all those chars regular characters (apart from % \ { }) Why not %? Peter -- Contact information: http://pmrb.free.fr/contact/

Re: [NTG-context] ConTeXt meeting Lua tutorials

2010-08-25 Thread John Haltiwanger
How about including Lua library loading in the tutorial? The discussion of converting from pre-formats like Markdown seems like a good starting point for demonstrating how to load Lua libraries and integrate procedural programming into a ConTeXt workflow. Hopefully I will be there, still rounding

Re: [NTG-context] ConTeXt meeting Lua tutorials

2010-08-25 Thread Khaled Hosny
On Wed, Aug 25, 2010 at 11:17:13AM +0200, Hans Hagen wrote: On 25-8-2010 10:05, Steffen Wolfrum wrote: Am 24.08.2010 um 20:37 schrieb Oliver Buerschaper: Hi all, Today I started preparations for my activities at the ConTeXt meeting. There are two small lua tutorials in the program,

Re: [NTG-context] ConTeXt meeting Lua tutorials

2010-08-25 Thread Hans Hagen
On 25-8-2010 12:14, Steffen Wolfrum wrote: Am 25.08.2010 um 11:37 schrieb Hans Hagen: On 25-8-2010 11:22, Steffen Wolfrum wrote: Am 25.08.2010 um 11:17 schrieb Hans Hagen: On 25-8-2010 10:05, Steffen Wolfrum wrote: Am 24.08.2010 um 20:37 schrieb Oliver Buerschaper: Hi all, Today I

Re: [NTG-context] [***SPAM***] Re: Trouble with # character in TABLE environment...

2010-08-25 Thread Hans Hagen
On 25-8-2010 12:42, Peter Münster wrote: On Wed, Aug 25 2010, Hans Hagen wrote: the next version will have \asciimode which will make all those chars regular characters (apart from % \ { }) Why not %? debatable but it's a comment things like this can be discussed extensively at the

Re: [NTG-context] Trouble with # character in TABLE environment... trouble with \starttyping environment too

2010-08-25 Thread Hans Hagen
On 25-8-2010 12:07, Jaroslav Hajtmar wrote: Ok. Thanx Hans. I solve it with \#\type{patt} it look like as have it and therefore isnt problem. BUT now I have problem with \starttyping - \stoptyping environment too. here is example: This works OK... \starttyping c = re.compile([[ longstring -

Re: [NTG-context] Items with head

2010-08-25 Thread Hans Hagen
On 25-8-2010 12:24, Andreas Harder wrote: \def\MyItemCommand#1{{\bf#1}\quad} \setupitemgroup[itemize][command=\MyItemCommand] \startitemize \item {test} is this okay? \item {test} is this okay? \item {test} is this okay? \stopitemize \unexpanded\def\MyItemCommand#1{{\bf#1}\quad}

Re: [NTG-context] Virtual math

2010-08-25 Thread Hans Hagen
On 25-8-2010 12:01, Oliver Buerschaper wrote: I'm not quite sure what these vectors are good for... so for the sake of a simple scenario: I'd like to start with the standard Latin Modern math fonts but grab the lower case italic \alpha from the OpenType font MinionPro-It.otf. Would I need to

[NTG-context] [***SPAM***] problem with \setuptyping[option=LUA, escape=//]

2010-08-25 Thread Peter Münster
Hello, The escape=// option is ignored here: \setuptyping[option=LUA, escape=//] \starttext \starttyping bla // \em sometex \stoptyping \stoptext What could be done, to make it work? TIA for any help! Peter -- Contact information: http://pmrb.free.fr/contact/

Re: [NTG-context] [PATCH] small corrections for the ConTeXt-correspondence manual

2010-08-25 Thread Wolfgang Schuster
Hi Paul, the source for the correspondence module is now online available. I created a new repository [1] with the latest version of the code, the manual compiles only with mkiv and there are no plans to change this. [1] http://bitbucket.org/wolfs/correspondence Wolfgang

[NTG-context] footnote numbering reset bychapter

2010-08-25 Thread Horacio Suarez
hello all in the sample bellow, when a \part have only one \chapter inside, the footnote number does not reset properly, but if there is more than one chapter in a part, it resets fine. thankyou % \starttext

Re: [NTG-context] [***SPAM***] problem with \setuptyping[option=LUA, escape=//]

2010-08-25 Thread Hans Hagen
On 25-8-2010 3:04, Peter Münster wrote: The escape=// option is ignored here: \setuptyping[option=LUA, escape=//] \starttext \starttyping bla // \em sometex \stoptyping \stoptext What could be done, to make it work? \definetyping[LUA] \setuptyping[LUA][option=LUA,escape={/btex,/etex}]

Re: [NTG-context] Trouble with # character in TABLE environment... trouble with \starttyping environment too

2010-08-25 Thread Jaroslav Hajtmar
Thanx Hans, I did not think that inside \starttyping -- \stoptyping environment ConTeXt could do such a check this thing. Thanks so much. Health Jaroslav Dne 25.8.2010 13:34, Hans Hagen napsal(a): On 25-8-2010 12:07, Jaroslav Hajtmar wrote: Ok. Thanx Hans. I solve it with \#\type{patt} it

Re: [NTG-context] Trouble with # character in TABLE environment... trouble with \starttyping environment too

2010-08-25 Thread Aditya Mahajan
On Wed, 25 Aug 2010, Hans Hagen wrote: On 25-8-2010 12:07, Jaroslav Hajtmar wrote: Ok. Thanx Hans. I solve it with \#\type{patt} it look like as have it and therefore isnt problem. BUT now I have problem with \starttyping - \stoptyping environment too. here is example: This works

Re: [NTG-context] Trouble with # character in TABLE environment... trouble with \starttyping environment too

2010-08-25 Thread Hans Hagen
On 25-8-2010 8:49, Jaroslav Hajtmar wrote: Thanx Hans, I did not think that inside \starttyping -- \stoptyping environment ConTeXt could do such a check this thing. Well, the captured content is passed to the lua end using long strings so nothing is processed at that stage. Of course I

Re: [NTG-context] Trouble with # character in TABLE environment... trouble with \starttyping environment too

2010-08-25 Thread Hans Hagen
On 25-8-2010 8:59, Aditya Mahajan wrote: Is there a more robust way to do this? Perhaps making the number of equal signs user configurable? redefining \!!bs and \!!es is ok as they will not disappear after all, how often does one use [===[ and ]===] in lua code (in a non symmetrical way).

Re: [NTG-context] Porting from MkII to MkIV

2010-08-25 Thread Wolfgang Schuster
Am 25.08.10 00:23, schrieb Peter Schorsch: Thanks Wolfgang! Your source code looks a lot different than mine... there are some commands I have not seen before... so I have to learn :-) Works here without problems. MTXrun | current version: 2010.08.25 11:13 Wolfgang

[NTG-context] hoffset and voffset have no effect

2010-08-25 Thread Michael Goerz
Hi everyone, I cannot see any effect when using voffset and hoffset as a parameter for \startstandardmakeup. For example: \startstandardmakeup[headerstate=none, footerstate=none, hoffset=1in, hoffset=1in, width=4in, height=7.0in] ... \stopstandardmakeup I'd

[NTG-context] table row span question

2010-08-25 Thread Martin Althoff
I am having trouble working out a solution for spanning some rows of tables. The instructions at http://wiki.contextgarden.net/Table got me so far as the example shows. The example is a timetable excerpt. So I want horizontal lines everywhere, except on Mo, Di, Mi (Monday Tuesday Wednesday)

Re: [NTG-context] table row span question

2010-08-25 Thread Hongwen Qiu
于 2010年08月26日 12:42, Martin Althoff 写道: \DC \DL \DL \DL \DR As far as I know, this should be written as \DC \DL[3] \DR