Re: [NTG-context] Dividing dimensions

2009-03-22 Thread Wolfgang Schuster
Am 21.03.2009 um 23:26 schrieb Arthur Reutenauer: Can I divide dimensions to get a number in pdftex? LaTeX has a package to do exactly that, fp. You could look into its code. Or you could use LuaTeX :-) \startluacode if tex.dimen[!!dimena] / tex.dimen[!!dimenb] tex.dimen[!! dimenc] /

Re: [NTG-context] Setting framed

2009-03-22 Thread Wolfgang Schuster
Am 21.03.2009 um 21:45 schrieb Diego Depaoli: Hi all, in my text each section ends with an one-line box so I used \framed (thinking that's the right way). How to put each box at the same distance from last previous line even it comes after a list, a table, a regular text...?

Re: [NTG-context] Dividing dimensions

2009-03-22 Thread Hans Hagen
Aditya Mahajan wrote: Hi, Can I divide dimensions to get a number in pdftex? I have four dimensions \!!dimena, \!!dimenb, \!!dimenc and \!!dimend, and I want depends on what you want to achive as there are many possibilities \number\dimexp 123pt\relax \number\dimexp 123pt/65536\relax

[NTG-context] backgroundcolor / mkiv

2009-03-22 Thread Wolfgang Schuster
Hi, colored backgrounds appear in black with the last beta \setupcolors[state=start] \setupbackgrounds[page][background=color,backgroundcolor=red] \starttext text \stoptext btw, what's the status of the new structure code Wolfgang

Re: [NTG-context] Value of Metapost variable as a label

2009-03-22 Thread Eythan Weg
Curious Learn curiousle...@gmail.com Sat, 21 Mar 2009 22:40:46 + (UTC) Aditya Mahajan adityam at umich.edu writes: For example, if I had to typeset (n_{1},n{2},...,n_{100}), how could I do that. label.bot (textext($n_{ decimal i }), ... ) ; This however

Re: [NTG-context] latest beta (MKII/Greek module)

2009-03-22 Thread Hans Hagen
Bowen Alan C. wrote: I am finding that the latest beta fails when asked to set ancient Greek using Thomas’ module and the MKII engine. The error message reads: ! Missing \endcsname inserted. to be read again \@@laagrpatterns i need a small test file ... (there has been

Re: [NTG-context] latest beta (MKII/Greek module)

2009-03-22 Thread Thomas A. Schmitz
On Mar 22, 2009, at 3:38 PM, Hans Hagen wrote: i need a small test file ... It doesn't get smaller than that: :-) \starttext \language[ancientgreek] Hello World! \stoptext Thomas ___ If your question is of

Re: [NTG-context] backgroundcolor / mkiv

2009-03-22 Thread Hans Hagen
Wolfgang Schuster wrote: Hi, colored backgrounds appear in black with the last beta \setupcolors[state=start] \setupbackgrounds[page][background=color,backgroundcolor=red] \starttext text \stoptext tricky, has to do with resetting attributes in the otr but colorspace does not need to be

Re: [NTG-context] latest beta (MKII/Greek module)

2009-03-22 Thread Hans Hagen
Thomas A. Schmitz wrote: On Mar 22, 2009, at 3:38 PM, Hans Hagen wrote: i need a small test file ... It doesn't get smaller than that: :-) \starttext \language[ancientgreek] Hello World! \stoptext ok, new beta for testing

Re: [NTG-context] latest beta (MKII/Greek module)

2009-03-22 Thread Thomas A. Schmitz
On Mar 22, 2009, at 4:56 PM, Hans Hagen wrote: ok, new beta for testing Works here! Thanks Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

[NTG-context] experimental interface

2009-03-22 Thread Wolfgang Schuster
Hi, the xp interface did currently work build because the 'norm-xx' are not loaded. The following examples fail for me: 1. Itemize with 'fit' option \starttext \startitemize[fit] \item item \stopitemize \stoptext 2. Cross references did not work \starttext \startitemize[n] \item[one] first

Re: [NTG-context] latest beta (MKII/Greek module)

2009-03-22 Thread Bowen Alan C.
Thanks, Hans and Thomas! Alan On Mar 22, 2009, at 12;22,27 , Thomas A. Schmitz wrote: On Mar 22, 2009, at 4:56 PM, Hans Hagen wrote: ok, new beta for testing Works here! Thanks Thomas ___ If your question

Re: [NTG-context] Run MetaPost under Windows

2009-03-22 Thread Constantine
On 22-03-2009 16:53, Constantine wrote: * I am a niewbie to Metapost and wanted to ask for your advise on how to ** install MetaPost under Windows XP, if that's possible. Basically, I want to ** be able to write an *.mp file and be able to compile it and view the ** output. Is there any program

Re: [NTG-context] Setting framed

2009-03-22 Thread Diego Depaoli
On Sun, Mar 22, 2009 at 9:43 AM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 21.03.2009 um 21:45 schrieb Diego Depaoli: Hi all, in my text each section ends with an one-line box so I used \framed (thinking that's the right way). How to put each box at the same distance from

Re: [NTG-context] Value of Metapost variable as a label

2009-03-22 Thread Mojca Miklavec
This however fails: k:=2; label.bot(textext($1\over decimal k $), (10,0)) ; Try with \frac instead. Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] Short question about big papersize

2009-03-22 Thread Diego Depaoli
On Wed, Mar 18, 2009 at 11:44 AM, Hans Hagen pra...@wxs.nl wrote: Diego Depaoli wrote: Hi all, before start spend my time, can Context handle 6 (or 8) columns on a 70X100 cm papersize? yes, and if it's about a poster, just use columnsets then many thanks, it works However I get a weird

Re: [NTG-context] Setting framed

2009-03-22 Thread Wolfgang Schuster
Am 23.03.2009 um 01:34 schrieb Diego Depaoli: Sorry Wolfgang, but I can't get wanted result Consider follow example \defineframedtext [myframe] [width=fit, offset=.25ex, foregroundstyle=bolditalic, before={\blank[medium]}, after={\blank[medium]}] \setupitemize

Re: [NTG-context] Short question about big papersize

2009-03-22 Thread Wolfgang Schuster
Am 23.03.2009 um 01:49 schrieb Diego Depaoli: Hi all, before start spend my time, can Context handle 6 (or 8) columns on a 70X100 cm papersize? yes, and if it's about a poster, just use columnsets then many thanks, it works However I get a weird behaviour.

Re: [NTG-context] Setting framed

2009-03-22 Thread Diego Depaoli
On Mon, Mar 23, 2009 at 1:56 AM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: \startmyframe This box is far from previous line \stopmyframe You need a framedtext environment. Understood, It's easier than I thought No need of cryptic parameters. There is an the option to set the

Re: [NTG-context] Short question about big papersize

2009-03-22 Thread Diego Depaoli
On Mon, Mar 23, 2009 at 2:02 AM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 23.03.2009 um 01:49 schrieb Diego Depaoli: Hi all, before start spend my time, can Context handle 6 (or 8) columns on a 70X100 cm papersize? yes, and if it's about a poster, just use columnsets

Re: [NTG-context] Value of Metapost variable as a label

2009-03-22 Thread Aditya Mahajan
On Mon, 23 Mar 2009, Mojca Miklavec wrote: This however fails: k:=2; label.bot(textext($1\over decimal k $), (10,0)) ; Try with \frac instead. Or prevent expansion of \over label.bot(textext($1\noexpand\over decimal k $), (10,0)) ; Aditya