Re: [NTG-context] Variable instance identifiers exhausted

2018-09-21 Thread Hans Hagen
On 9/21/2018 5:04 PM, Fabrice L wrote: Le 19 septembre 2018 à 15:47:07, Fabrice L (fabrice.al...@gmail.com ) a écrit: Le 19 septembre 2018 à 15:28:54, Alan Braslau (braslau.l...@comcast.net (mailto:braslau.l...@comcast.net

Re: [NTG-context] interaction

2018-09-21 Thread Hans Hagen
On 9/21/2018 3:50 PM, Tomas Hala wrote: Tue, Sep 18, 2018 ve 11:26:25PM +0200 Hans Hagen napsal(a): # Hi, # # At the recent meeting Tomas Hala triggered a discussion about # interaction and as a side effect I promissed to update the 'widgets' # manual (mkii) which now will be 'interactions'

Re: [NTG-context] Creating flyers with ConTeXt

2018-09-21 Thread Jan U. Hasecke
On 21.09.18 16:56, Marco Patzer wrote: > A while ago I made a corporate flyer with context using the > TRYPTICHON method. Printing required 3mm bleed. Thanks for this hint. I would have asked this later I am sure because I think there will be bleeding images. juh

Re: [NTG-context] Variable instance identifiers exhausted

2018-09-21 Thread Fabrice L
Le 19 septembre 2018 à 15:47:07, Fabrice L (fabrice.al...@gmail.com) a écrit: Le 19 septembre 2018 à 15:28:54, Alan Braslau (braslau.l...@comcast.net (mailto:braslau.l...@comcast.net)) a écrit: > On Tue, 18 Sep 2018 19:21:31 -0700 > Fabrice L wrote: > > > The problem is that the process take

Re: [NTG-context] Creating flyers with ConTeXt

2018-09-21 Thread Marco Patzer
On Fri, 21 Sep 2018 15:27:02 +0200 "Jan U. Hasecke" wrote: > consulting the wiki I found > http://context.aanhet.net/svn/contextman/context-reference/en/co-pagedesign.pdf > and the command \setuparranging [TRYPTICHON]. So I think that I should > be able to make a pdf for a flyer and print it

Re: [NTG-context] interaction

2018-09-21 Thread Henning Hraban Ramm
Thank you. I need to write up what didn’t work for me... E.g. radiobuttons with custom symbols Greetlings, Hraban --- https://www.fiee.net http://wiki.contextgarden.net https://www.dreiviertelhaus.de GPG Key ID 1C9B22FD Am 2018-09-18 um 23:26 schrieb Hans Hagen : > Hi, > > At the recent

Re: [NTG-context] Creating flyers with ConTeXt

2018-09-21 Thread Wolfgang Schuster
Jan U. Hasecke schrieb am 21.09.18 um 16:03: Thanks a lot. This is really straight forward. Embarrasing. ;-) You should also read the following thread where the goal was to optimize the size of the inner pages to make folding easier.

Re: [NTG-context] Creating flyers with ConTeXt

2018-09-21 Thread Jan U. Hasecke
Thanks a lot. This is really straight forward. Embarrasing. ;-) On 21.09.18 15:48, Wolfgang Schuster wrote: > \definepapersize [A4/3] [width=99mm,height=210mm] > > \setuppapersize [A4/3] [A4,landscape] One question: is "A4/3" just a marker or does it include calculation? juh

Re: [NTG-context] Creating flyers with ConTeXt

2018-09-21 Thread Brian Ballsun-Stanton
I use 3 steps to make: https://www.fedarch.org/resources/introPamphlet.pdf Step 1, I lay out each individual page in a document. Step 2. I make the cover in its own document. (I confess I don't remember why I chose to do this) Step 3. And then in a different document, I perform imposition to map

Re: [NTG-context] wrapup

2018-09-21 Thread Procházka Lukáš Ing .
Hello, just a note: whilst command line option "--result=..." must point to the dir where the processed file is located, "os.rename()" allows to move files across dirs (at least on Win7), so this might be a way to evade "--result" limitation. Best regards, Lukas On Fri, 21 Sep 2018

Re: [NTG-context] interaction

2018-09-21 Thread Tomas Hala
Tue, Sep 18, 2018 ve 11:26:25PM +0200 Hans Hagen napsal(a): # Hi, # # At the recent meeting Tomas Hala triggered a discussion about # interaction and as a side effect I promissed to update the 'widgets' # manual (mkii) which now will be 'interactions' (mkiv). In the # process I'll check and clean

Re: [NTG-context] Creating flyers with ConTeXt

2018-09-21 Thread Wolfgang Schuster
\definepapersize [A4/3] [width=99mm,height=210mm] \setuppapersize [A4/3] [A4,landscape] \setuparranging [TRYPTICHON] \setupbodyfont [10pt] \starttext \dorecurse{12}{\samplefile{knuth}} \stoptext Wolfgang Jan U. Hasecke schrieb am 21.09.18 um 15:27: Hi all, consulting the wiki I found

[NTG-context] Creating flyers with ConTeXt

2018-09-21 Thread Jan U. Hasecke
Hi all, consulting the wiki I found http://context.aanhet.net/svn/contextman/context-reference/en/co-pagedesign.pdf and the command \setuparranging [TRYPTICHON]. So I think that I should be able to make a pdf for a flyer and print it with an online printer. But as I am still very new to ConTeXt,

Re: [NTG-context] how to set the name of outputfile using a value defined in the source

2018-09-21 Thread Procházka Lukáš Ing .
Hello, On Fri, 21 Sep 2018 10:30:34 +0200, Henri Menke wrote: You could still do it, but it would require two passes. In the first pass to identify that you want to change the output file and write the new name to an auxiliary file. In the second file, you use your automation script to read

[NTG-context] wrapup

2018-09-21 Thread Hans Hagen
I'll add documentdata.variable so that one can do this: \setupdocument [id=foo] \startluacode luatex.wrapup(function() local id = documentdata.variable("id") if id and id ~= "" then local oldname = file.addsuffix(environment.jobname,"pdf") local

Re: [NTG-context] how to set the name of outputfile using a value defined in the source

2018-09-21 Thread luigi scarso
On Fri, Sep 21, 2018 at 12:44 PM Hans Hagen wrote: > On 9/21/2018 12:05 PM, luigi scarso wrote: > > > > > > On Fri, Sep 21, 2018 at 11:06 AM Taco Hoekwater > > wrote: > > > > Hi, > > > > > On 21 Sep 2018, at 10:59, luigi scarso >

Re: [NTG-context] how to set the name of outputfile using a value defined in the source

2018-09-21 Thread Hans Hagen
On 9/21/2018 12:05 PM, luigi scarso wrote: On Fri, Sep 21, 2018 at 11:06 AM Taco Hoekwater > wrote: Hi, > On 21 Sep 2018, at 10:59, luigi scarso mailto:luigi.sca...@gmail.com>> wrote: > > > % start demo >

Re: [NTG-context] how to set the name of outputfile using a value defined in the source

2018-09-21 Thread Hans Hagen
On 9/21/2018 10:44 AM, Taco Hoekwater wrote: On 21 Sep 2018, at 10:30, Henri Menke wrote: On 21/09/18 20:09, J Huisman wrote: Hi all, I'm getting back to using ConTeXt after a couple of years, so I might be missing something obvious... I would like to add an I.D. code to the name of my

Re: [NTG-context] how to set the name of outputfile using a value defined in the source

2018-09-21 Thread luigi scarso
On Fri, Sep 21, 2018 at 11:06 AM Taco Hoekwater wrote: > Hi, > > > On 21 Sep 2018, at 10:59, luigi scarso wrote: > > > > > > % start demo > > \enabledirectives[system.callbacks.permitoverloads] > > % previous line allows redefinition of ‘wrapup_run’ > > iirc , > > this should be avoided …. > >

Re: [NTG-context] Using the source han sans fonts fails

2018-09-21 Thread Hans Hagen
On 9/21/2018 9:01 AM, Mojca Miklavec wrote: On Wed, 19 Sep 2018 at 17:47, Ulrike Fischer wrote: Am Wed, 19 Sep 2018 13:50:37 +0200 schrieb Ulrike Fischer: I guess I should reinstall context here, probably it is too old and never got the 64bit binaries. I did reinstall context and now a

Re: [NTG-context] how to set the name of outputfile using a value defined in the source

2018-09-21 Thread Taco Hoekwater
Hi, > On 21 Sep 2018, at 10:59, luigi scarso wrote: > > > % start demo > \enabledirectives[system.callbacks.permitoverloads] > % previous line allows redefinition of ‘wrapup_run’ > iirc , > this should be avoided …. Sure, but I find wrapup_run extremely useful, and I know of no other way to

Re: [NTG-context] how to set the name of outputfile using a value defined in the source

2018-09-21 Thread Taco Hoekwater
Somewhat related: I would like to mention that you can get at nearly anything mentioned on the "context" command line from within your document, by using \getdocumentargument and \doifdocumentargument . https://wiki.contextgarden.net/Command/getdocumentargument On the lua side, these

Re: [NTG-context] how to set the name of outputfile using a value defined in the source

2018-09-21 Thread luigi scarso
On Fri, Sep 21, 2018 at 10:44 AM Taco Hoekwater wrote: > > > > On 21 Sep 2018, at 10:30, Henri Menke wrote: > > > > On 21/09/18 20:09, J Huisman wrote: > >> Hi all, > >> > >> I'm getting back to using ConTeXt after a couple of years, so I might > >> be missing something obvious... > >> > >> I

Re: [NTG-context] how to set the name of outputfile using a value defined in the source

2018-09-21 Thread J Huisman
Thank you, Taco, that is exactly what I need! Jelle On Fri, Sep 21, 2018 at 10:44 AM Taco Hoekwater wrote: > > > > > On 21 Sep 2018, at 10:30, Henri Menke wrote: > > > > On 21/09/18 20:09, J Huisman wrote: > >> Hi all, > >> > >> I'm getting back to using ConTeXt after a couple of years, so I

Re: [NTG-context] how to set the name of outputfile using a value defined in the source

2018-09-21 Thread Taco Hoekwater
> On 21 Sep 2018, at 10:30, Henri Menke wrote: > > On 21/09/18 20:09, J Huisman wrote: >> Hi all, >> >> I'm getting back to using ConTeXt after a couple of years, so I might >> be missing something obvious... >> >> I would like to add an I.D. code to the name of my outputfile, but >> since

Re: [NTG-context] how to set the name of outputfile using a value defined in the source

2018-09-21 Thread Henri Menke
On 21/09/18 20:09, J Huisman wrote: > Hi all, > > I'm getting back to using ConTeXt after a couple of years, so I might > be missing something obvious... > > I would like to add an I.D. code to the name of my outputfile, but > since this will be used in an automated environment I would like to >

[NTG-context] how to set the name of outputfile using a value defined in the source

2018-09-21 Thread J Huisman
Hi all, I'm getting back to using ConTeXt after a couple of years, so I might be missing something obvious... I would like to add an I.D. code to the name of my outputfile, but since this will be used in an automated environment I would like to load the ID-code from the source file. MWE:

Re: [NTG-context] Using the source han sans fonts fails

2018-09-21 Thread Mojca Miklavec
On Wed, 19 Sep 2018 at 17:47, Ulrike Fischer wrote: > Am Wed, 19 Sep 2018 13:50:37 +0200 schrieb Ulrike Fischer: > > > I guess I should reinstall context here, probably it is too old and > > never got the 64bit binaries. > > I did reinstall context and now a 64bit luatex is used on my pc too > and