Re: [NTG-context] image file resolver in Lua?

2018-02-02 Thread Rudolf Bahr
On Fri, Feb 02, 2018 at 04:17:32PM +0100, Henning Hraban Ramm wrote: > Am 2018-02-02 um 12:08 schrieb Rudolf Bahr : > > > On Fri, Feb 02, 2018 at 08:40:08AM +0100, Henning Hraban Ramm wrote: > >> Ahoi, > >> > >> I’m using a Lua function to calculate image sizes, cropping etc. >

Re: [NTG-context] Question about an environment

2018-02-02 Thread Wolfgang Schuster
Fabrice Couvreur 28. Januar 2018 um 22:54 Hello, How to make the first item on the baseline of the numbering as in the first exercise ? You have put the item environment in a box. \defineenumeration [ex] [alternative=serried, width=2em,

Re: [NTG-context] image file resolver in Lua?

2018-02-02 Thread Henning Hraban Ramm
Am 2018-02-02 um 12:08 schrieb Rudolf Bahr : > On Fri, Feb 02, 2018 at 08:40:08AM +0100, Henning Hraban Ramm wrote: >> Ahoi, >> >> I’m using a Lua function to calculate image sizes, cropping etc. >> This snippet: >> >> local filename = figures.current().status.fullname >> local

Re: [NTG-context] text on every page howto

2018-02-02 Thread Otared Kavian
Hi, I think the following can solve your problem, but I don’t know whether it is the optimal way to achieve what you are looking for: in any case you can play with the dimensions used here as an example, in order to find the correct location. Best regards: OK %% begin rotated-text.tex

Re: [NTG-context] Django: using ConTeXT mkiv to output PDF

2018-02-02 Thread Hans Hagen
On 2/2/2018 1:22 PM, kaddour kardio wrote: Still working on the issue, i have a simple (comehow related) question: since the PDF generated is a binary, i can pipe it through the stdout ? no, because in some cases the file is rewritten (for instance the stream length is only known after the

Re: [NTG-context] Django: using ConTeXT mkiv to output PDF

2018-02-02 Thread kaddour kardio
Still working on the issue, i have a simple (comehow related) question: since the PDF generated is a binary, i can pipe it through the stdout ? On Mon, Jan 29, 2018 at 12:33 AM, kaddour kardio wrote: > i think i am one step closer to my goal. > alla i have is to

[NTG-context] text on every page howto

2018-02-02 Thread dr. Hans van der Meer
I would like to put a (rotated) text on every page in the margin. Please, how do I accomplish this? Hans van der Meer ___ If your question is of interest to others as well, please add an entry to the Wiki!

Re: [NTG-context] image file resolver in Lua?

2018-02-02 Thread Rudolf Bahr
On Fri, Feb 02, 2018 at 08:40:08AM +0100, Henning Hraban Ramm wrote: > Ahoi, > > I’m using a Lua function to calculate image sizes, cropping etc. > This snippet: > > local filename = figures.current().status.fullname > local pic = img.scan{filename = filename} > > ... works most of the time,