Re: [NTG-context] new beta

2011-01-25 Thread Alan BRASLAU
On Tuesday 18 January 2011 20:13:36 Renaud AUBIN wrote: > Hi Hans, > > On Linux with debian minimals: > > l.42 \loadmarkfile{catc-ini} > > Please type another input file name: > ! Emergency stop. > >\relax > l.42 \loadmarkfile{catc-ini} There appears to be a problem (for q

Re: [NTG-context] problem with margin=0pt

2011-01-25 Thread Peter Münster
Wolfgang Schuster writes: > When you use “location=hanging” and set the margin to 0pt contexts sets > the margin to 1.5em. I don’t know what do you want to achieve but maybe > “location=serried” is what you want. Right, location=serried is what I want! (I had a margin, then to save place I set i

[NTG-context] context-setup-mswin.zip : so many doubles files ?

2011-01-25 Thread Vnpenguin
Hi, The file context-setup-mswin.zip has 23M size at http://minimals.contextgarden.net/setup/. Here are files inside of this ZIP: === |-- bin | |-- cygiconv-2.dll | |-- cygwin1.dll | |-- kpathsea600.dll | |-- kpathsea60071.dll | |-- luatex.dll | |-- m

Re: [NTG-context] Minimals/MTXrun: 32-bit system with 64-bit kernel: `MTXrun | no 'texmf-linux-64'`

2011-01-25 Thread Mojca Miklavec
On Mon, Jan 24, 2011 at 02:13, Paul Menzel wrote: > Dear ConTeXt folks, > > I am running a 32-bit system with a 64-bit kernel. So relying on > >        uname -m > > to determine the architecture leads to problems [1]. I am aware of that. At the moment it is a bit nasty since --platform is not favo

[NTG-context] SVG is not rendered in the new beta

2011-01-25 Thread Anand Raj
Hi, svg images are not rendered in the new beta. \startxmlsetups xml:img \externalfigure[\xmlatt{#1}{src}] \stopxmlsetups Thanks Anand ___ If your question is of interest to others as well, please add an entr

[NTG-context] Widgets color option not working with Mark IV

2011-01-25 Thread Reviczky, Adam
Hi, I was playing a bit more with the field style properties and found out that if the font size is always different it works, but as soon as it has a size that was used before it defaults back to normal. Here's the minimal example: % begin of example \starttext \setupfields [label,frame,hori

[NTG-context] field alignment bug in latest beta

2011-01-25 Thread Reviczky, Adam
Hi, The alignment doesn't apply anymore to the first field (widget) in the latest beta. Here's the minimal example: % begin of example \starttext \setupfield [ShortLine] [label,frame,horizontal] [offset=4pt,height=fit,framecolor=green,background=screen,backgroundscreen=.80] [height=18pt,width=

Re: [NTG-context] [solved] no pdf output using `texexec --lua hello.tex`

2011-01-25 Thread Paul Menzel
Am Dienstag, den 25.01.2011, 11:45 -0500 schrieb Aditya Mahajan: > On Tue, 25 Jan 2011, Paul Menzel wrote: > > > I am still trying to get ConTeXt Minimals up and running. I am using the > > hello world sample from the Wiki [1]. > > Try > >context hello > > If that does not work, run > >

Re: [NTG-context] new beta

2011-01-25 Thread Hans Hagen
On 25-1-2011 10:18, Marco Pessotto wrote: I don't need a workaround, because I can comment out the *nofonts in the cont-new.mkiv (which was added by myself). I was just reporting a problem, as asked (IIRC). well, at some point it will be default so we need to catch these cases (or fix the typ

Re: [NTG-context] new beta

2011-01-25 Thread Hans Hagen
On 25-1-2011 9:35, Andreas Harder wrote: Am 25.01.2011 um 21:18 schrieb Marco Pessotto: Hans Hagen writes: - If you are adventurous you can add the following to cont-new.mkiv \enablemode[*nofonts] This will postpone font loading and will be default soon. This saves runtime when you

Re: [NTG-context] new beta

2011-01-25 Thread Marco Pessotto
Aditya Mahajan writes: > On Tue, 25 Jan 2011, Marco Pessotto wrote: > >> Hans Hagen writes: >> >>> - If you are adventurous you can add the following to cont-new.mkiv >>> >>>\enablemode[*nofonts] >>> >>> This will postpone font loading and will be default soon. This saves >>> runtime whe

Re: [NTG-context] problem with margin=0pt

2011-01-25 Thread Wolfgang Schuster
Am 25.01.2011 um 17:02 schrieb Peter Münster: > Hello, > > margin=0pt does not work here: When you use “location=hanging” and set the margin to 0pt contexts sets the margin to 1.5em. I don’t know what do you want to achieve but maybe “location=serried” is what you want. Wolfgang _

Re: [NTG-context] new beta

2011-01-25 Thread Aditya Mahajan
On Tue, 25 Jan 2011, Marco Pessotto wrote: Hans Hagen writes: - If you are adventurous you can add the following to cont-new.mkiv \enablemode[*nofonts] This will postpone font loading and will be default soon. This saves runtime when you use another font than latin modern. When no fo

Re: [NTG-context] new beta

2011-01-25 Thread Marco Pessotto
Andreas Harder writes: > Am 25.01.2011 um 21:18 schrieb Marco Pessotto: > >> Hans Hagen writes: >> >>> - If you are adventurous you can add the following to cont-new.mkiv >>> >>> \enablemode[*nofonts] >>> >>> This will postpone font loading and will be default soon. This saves >>> runti

Re: [NTG-context] new beta

2011-01-25 Thread Andreas Harder
Am 25.01.2011 um 21:18 schrieb Marco Pessotto: > Hans Hagen writes: > >> - If you are adventurous you can add the following to cont-new.mkiv >> >> \enablemode[*nofonts] >> >> This will postpone font loading and will be default soon. This saves >> runtime when you use another font than l

Re: [NTG-context] Using \pdfnames and friends.

2011-01-25 Thread Paul Isambert
Le 25/01/2011 17:26, Hans Hagen a écrit : On 25-1-2011 2:35, Paul Isambert wrote: Answering myself: I should use: \ctxlua{lpdf.addtonames("EmbeddedFiles", lpdf.reference(22)) \ctxlua{lpdf.addtocatalog("PageMode", lpdf.constant("UseOutlines"))} (Apparently I can't do that directly with \pdfbac

Re: [NTG-context] new beta

2011-01-25 Thread Marco Pessotto
Hans Hagen writes: > - If you are adventurous you can add the following to cont-new.mkiv > >\enablemode[*nofonts] > > This will postpone font loading and will be default soon. This saves > runtime when you use another font than latin modern. When no font is > loaded before the first \star

Re: [NTG-context] no pdf output using `texexec --lua hello.tex`

2011-01-25 Thread Hans Hagen
On 25-1-2011 6:02, luigi scarso wrote: I mean that texexec is related only with mkii indeed, but it still had code for --luatex which was not working right which in turn can be confusing -

Re: [NTG-context] Layers by native code vs. by Lua

2011-01-25 Thread Hans Hagen
On 25-1-2011 4:43, Procházka Lukáš Ing. - Pontex s. r. o. wrote: On Tue, 25 Jan 2011 16:31:24 +0100, Hans Hagen wrote: i have a patch now that handles \setupbackgrounds[page][setups=S1,background={T}] \setupbackgrounds[page][setups=lua(S2),background={T}] \setupbackgrounds[page][setups=S3,bac

Re: [NTG-context] no pdf output using `texexec --lua hello.tex`

2011-01-25 Thread luigi scarso
On Tue, Jan 25, 2011 at 5:57 PM, Hans Hagen wrote: > On 25-1-2011 5:41, luigi scarso wrote: >> >> On Tue, Jan 25, 2011 at 5:39 PM, luigi scarso >>  wrote: >>> >>> On Tue, Jan 25, 2011 at 5:36 PM, Paul Menzel >>>  wrote: Dear ConTeXt folks, I am still trying to get ConTeXt

Re: [NTG-context] no pdf output using `texexec --lua hello.tex`

2011-01-25 Thread Hans Hagen
On 25-1-2011 5:41, luigi scarso wrote: On Tue, Jan 25, 2011 at 5:39 PM, luigi scarso wrote: On Tue, Jan 25, 2011 at 5:36 PM, Paul Menzel wrote: Dear ConTeXt folks, I am still trying to get ConTeXt Minimals up and running. I am using the hello world sample from the Wiki [1]. The following

Re: [NTG-context] no pdf output using `texexec --lua hello.tex`

2011-01-25 Thread Aditya Mahajan
On Tue, 25 Jan 2011, Paul Menzel wrote: I am still trying to get ConTeXt Minimals up and running. I am using the hello world sample from the Wiki [1]. Try context hello If that does not work, run mtxrun --generate and then run context. Aditya __

Re: [NTG-context] no pdf output using `texexec --lua hello.tex`

2011-01-25 Thread luigi scarso
On Tue, Jan 25, 2011 at 5:39 PM, luigi scarso wrote: > On Tue, Jan 25, 2011 at 5:36 PM, Paul Menzel > wrote: >> Dear ConTeXt folks, >> >> >> I am still trying to get ConTeXt Minimals up and running. I am using the >> hello world sample from the Wiki [1]. >> >> The following command does not produ

Re: [NTG-context] no pdf output using `texexec --lua hello.tex`

2011-01-25 Thread Hans Hagen
On 25-1-2011 5:36, Paul Menzel wrote: Dear ConTeXt folks, I am still trying to get ConTeXt Minimals up and running. I am using the hello world sample from the Wiki [1]. The following command does not produce any output. $ ./tex/texmf-linux/bin/texexec --lua hello.tex use context h

Re: [NTG-context] no pdf output using `texexec --lua hello.tex`

2011-01-25 Thread luigi scarso
On Tue, Jan 25, 2011 at 5:36 PM, Paul Menzel wrote: > Dear ConTeXt folks, > > > I am still trying to get ConTeXt Minimals up and running. I am using the > hello world sample from the Wiki [1]. > > The following command does not produce any output. > >        $ ./tex/texmf-linux/bin/texexec --lua h

[NTG-context] no pdf output using `texexec --lua hello.tex`

2011-01-25 Thread Paul Menzel
Dear ConTeXt folks, I am still trying to get ConTeXt Minimals up and running. I am using the hello world sample from the Wiki [1]. The following command does not produce any output. $ ./tex/texmf-linux/bin/texexec --lua hello.tex MTXrun | kpse fallback with progname 'context' i

Re: [NTG-context] Using \pdfnames and friends.

2011-01-25 Thread Hans Hagen
On 25-1-2011 2:35, Paul Isambert wrote: Answering myself: I should use: \ctxlua{lpdf.addtonames("EmbeddedFiles", lpdf.reference(22)) \ctxlua{lpdf.addtocatalog("PageMode", lpdf.constant("UseOutlines"))} (Apparently I can't do that directly with \pdfbackendsetname/catalog, the second argument is

Re: [NTG-context] Using \pdfnames and friends.

2011-01-25 Thread luigi scarso
On Tue, Jan 25, 2011 at 3:52 PM, Paul Isambert wrote: > Thanks Luigi (don't know why your answer doesn't show up above.) > > But now I have another question. When I do: > > \ctxlua{lpdf.addtoinfo("Title", "My work")} > > The Title field in the Info dictionary is correctly set, but not in the xml >

[NTG-context] problem with margin=0pt

2011-01-25 Thread Peter Münster
Hello, margin=0pt does not work here: \definedescription[Test][location=hanging, margin=0pt] \starttext \startTest{Problem} \input tufte \stopTest \setupdescriptions[Test][margin=0.0001pt] \startTest{Workaround} \input tufte \stopTest \stoptext -- Peter __

Re: [NTG-context] Layers by native code vs. by Lua

2011-01-25 Thread Procházka Lukáš Ing . - Pontex s . r . o .
On Tue, 25 Jan 2011 16:31:24 +0100, Hans Hagen wrote: i have a patch now that handles \setupbackgrounds[page][setups=S1,background={T}] \setupbackgrounds[page][setups=lua(S2),background={T}] \setupbackgrounds[page][setups=S3,background={T}] \setupbackgrounds[page][setups={S1,lua(S2

Re: [NTG-context] Layers by native code vs. by Lua

2011-01-25 Thread Hans Hagen
On 25-1-2011 2:40, luigi scarso wrote: 2011/1/25 Hans Hagen: On 25-1-2011 1:53, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, a weird thing happens when setting up layers - I'm getting different results depending on whether setup is performed by native Ctx code or by Lua: --- \setuppa

Re: [NTG-context] Using \pdfnames and friends.

2011-01-25 Thread Aditya Mahajan
On Tue, 25 Jan 2011, Paul Isambert wrote: Thanks Luigi (don't know why your answer doesn't show up above.) But now I have another question. When I do: \ctxlua{lpdf.addtoinfo("Title", "My work")} The Title field in the Info dictionary is correctly set, but not in the xml Metadata, which uses

Re: [NTG-context] Using \pdfnames and friends.

2011-01-25 Thread Paul Isambert
Thanks Luigi (don't know why your answer doesn't show up above.) But now I have another question. When I do: \ctxlua{lpdf.addtoinfo("Title", "My work")} The Title field in the Info dictionary is correctly set, but not in the xml Metadata, which uses jobname instead. Hence, Acrobat shows jobnam

Re: [NTG-context] Layers by native code vs. by Lua

2011-01-25 Thread luigi scarso
2011/1/25 Hans Hagen : > On 25-1-2011 1:53, Procházka Lukáš Ing. - Pontex s. r. o. wrote: >> >> Hello, >> >> a weird thing happens when setting up layers - I'm getting different >> results depending on whether setup is performed by native Ctx code or by >> Lua: >> >> --- >> \setuppapersize[A4,lands

Re: [NTG-context] Using \pdfnames and friends.

2011-01-25 Thread luigi scarso
On Tue, Jan 25, 2011 at 2:35 PM, Paul Isambert wrote: > Answering myself: I should use: > > \ctxlua{lpdf.addtonames("EmbeddedFiles", lpdf.reference(22)) > \ctxlua{lpdf.addtocatalog("PageMode", lpdf.constant("UseOutlines"))} > > (Apparently I can't do that directly with \pdfbackendsetname/catalog,

Re: [NTG-context] Layers by native code vs. by Lua

2011-01-25 Thread Hans Hagen
On 25-1-2011 1:53, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, a weird thing happens when setting up layers - I'm getting different results depending on whether setup is performed by native Ctx code or by Lua: --- \setuppapersize[A4,landscape][A4,landscape] \setuplayout[page] \definel

Re: [NTG-context] Using \pdfnames and friends.

2011-01-25 Thread Paul Isambert
Answering myself: I should use: \ctxlua{lpdf.addtonames("EmbeddedFiles", lpdf.reference(22)) \ctxlua{lpdf.addtocatalog("PageMode", lpdf.constant("UseOutlines"))} (Apparently I can't do that directly with \pdfbackendsetname/catalog, the second argument is taken as a string.) I hope that's the co

Re: [NTG-context] Problem calling Lua during \startsetups

2011-01-25 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Thanks you, Hans, - On Tue, 25 Jan 2011 09:33:04 +0100, Hans Hagen wrote: On 25-1-2011 8:44, Wolfgang Schuster wrote: \startsetups layer % In my real code (= not in this example) % the value of 'n' is used here to set the appropriate background, % = n-th page of a PDF, and also to draw

[NTG-context] Layers by native code vs. by Lua

2011-01-25 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, a weird thing happens when setting up layers - I'm getting different results depending on whether setup is performed by native Ctx code or by Lua: --- \setuppapersize[A4,landscape][A4,landscape] \setuplayout[page] \definelayer[T][x=10mm,y=0mm] \startuseMPgraphic{VerticalRule} draw (0

[NTG-context] Using \pdfnames and friends.

2011-01-25 Thread Paul Isambert
Hello, I'm trying to use \pdfnames with MkIV, but I can see from the sources that it's a no-op and should be replaced with \pdfbackendsetname. So I use \pdfbackendsetname{EmbeddedFiles}{22 0 R}, trying to achieve the same thing as \pdfnames{/EmbeddedFiles 22 0 R}, but "22 0 R" is surrounded by

Re: [NTG-context] Pipe symbol

2011-01-25 Thread Khaled Hosny
On Tue, Jan 25, 2011 at 09:31:06AM +0100, Wolfgang Schuster wrote: > > Am 24.01.2011 um 13:44 schrieb Khaled Hosny: > > > On Mon, Jan 24, 2011 at 01:01:10PM +0100, Wolfgang Schuster wrote: > >> > >> Am 24.01.2011 um 12:47 schrieb Khaled Hosny: > >> > >> > >>Just wondering, what is special

Re: [NTG-context] beta

2011-01-25 Thread Anand Raj
svg is not rendered in the beta. \startxmlsetups xml:img \externalfigure[\xmlatt{#1}{src}] \stopxmlsetups On Tue, Jan 25, 2011 at 6:31 PM, Lutz Haseloff wrote: > Update works now for me. > > Thank You very much. > > Greetings Lutz > > > > 2011/1/25 Hans Hagen : > > On 25-1-2011 10:53,

Re: [NTG-context] beta

2011-01-25 Thread Lutz Haseloff
Update works now for me. Thank You very much. Greetings Lutz 2011/1/25 Hans Hagen : > On 25-1-2011 10:53, Lutz Haseloff wrote: >> >> now is java-ini.mkiv missing: >> >> >> loading         : ConTeXt Table Macros / Line Tables >> ) (c:/contextminimal/texmf-context/tex/context/base/tabl-tsp.mkiv

Re: [NTG-context] asciimode

2011-01-25 Thread Hans Hagen
On 25-1-2011 9:39, Wolfgang Schuster wrote: Hi, \stopasciimode does always switch to \donknuthmode what is nonsense when \nonknuthmode will be the default in the future, wouldn’t something like this make more sense \unexpanded\def\stopasciimode {\popcatcodetable \ifconditional\knuthmod

Re: [NTG-context] beta

2011-01-25 Thread Hans Hagen
On 25-1-2011 10:53, Lutz Haseloff wrote: now is java-ini.mkiv missing: loading : ConTeXt Table Macros / Line Tables ) (c:/contextminimal/texmf-context/tex/context/base/tabl-tsp.mkiv loading : ConTeXt Table Macros / Splitting ) ! I can't find file `java-ini.mkiv'.

Re: [NTG-context] beta

2011-01-25 Thread Lutz Haseloff
now is java-ini.mkiv missing: loading : ConTeXt Table Macros / Line Tables ) (c:/contextminimal/texmf-context/tex/context/base/tabl-tsp.mkiv loading : ConTeXt Table Macros / Splitting ) ! I can't find file `java-ini.mkiv'. \relax l.277 \loadmarkfile{java-ini}

Re: [NTG-context] beta

2011-01-25 Thread Vnpenguin
On Tue, Jan 25, 2011 at 09:53, Lutz Haseloff wrote: > Hi Hans, > > my new ConTeXt misses v-default.mkiv: > > > ... > <+ c:/contextminimal/texmf-context/tex/context/base/buff-par.lua>) > ! I can't find file `v-default.mkiv'. > >                   \relax > l

Re: [NTG-context] beta

2011-01-25 Thread Hans Hagen
On 25-1-2011 9:53, Lutz Haseloff wrote: Hi Hans, my new ConTeXt misses v-default.mkiv: ... <+ c:/contextminimal/texmf-context/tex/context/base/buff-par.lua>) ! I can't find file `v-default.mkiv'. ah, ok. needs to be buff-imp-default etc (on my machine

Re: [NTG-context] beta

2011-01-25 Thread Lutz Haseloff
Hi Hans, my new ConTeXt misses v-default.mkiv: ... <+ c:/contextminimal/texmf-context/tex/context/base/buff-par.lua>) ! I can't find file `v-default.mkiv'. \relax l.246 \loadmarkfile{v-default} % preloa

[NTG-context] beta

2011-01-25 Thread Hans Hagen
Hi, I uploaded a beta. Tho most important change is that mkii and mkiv are now completely separated, only a couple of modules and styles are shared. Another change is that language related information is now organized differently. Labels and such are in lang-txt.lua and easier to maintain.

[NTG-context] asciimode

2011-01-25 Thread Wolfgang Schuster
Hi, \stopasciimode does always switch to \donknuthmode what is nonsense when \nonknuthmode will be the default in the future, wouldn’t something like this make more sense \unexpanded\def\stopasciimode {\popcatcodetable \ifconditional\knuthmode\else\donknuthmode\fi} and set \knuthmode to t

Re: [NTG-context] Minimals/MTXrun: 32-bit system with 64-bit kernel: `MTXrun | no 'texmf-linux-64'`

2011-01-25 Thread Hans Hagen
On 25-1-2011 2:00, Paul Menzel wrote: 1. Could there be some corrupted caches which need to be deleted? I reinstalled everything by deleting `/opt/context`. But maybe something was left over from the broken installation beforehand? 2. How can I update ConTeXt Minimals without getting `setuptex`

Re: [NTG-context] Problem calling Lua during \startsetups

2011-01-25 Thread Wolfgang Schuster
Am 25.01.2011 um 09:00 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: > Thank you, Wolfgang, this works better. > > Actually I need to use '%' in the condition and that fails: > > --- > ... > \startrawsetups layer > % The value of 'n' is used here to set the appropriate background, > % = n-t

Re: [NTG-context] Problem calling Lua during \startsetups

2011-01-25 Thread Hans Hagen
On 25-1-2011 8:44, Wolfgang Schuster wrote: \startsetups layer % In my real code (= not in this example) % the value of 'n' is used here to set the appropriate background, % = n-th page of a PDF, and also to draw a filled rectangle on % the left or right side (depending on whether n is e

Re: [NTG-context] Pipe symbol

2011-01-25 Thread Wolfgang Schuster
Am 24.01.2011 um 13:44 schrieb Khaled Hosny: > On Mon, Jan 24, 2011 at 01:01:10PM +0100, Wolfgang Schuster wrote: >> >> Am 24.01.2011 um 12:47 schrieb Khaled Hosny: >> >> >>Just wondering, what is special about | now we can even have ^ and $ >>in text mode? >> >> >> http://wiki.conte

Re: [NTG-context] Problem calling Lua during \startsetups

2011-01-25 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Thank you, Wolfgang, this works better. Actually I need to use '%' in the condition and that fails: --- ... \startrawsetups layer % The value of 'n' is used here to set the appropriate background, % = n-th page of a PDF, and also to draw a filled rectangle on % the left or right side (depe