Re: [NTG-context] placefigure and listoffigures

2016-03-15 Thread Alan BRASLAU
On Tue, 15 Mar 2016 23:01:46 +0100 Wolfgang Schuster wrote: > \startplacefigure [location={inmargin,none}] Thank you, clean and elegant (and much easier than Willi's suggestion). The syntax is a bit magical, though ("location" of the caption). Alan

Re: [NTG-context] placefigure and listoffigures

2016-03-15 Thread Wolfgang Schuster
Alan BRASLAU 15. März 2016 um 21:43 Hi, How can one suppress the addition of a placed figure to the listoffigures? In the following MWE, list=no places "no" as an alternative to the (blank) title. Alan \starttext \startplacefigure

Re: [NTG-context] Howto use the lua io.read() function only in the first context run?

2016-03-15 Thread Hans Hagen
On 3/15/2016 9:04 PM, Romain Diss wrote: Hi all, I want to write a cld document with some data read on the standard input. I'm using the lua io.read() function but it's launched at every context passes (depending on the case, it is launched 2 to 3 times). -- Minimum not working example local

Re: [NTG-context] placefigure and listoffigures

2016-03-15 Thread Willi Egger
I would define another float and assign this not to be listed float to this new float-type something like \definefloat[Notlisted][figure] and then \startplaceNotlisted \externalf… \stopplaceNotlisted Best wishes Willi > On 15 mrt. 2016, at 21:43, Alan BRASLAU

[NTG-context] placefigure and listoffigures

2016-03-15 Thread Alan BRASLAU
Hi, How can one suppress the addition of a placed figure to the listoffigures? In the following MWE, list=no places "no" as an alternative to the (blank) title. Alan \starttext \startplacefigure [location=inmargin,number=no,list=no] \externalfigure [cow] [width=1cm] \stopplacefigure \input

[NTG-context] Howto use the lua io.read() function only in the first context run?

2016-03-15 Thread Romain Diss
Hi all, I want to write a cld document with some data read on the standard input. I'm using the lua io.read() function but it's launched at every context passes (depending on the case, it is launched 2 to 3 times). -- Minimum not working example local name = io.read() context.startdocument()

Re: [NTG-context] Are nested sections possible?

2016-03-15 Thread Alan BRASLAU
On Tue, 15 Mar 2016 18:10:27 +0100 "Thomas A. Schmitz" wrote: > But don't let anyone > tell you that explicit names are "antiquated." They make TeX or xml > source documents so much more readable! And when you have to retrace > five levels of \startsectionlevels

Re: [NTG-context] Are nested sections possible?

2016-03-15 Thread Thomas A. Schmitz
On 03/15/2016 05:54 PM, Alan BRASLAU wrote: Indeed, Hans, it would be nice to be able to nest sectionlevels within a chapter...section... scheme (which is NOT depreciated, although antiquated). Oooh, shiny! In the TEI community, there are also people who repeat that having s all the way down

Re: [NTG-context] Are nested sections possible?

2016-03-15 Thread Alan BRASLAU
Indeed, Hans, it would be nice to be able to nest sectionlevels within a chapter...section... scheme (which is NOT depreciated, although antiquated). Currently, \startsectionlevel will by default start a chapter. One would like it to start a section if located within a chapter, a subsection, if

[NTG-context] duplex printing and doublesided

2016-03-15 Thread Pablo Rodriguez
Hi Hans, I have the following sample: \setuppagenumbering[alternative=doublesided] \setupinteractionscreen[option=portrait] \starttext No duplex printing. \page[right] In this document. \stoptext I’m afraid that doublesided alternative disables duplex printing. This

Re: [NTG-context] Page number woes

2016-03-15 Thread Pablo Rodriguez
On 03/14/2016 03:43 PM, Mari Voipio wrote: > Greetings all! > > I have a book setup that worked perfectly as long as the inside cover > was only one page long. But then we added information to the inside > cover and had to split the information on two pages. The so called > inside cover works

Re: [NTG-context] Page number woes

2016-03-15 Thread Wolfgang Schuster
Mari Voipio 14. März 2016 um 15:43 Greetings all! I have a book setup that worked perfectly as long as the inside cover was only one page long. But then we added information to the inside cover and had to split the information on two pages. The so called inside cover

Re: [NTG-context] How to store command line arguments in ConTeXt LUA Documents?

2016-03-15 Thread Hans Hagen
On 3/14/2016 10:46 PM, Romain Diss wrote: Is it possible to store context command line arguments into lua variables? [...] What I would like to do is something like this: -- start of the example something = context.getcommandlineargument("ARG1") -- doesn't exist -- make some tests here to check