[NTG-context] Math manuals

2010-03-09 Thread Mehdi Omidali
Hi, I want to write a multi-line formula of the form first-part=second-part(some comments instead of a formula number) =third-part(some cooments) =forth-part(some comments) I have read Display Math in

Re: [NTG-context] Math manuals

2010-03-09 Thread Mehdi Omidali
Please ignore my previous email. I found the way. On 3/9/2010 11:47 AM, Mehdi Omidali wrote: Hi, I want to write a multi-line formula of the form first-part=second-part(some comments instead of a formula number) =third-part(some

Re: [NTG-context] Math manuals

2010-03-09 Thread luigi scarso
On Tue, Mar 9, 2010 at 9:34 AM, Mehdi Omidali mehd...@gmail.com wrote: Please ignore my previous email. I found the way. And which is your way ? -- luigi ___ If your question is of interest to others as well,

Re: [NTG-context] Math manuals

2010-03-09 Thread Mehdi Omidali
This code for example \startformula \startmathalignment[m=2,distance=4em] \NC x^2+y^2\NC = z^2\NC\NC\text{(By Theorem Bla)}\NR \NC\NC=w^2\NC\NC\text{(By Theorem BlaBla)}\NR \stopmathalignment \stopformula Is this the best way? On 3/9/2010 12:10 PM, luigi scarso wrote: On Tue, Mar 9, 2010

Re: [NTG-context] Math manuals

2010-03-09 Thread Mehdi Omidali
I have to say that my way is not perfect enough. In fact, I want to have aligned formulas like what you see in the attached file. The attached file is the output of amsmath. Any comment is wellcome. Mehdi On 3/9/2010 12:10 PM, luigi scarso wrote: On Tue, Mar 9, 2010 at 9:34 AM, Mehdi

Re: [NTG-context] Math manuals

2010-03-09 Thread Aditya Mahajan
On Tue, 9 Mar 2010, Mehdi Omidali wrote: Hi, I want to write a multi-line formula of the form first-part=second-part(some comments instead of a formula number) =third-part(some cooments) =forth-part

[NTG-context] from xml into buffer

2010-03-09 Thread Hans van der Meer
I get an error with the code below. Is it (im)possible to fill a buffer from xml-processing in this manner? Or is there another way? The xml: descriptioncontents of description/description The setups: \startxmlsetups xml:case:description \startbuffer[BESCHRIJVING] \xmlflush{#1}

Re: [NTG-context] using otf fonts with MKIV

2010-03-09 Thread Taco Hoekwater
Michael Saunders wrote: I think this should be possible. I'm trying to follow: http://wiki.contextgarden.net/Fonts_in_LuaTex I have set OSFONTDIR and run mtxrun --script font --reload. The question is: what have you set OSFONTDIR to, and does that location actually contain the system fonts?

[NTG-context] problem with mp-form.mp while updating minimals

2010-03-09 Thread Jelle Huisman
Hi all, I'm updating my ConTeXt (minimals) installation (on Linux-64) and get this error: (/home/jelle/context/tex/texmf-context/metapost/context/base/mp-form.mp ! I can't find file `string'. l.81 input string Please type another input file name: Eventually I did Ctrl-C, but both ConTeXt

Re: [NTG-context] Lua-loop inside MetaPost

2010-03-09 Thread Hans Hagen
On 9-3-2010 15:24, Wolfgang Schuster wrote: Am 09.03.10 15:17, schrieb Andreas Harder: Hi all, I can't find a solution for the following example: \starttext \startMPpage draw origin for i=0 step 10 until 100 : ..{down}(i,0) endfor ; \stopMPpage \startluacode context.startMPpage()

Re: [NTG-context] Math manuals

2010-03-09 Thread Mehdi Omidali
Thanks. On 3/9/2010 1:56 PM, Aditya Mahajan wrote: On Tue, 9 Mar 2010, Mehdi Omidali wrote: Hi, I want to write a multi-line formula of the form first-part=second-part(some comments instead of a formula number) =third-part(some cooments)

Re: [NTG-context] Lua-loop inside MetaPost

2010-03-09 Thread Andreas Harder
Am 09.03.2010 um 15:59 schrieb Hans Hagen: On 9-3-2010 15:24, Wolfgang Schuster wrote: Am 09.03.10 15:17, schrieb Andreas Harder: Hi all, I can't find a solution for the following example: \starttext \startMPpage draw origin for i=0 step 10 until 100 : ..{down}(i,0) endfor ;

[NTG-context] Mac installation-file not found error

2010-03-09 Thread Curiouslearn
Hi, I tried updating my context minimal installation today (on Mac OSX 10.5.8) using the command sh ./first-setup.sh --extras=all Somewhere during the installation process the terminal gave me an error saying something like file \loadmarkfile{node-mig} not found. Enter another file name. I

[NTG-context] using otf fonts with MKIV

2010-03-09 Thread Michael Saunders
I think this should be possible. I'm trying to follow: http://wiki.contextgarden.net/Fonts_in_LuaTex I have set OSFONTDIR and run mtxrun --script font --reload. The output looks like: MTXrun | fontnames: identifying tree font files with suffix otf MTXrun | fontnames: identifying tree font

[NTG-context] using xml setup in another one

2010-03-09 Thread Hans van der Meer
I would like to make xml-setups for general usage. For example making possible: dvd .. quoteQ/quote . /dvd With special setup for dvd: \startxmlsetups xml:case:casesetups % environment definition % ? \xmlsetsetup{dvd}{*}{-} % ignore all inside dvd/dvd not below

Re: [NTG-context] Lua-loop inside MetaPost

2010-03-09 Thread Hans Hagen
On 9-3-2010 16:11, Andreas Harder wrote: context(..{down}(..i..,0)) – without %d Or is this deprecated? no, it's just lua sttring concatination ... it all depends on taste - Hans

Re: [NTG-context] from xml into buffer

2010-03-09 Thread Hans van der Meer
On 9 mrt 2010, at 11:31, Hans Hagen wrote: On 9-3-2010 11:26, Hans van der Meer wrote: I get an error with the code below. Is it (im)possible to fill a buffer from xml-processing in this manner? Or is there another way? The xml: descriptioncontents of description/description The setups:

Re: [NTG-context] Lua-loop inside MetaPost

2010-03-09 Thread Andreas Harder
Am 09.03.2010 um 15:24 schrieb Wolfgang Schuster: Am 09.03.10 15:17, schrieb Andreas Harder: Hi all, I can't find a solution for the following example: \starttext \startMPpage draw origin for i=0 step 10 until 100 : ..{down}(i,0) endfor ; \stopMPpage \startluacode

Re: [NTG-context] ntg-context Digest, Vol 69, Issue 49

2010-03-09 Thread Michael Saunders
The question is: what have you set OSFONTDIR to, and does that location actually contain the system fonts? Thank you, Taco. Double checking, I find that I have set OSFONTDIR to C:\Windows\Fonts, which does indeed contain my 1074 system font files, 970 of them open type. The slightly

Re: [NTG-context] from xml into buffer

2010-03-09 Thread Hans Hagen
On 9-3-2010 11:26, Hans van der Meer wrote: I get an error with the code below. Is it (im)possible to fill a buffer from xml-processing in this manner? Or is there another way? The xml: descriptioncontents of description/description The setups: \startxmlsetups xml:case:description

Re: [NTG-context] Lua-loop inside MetaPost

2010-03-09 Thread Wolfgang Schuster
Am 09.03.10 15:17, schrieb Andreas Harder: Hi all, I can't find a solution for the following example: \starttext \startMPpage draw origin for i=0 step 10 until 100 : ..{down}(i,0) endfor ; \stopMPpage \startluacode context.startMPpage() context(draw origin..for i=0,100,10

[NTG-context] Lua-loop inside MetaPost

2010-03-09 Thread Andreas Harder
Hi all, I can't find a solution for the following example: \starttext \startMPpage draw origin for i=0 step 10 until 100 : ..{down}(i,0) endfor ; \stopMPpage \startluacode context.startMPpage() context(draw origin..for i=0,100,10 do{down}(..i..,0)..end..;) context.stopMPpage()

[NTG-context] no space after \note[]

2010-03-09 Thread Peter Münster
Hello, The space after \note[test] is eaten: \starttext bla\footnote[test]{bla} bla\note[test] bla \stoptext Bug or feature? Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ If your

[NTG-context] default for \xmlatt

2010-03-09 Thread Hans van der Meer
I would like to have a default value available to be returned in case \xmlatt{#1}{attr} is absent. Something like \xmlattdefault{#1}{attr} {default}. Or is this already possible? I cannot find such a thing in the current reference manual for mkiv xml-processing. Hans van der Meer

Re: [NTG-context] ntg-context Digest, Vol 69, Issue 49

2010-03-09 Thread Aditya Mahajan
On Tue, 9 Mar 2010, Michael Saunders wrote: The question is: what have you set OSFONTDIR to, and does that location actually contain the system fonts? Thank you, Taco. Double checking, I find that I have set OSFONTDIR to C:\Windows\Fonts, which does indeed contain my 1074 system font files,

Re: [NTG-context] default for \xmlatt

2010-03-09 Thread Hans Hagen
On 9-3-2010 17:08, Hans van der Meer wrote: I would like to have a default value available to be returned in case \xmlatt{#1}{attr} is absent. Something like \xmlattdefault{#1}{attr}{default}. Or is this already possible? I cannot find such a thing in the current reference manual for mkiv

Re: [NTG-context] Mac installation-file not found error

2010-03-09 Thread Hans Hagen
On 9-3-2010 16:11, Curiouslearn wrote: Hi, I tried updating my context minimal installation today (on Mac OSX 10.5.8) using the command sh ./first-setup.sh --extras=all Somewhere during the installation process the terminal gave me an error saying something like file \loadmarkfile{node-mig}

Re: [NTG-context] no space after \note[]

2010-03-09 Thread Hans Hagen
On 9-3-2010 17:08, Peter Münster wrote: Hello, The space after \note[test] is eaten: \starttext bla\footnote[test]{bla} bla\note[test] bla \stoptext Bug or feature? side effect of multiple optional arguments -

Re: [NTG-context] ntg-context Digest, Vol 69, Issue 49

2010-03-09 Thread Taco Hoekwater
Aditya Mahajan wrote: On Tue, 9 Mar 2010, Michael Saunders wrote: The question is: what have you set OSFONTDIR to, and does that location actually contain the system fonts? Thank you, Taco. Double checking, I find that I have set OSFONTDIR to C:\Windows\Fonts, which does indeed contain my

Re: [NTG-context] ntg-context Digest, Vol 69, Issue 49

2010-03-09 Thread Wolfgang Schuster
Am 09.03.10 16:59, schrieb Michael Saunders: Maybe a line like that is a typescript. This is a typescript: http://wiki.contextgarden.net/Fonts_in_LuaTeX#A_.28Complete.29_Typescript_Example Wolfgang ___ If

[NTG-context] unwanted space in front of table

2010-03-09 Thread zs
Hi, I found a space between character and table. Is it intended behavior or bug? Zdenek Sample code: \starttext \setupTABLE[background=color,backgroundcolor=yellow] This is OK: a% \setupTABLE[column][1][width=20mm]% \setupTABLE[column][2][width=20mm]% \setupTABLE[column][3][width=20mm]%

[NTG-context] unwanted space in front of table

2010-03-09 Thread zs
Hi, I found a space between character and table. Is it intended behavior or bug? Zdenek Sample code: \starttext \setupTABLE[background=color,backgroundcolor=yellow] This is OK: a% \setupTABLE[column][1][width=20mm]% \setupTABLE[column][2][width=20mm]% \setupTABLE[column][3][width=20mm]%

Re: [NTG-context] no space after \note[]

2010-03-09 Thread Taco Hoekwater
Hans Hagen wrote: On 9-3-2010 17:08, Peter Münster wrote: Hello, The space after \note[test] is eaten: \starttext bla\footnote[test]{bla} bla\note[test] bla \stoptext Bug or feature? side effect of multiple optional arguments Hans will look into this later, but if you want a quick hack

Re: [NTG-context] unwanted space in front of table

2010-03-09 Thread Wolfgang Schuster
Am 09.03.10 17:23, schrieb zs: Hi, I found a space between character and table. Is it intended behavior or bug? It's normal. You can shorten your examples with \bTABLE[width=20mm] ... \eTABLE Wolfgang ___ If

Re: [NTG-context] unwanted space in front of table

2010-03-09 Thread Taco Hoekwater
Wolfgang Schuster wrote: Am 09.03.10 17:23, schrieb zs: Hi, I found a space between character and table. Is it intended behavior or bug? It's normal. You can shorten your examples with \bTABLE[width=20mm] ... \eTABLE In general, it is advisable not to use any \setup commands in

Re: [NTG-context] ntg-context Digest, Vol 69, Issue 49

2010-03-09 Thread Mojca Miklavec
On Tue, Mar 9, 2010 at 16:59, Michael Saunders wrote: The first instruction stymies me: 1. Copy the typescript files into either $TEXMF/tex/texmf-fonts/tex/context/user $TEXMF/tex/texmf-project/tex/context/user What typescript files?  Where? (one usually needs to be written first, but I

Re: [NTG-context] unwanted space in front of table

2010-03-09 Thread Wolfgang Schuster
Am 09.03.10 17:36, schrieb Taco Hoekwater: In general, it is advisable not to use any \setup commands in horizontal mode (unless there is absolutely no way around it). Right but for natural tables it's not so easy, maybe something like this will help. \def\dobTABLE[#1]% {\pushTBL %

Re: [NTG-context] unwanted space in front of table

2010-03-09 Thread zs
Thanks, this looks good. Zdenek On Tue, 09 Mar 2010 17:49:36 +0100 Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: You can make your setups in the preamble with \startsetups setups:table \setupTABLE[...] \stopsetups and use them in your document with

Re: [NTG-context] no space after \note[]

2010-03-09 Thread Peter Münster
On Tue, 9 Mar 2010, Taco Hoekwater wrote: (or write \note[footnote][ref] explicitly) Thanks, this is ok for me! Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ If your question is of

Re: [NTG-context] no space after \note[]

2010-03-09 Thread Steffen Wolfrum
Am 09.03.2010 um 18:25 schrieb Peter Münster: On Tue, 9 Mar 2010, Taco Hoekwater wrote: (or write \note[footnote][ref] explicitly) Thanks, this is ok for me! Great, that's fine. And indeed interesting: What other values besides footnote there may be?! Thanks, Steffen

Re: [NTG-context] no space after \note[]

2010-03-09 Thread Hans Hagen
On 9-3-2010 18:38, Steffen Wolfrum wrote: Am 09.03.2010 um 18:25 schrieb Peter Münster: On Tue, 9 Mar 2010, Taco Hoekwater wrote: (or write \note[footnote][ref] explicitly) Thanks, this is ok for me! Great, that's fine. And indeed interesting: What other values besides footnote there

[NTG-context] wrong heights in TABLE

2010-03-09 Thread Peter Münster
Hello, I don't know, what I'm doing wrong here. The number of rows in each column is only correct, when adding a seventh column: \startbuffer \setupTABLE[r][2,3,4,5,6,7][height=6ex] \bTABLE[width=0.125\textwidth] \bTR \bTH 1. col\eTH \bTH 2. col\eTH \bTH 3. col\eTH \bTH 4. col\eTH \bTH 5.

Re: [NTG-context] wrong heights in TABLE

2010-03-09 Thread Peter Münster
Hello, Here a better minimal example-test-file: \startbuffer \setupTABLE[c][1,2,3][height=4ex] \bTABLE[width=0.2\textwidth] \bTR \bTH 1. col\eTH \bTH 2. col\eTH \doifmode{wa2}{\bTH 3. col\eTH} \eTR \bTR \bTD 1 row in 1. col\eTD \bTD[nr=2] 2 rows in 2. col\eTD \doifmode{wa2}{\bTD\eTD} \eTR \bTR

[NTG-context] Dezimalkomma

2010-03-09 Thread Wolfgang Werners-Lucchini
Hallo, if I write $0,8$ the distance between the ',' and the '8' is too big. I can write $0,\!8$ or an other kern, but I don't see how I can write a macro to avoid the extra effort. Shouldn't be this gap in german (\mainlanguage[deo]) as big as $0.8$ in US? Is there a switch I have overseen?

Re: [NTG-context] problem with mp-form.mp while updating minimals

2010-03-09 Thread luigi scarso
On Tue, Mar 9, 2010 at 4:06 PM, Jelle Huisman je...@jhnet.nl wrote: Hi all, I'm updating my ConTeXt (minimals) installation (on Linux-64) and get this error: (/home/jelle/context/tex/texmf-context/metapost/context/base/mp-form.mp ! I can't find file `string'. l.81 input string Please

[NTG-context] bibtex problems

2010-03-09 Thread Tom
I am now trying to create a bibliography database and have, I think, followed the documentation but to no good result. Myfile.tex contains the following: \setupbibtex[database=myfile] \starttex \startpublication ... \stoppublication \stoptext texexec --once myfile processes myfile then returns

Re: [NTG-context] Dezimalkomma

2010-03-09 Thread Wolfgang Schuster
Am 09.03.10 22:33, schrieb Wolfgang Werners-Lucchini: Hallo, if I write $0,8$ the distance between the ',' and the '8' is too big. I can write $0,\!8$ or an other kern, but I don't see how I can write a macro to avoid the extra effort. \setupmathematics[autopunctuation=yes] Wolfgang

Re: [NTG-context] suggestions for context documentation

2010-03-09 Thread Victor Eijkhout
\startitem Even an old manual can quite well describe functionality as much didn't change. It's only with \MKIV\ that some compatibility is dropped and only for obscure features. Of course I could trick users by regenerating a manual with a newer date. I often use the excellent book \quote {\TEX\

Re: [NTG-context] bibtex problems

2010-03-09 Thread Taco Hoekwater
Tom wrote: I am now trying to create a bibliography database and have, I think, followed the documentation but to no good result. Myfile.tex contains the following: \setupbibtex[database=myfile] \starttex \startpublication ... \stoppublication \stoptext texexec --once myfile processes myfile