Re: [NTG-context] [solved] gnuplot: mpost: Not writing to .log (openout_any = p).

2011-12-12 Thread Hans Hagen
On 12-12-2011 01:28, Paul Menzel wrote: Am Montag, den 12.12.2011, 01:20 +0100 schrieb Paul Menzel: […] I am also getting other errors now and even moving the ConTeXt file to a new directory I keep getting this error from `mpost`. fonts : using map file: original-ams-euler

[NTG-context] OT: How to reference the ConTeXt project?

2011-12-12 Thread Paul Menzel
Dear Hans and ConTeXt folks, how do you want me to reference ConTeXt? Is there an article you prefer or should I just use the reference manual or the Wiki? Hans Hagen and others (2011), http://contextgarden.net/ Thanks, Paul signature.asc Description: This is a digitally signed message

[NTG-context] pdfselect and context command?

2011-12-12 Thread Verhaag, G.C.H.M.
Hi ConTeXTt User's, I was looking for the --pdfselect option in the context-command, but it doesn't seem to be available. This option is available in texexec to select certain pages from a pdf file. Can it also be done in some way using the context-command? Regards, Gerard Verhaag

Re: [NTG-context] pdfselect and context command?

2011-12-12 Thread Hans Hagen
On 12-12-2011 11:10, Verhaag, G.C.H.M. wrote: Hi ConTeXTt User's, I was looking for the --pdfselect option in the context-command, but it doesn't seem to be available. This option is available in texexec to select certain pages from a pdf file. Can it also be done in some way using the

[NTG-context] Pagemakeup? Was Re: Layers + simplefonts: Using different font in layers?

2011-12-12 Thread Mari Voipio
On Fri, Dec 9, 2011 at 16:52, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: \placelayer use the area of the current block (in this case the text are), one way out of this is to use the “pagemakeup” environment where all margins are set to 0pt. There were no results matching the

Re: [NTG-context] Pagemakeup? Was Re: Layers + simplefonts: Using different font in layers?

2011-12-12 Thread luigi scarso
On Mon, Dec 12, 2011 at 12:07 PM, Mari Voipio mari.voi...@iki.fi wrote: On Fri, Dec 9, 2011 at 16:52, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: \placelayer use the area of the current block (in this case the text are), one way out of this is to use the “pagemakeup” environment

Re: [NTG-context] Pagemakeup? Was Re: Layers + simplefonts: Using different font in layers?

2011-12-12 Thread Wolfgang Schuster
Am 12.12.2011 um 12:07 schrieb Mari Voipio: On Fri, Dec 9, 2011 at 16:52, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: \placelayer use the area of the current block (in this case the text are), one way out of this is to use the “pagemakeup” environment where all margins are

Re: [NTG-context] headers: numberconversion=something or \definestructureconversionset

2011-12-12 Thread Wolfgang Schuster
Am 08.12.2011 um 11:21 schrieb Philipp A.: hi list, i want to make an exercise sheet style. exercises are already correctly rendered as “Exercise 1: Text”, but sub-exercises should simply be like “a)”. what i tried: \definestructureconversionset[ex][numbers,characters][numbers]

[NTG-context] \definestartstop (not functioning before/after keys)

2011-12-12 Thread Andreas Harder
Hi Hans, has something changed with \definestartstop? Setting before and after do not change the output. \definestartstop[test][before=\blank,after=\blank] \starttext before \test{test} after \stoptext Tested with the current beta- and experimental-branch. Regards Andreas

Re: [NTG-context] \definestartstop (not functioning before/after keys)

2011-12-12 Thread Wolfgang Schuster
Am 12.12.2011 um 12:55 schrieb Andreas Harder: Hi Hans, has something changed with \definestartstop? Setting before and after do not change the output. \definestartstop[test][before=\blank,after=\blank] \starttext before \test{test} after \stoptext Tested with the current beta-

[NTG-context] \placelist after \chapter

2011-12-12 Thread Felix Ingram
Hi all, I can't seem to get a list placed after a numbered heading. For example: \starttext \title{First one} \placelist[chapter] \chapter{Second one} \placelist[chapter] % This won't be placed \stoptext Is this something I should be able to do? The reason I ask is that I'm looking to generate

Re: [NTG-context] \placelist after \chapter

2011-12-12 Thread Wolfgang Schuster
Am 12.12.2011 um 13:04 schrieb Felix Ingram: Hi all, I can't seem to get a list placed after a numbered heading. For example: \starttext \title{First one} \placelist[chapter] \chapter{Second one} \placelist[chapter] % This won't be placed \stoptext Is this something I should be

[NTG-context] Reverse numbering

2011-12-12 Thread Otared Kavian
Hi all, When using \startitemize[n,reverse] one gets items numbered in reverse order. I wonder if this feature exists also for enumerations. An example is given below in which the last enumeration is written on top of the file and I wish it were possible to have the enumerations

Re: [NTG-context] \definestartstop (not functioning before/after keys)

2011-12-12 Thread Andreas Harder
On 12.12.2011, at 13:00, Wolfgang Schuster wrote: Am 12.12.2011 um 12:55 schrieb Andreas Harder: Hi Hans, has something changed with \definestartstop? Setting before and after do not change the output. \definestartstop[test][before=\blank,after=\blank] \starttext before

Re: [NTG-context] Reverse numbering

2011-12-12 Thread Wolfgang Schuster
Am 12.12.2011 um 13:33 schrieb Otared Kavian: Hi all, When using \startitemize[n,reverse] one gets items numbered in reverse order. I wonder if this feature exists also for enumerations. An example is given below in which the last enumeration is written on top of the file and I

[NTG-context] getcitedata

2011-12-12 Thread Eidenbenz Michael
Hi all, I'm looking for some information on the command \getcitedata [field][key] to \macroname i only manage to get results using a bbl file \input bibtest.bbl is there a way to use it with a bib file directly via \setupbibtex[database=mylib] so i can run context just once? Thanks Michael

Re: [NTG-context] Reverse numbering

2011-12-12 Thread Otared Kavian
Hi Wolfgang, Thank you for your attention: in fact you pointed out how to solve the problem… Beginning with what you wrote, after a few trials and errors I ended up with the following which gives what I meant: %%% begin reverse-enumeration.tex

Re: [NTG-context] \placelist after \chapter

2011-12-12 Thread Felix Ingram
Thanks Wolfgang - that works as expected. I'm trying to create a table from the headings (as previously mentioned). Something like this: \setuplist[chapter][criterium=all,alternative=command,command=\MySummaryTable,before={\setupTABLE[frame=on]\bTABLE\bTABLEbody},after={\eTABLEbody\eTABLE}]

[NTG-context] getcitedata bug in mkiv?

2011-12-12 Thread Eidenbenz Michael
hi all, referring to my previous question: the following gives me a correct pdf with mkII but nothing at all with mkiv. is this a bug? thanks an best michael \setupbibtex [database=mylib] \def\mycite#1{ \bgroup \getcitedata[title][#1] to \mytitle \mytitle

[NTG-context] Mailing list archive (archive.contextgarden.net) will be down or at least not updated

2011-12-12 Thread Mojca Miklavec
Hello, We are moving the mail server from Germany to Jožef Stefan Institute in Ljubljana and would like to let you know that mailing list archive won't be updated when that happens. So: copy of mailing list archive (archive.contextgarden.net) won't be updated for at least some time, but there

[NTG-context] Lua and module gnuplot: Manipulate Gnuplot script with Lua

2011-12-12 Thread Paul Menzel
Dear ConTeXt folks, I have two coefficients saved in a text file -0.157737135681261 -0.211443105668896 and I want to use them to plot a line with gnuplot. Having several of those files I want to use Lua to create the formula for the line for me. I have not yet figured out how

Re: [NTG-context] Lua and module gnuplot: Manipulate Gnuplot script with Lua

2011-12-12 Thread Mojca Miklavec
On Mon, Dec 12, 2011 at 22:39, Paul Menzel wrote: Dear ConTeXt folks, I have two coefficients saved in a text file        -0.157737135681261        -0.211443105668896 and I want to use them to plot a line with gnuplot. Having several of those files I want to use Lua to create the

Re: [NTG-context] Lua and module gnuplot: Manipulate Gnuplot script with Lua

2011-12-12 Thread Mojca Miklavec
On Mon, Dec 12, 2011 at 23:07, Mojca Miklavec wrote: However, \startGNUPLOTinclusions is parsed and you could in theory misuse that, but it would be very bad coding practice. (Wait, I'm not sure about that. I think that I fixed that for the same reason, but I need to check.) Either way the

Re: [NTG-context] Lua and module gnuplot: Manipulate Gnuplot script with Lua

2011-12-12 Thread Hans Hagen
On 12-12-2011 22:39, Paul Menzel wrote: Dear ConTeXt folks, I have two coefficients saved in a text file -0.157737135681261 -0.211443105668896 and I want to use them to plot a line with gnuplot. Having several of those files I want to use Lua to create the formula for the

Re: [NTG-context] Lua and module gnuplot: Manipulate Gnuplot script with Lua

2011-12-12 Thread Hans Hagen
On 12-12-2011 23:13, Mojca Miklavec wrote: Either way the moral of the story is still the same: context parsing is very very very confusing and you don't want to go there. In particular you never know if something should be parsed and executed before or after gnuplot processing. Actually this

Re: [NTG-context] Lua and module gnuplot: Manipulate Gnuplot script with Lua

2011-12-12 Thread Mojca Miklavec
On Mon, Dec 12, 2011 at 23:17, Hans Hagen wrote: You have to twist your mide a bit: \startluacode  local x = 10  context.startGNUPLOTscript{ lua }  context(plot %s,1.2 * x + 3)  context.stopGNUPLOTscript() \stopluacode \starttext \useGNUPLOTgraphic[lua] \stoptext Oh, I like this

Re: [NTG-context] Lua and module gnuplot: Manipulate Gnuplot script with Lua

2011-12-12 Thread Paul Menzel
Am Montag, den 12.12.2011, 23:07 +0100 schrieb Mojca Miklavec: On Mon, Dec 12, 2011 at 22:39, Paul Menzel wrote: I have two coefficients saved in a text file -0.157737135681261 -0.211443105668896 and I want to use them to plot a line with gnuplot. Having several of

Re: [NTG-context] Lua and module gnuplot: Manipulate Gnuplot script with Lua

2011-12-12 Thread Paul Menzel
Am Montag, den 12.12.2011, 23:13 +0100 schrieb Mojca Miklavec: […] One more example. One thing that would most probably work (I didn't try it) would be the following: \startGNUPLOTscript[name] plot sin(x) t '$\pi = \ctxlua{math.pi()}$' \stopGNUPLOTscript It has some syntax errors, but

[NTG-context] xml attribute conditional

2011-12-12 Thread Jon Crump
All, I have a conditional expression that checks to see if the current node has any ancestor whose xml:id attribute matches a string \xmldoifelse{#1}{ancestor::div[@xml:id='apr_engl']} What I need is a test to see if the current node has any ancestor whose xml:id attribute _contains_ a

Re: [NTG-context] Preserving Output Files

2011-12-12 Thread Kip Warner
On Fri, 2011-12-09 at 20:26 +0100, Hans Hagen wrote: I only see cont-en.fmt : format file, sits in the cache and stays there cont-en.lui : lua startup stub, idem handbook.tex : your file, is kept where it is Hans Then I am not sure what file it is missing then since all of those

Re: [NTG-context] Reverse numbering

2011-12-12 Thread Aditya Mahajan
On Mon, 12 Dec 2011, Otared Kavian wrote: Hi Wolfgang, Thank you for your attention: in fact you pointed out how to solve the problem… Beginning with what you wrote, after a few trials and errors I ended up with the following which gives what I meant: %%% begin reverse-enumeration.tex

Re: [NTG-context] Lua and module gnuplot: Manipulate Gnuplot script with Lua

2011-12-12 Thread Aditya Mahajan
On Mon, 12 Dec 2011, Mojca Miklavec wrote: On Mon, Dec 12, 2011 at 23:17, Hans Hagen wrote: You have to twist your mide a bit: \startluacode  local x = 10  context.startGNUPLOTscript{ lua }  context(plot %s,1.2 * x + 3)  context.stopGNUPLOTscript() \stopluacode \starttext

Re: [NTG-context] Lua and module gnuplot: Manipulate Gnuplot script with Lua

2011-12-12 Thread Aditya Mahajan
On Mon, 12 Dec 2011, Mojca Miklavec wrote: It would be a lot better to come up with some proposal how to change the interface to enable what you want to do. (To be honest, it is still on my todo list to migrate to Aditya's filter module in the background, but I don't find the courage to start

Re: [NTG-context] Reverse numbering

2011-12-12 Thread Otared Kavian
On 13 déc. 2011, at 07:39, Aditya Mahajan wrote: […] Untested, but \defineenumeration[Lecture][number=ReverseNumberOrder] should also work. Aditya Hi Aditya, Thanks for the hint, but unfortunately it does not work as expected: no numbers show up. Maybe there is a way by using «

Re: [NTG-context] Reverse numbering

2011-12-12 Thread Aditya Mahajan
On Tue, 13 Dec 2011, Otared Kavian wrote: On 13 déc. 2011, at 07:39, Aditya Mahajan wrote: […] Untested, but \defineenumeration[Lecture][number=ReverseNumberOrder] should also work. Aditya Hi Aditya, Thanks for the hint, but unfortunately it does not work as expected: no numbers show