[NTG-context] Re: Working with layer sets with Metapost

2024-02-15 Thread Mikael Sundqvist
Hi, not sure I get what you are missing. But you can try setbounds currentpicture to (fullsquare scaled 200) ; in base. And then do \dorecurse{5}{ \startTEXpage[offset=1DK] \useMPgraphic{layerset#1} \stopTEXpage } if that is the looping you are after. /Mikael On Fri, Feb 16, 2024 at 6:54 AM

[NTG-context] Re: Working with layer sets with Metapost

2024-02-15 Thread Emanuel Han via ntg-context
Resp. the solution should be such that each generated PDF page has the same dimension, the same background colour and a page number and the metapost content on each page has the same scaling factor. On Feb. 15 2024, at 11:10 pm, Emanuel Han via ntg-context wrote: > Dear Mikael, > > I actually

[NTG-context] Re: XML processing, unwanted indentation/alignment

2024-02-15 Thread Bruce Horrocks
The extra space is because you have a space between {first_name} and {\xmlatt... on line 9 of xml.tex. > On 15 Feb 2024, at 20:28, Michael Guravage > wrote: > > Greetings, > > I'm typesetting an address book whose addresses are in XML. A typical entry > has this structure: > > > >

[NTG-context] Re: Working with layer sets with Metapost

2024-02-15 Thread Emanuel Han via ntg-context
Dear Mikael, I actually need to keep the \dorecurse mechanism of the mwe (from line 44 on), because I need the "setbounds currentpicture to TheFrame" and also because I need page numbering inside the MPpage, as done with draw textext(decimal(currentime)). So, how can I use the

[NTG-context] Re: Working with layer sets with Metapost

2024-02-15 Thread Emanuel Han via ntg-context
Dear Mikael, thanks a lot! this seems to be the solution! And it looks beatiful enough to me  I'll try to port all my layers to this new method and see if I run into new problems again  Emanuel On Feb. 15 2024, at 8:19 am, Mikael Sundqvist wrote: > Hi > > On Thu, Feb 15, 2024 at 1:03 AM

[NTG-context] Re: XML processing, unwanted indentation/alignment

2024-02-15 Thread Wolfgang Schuster
Michael Guravage schrieb am 15.02.2024 um 21:28: Greetings, I'm typesetting an address book whose addresses are in XML. A typical entry has this structure:                 email="" mobile="" />                   initials and birthday are required, first_name can be left

[NTG-context] XML processing, unwanted indentation/alignment

2024-02-15 Thread Michael Guravage
Greetings, I'm typesetting an address book whose addresses are in XML. A typical entry has this structure: initials and birthday are required, first_name can be left blank and email, mobile and maiden_name are optional. I've written a macro (name) to

[NTG-context] Re: An announcement of my new book.

2024-02-15 Thread Henning Hraban Ramm
Don’t forget the articles from the context journal: https://articles.contextgarden.net/ (2022 is still missing) Esp. Taco’s about MetaPost are very interesting and maybe that’s some low level stuff you’re missing. You don’t need to look at Hans’ contributions – everything that’s still valid

[NTG-context] Re: An announcement of my new book.

2024-02-15 Thread Hans Hagen
On 2/15/2024 8:25 PM, Tommaso Gordini wrote: Thanks everyone for the suggestions on the manuals. I knew the resource reported by Alain and, of course, that of Joaquín, whose translation into Italian I have completed, but not yet refined. However, I didn't know the file reported by Mikael,

[NTG-context] Re: An announcement of my new book.

2024-02-15 Thread Tommaso Gordini
Thanks everyone for the suggestions on the manuals. I knew the resource reported by Alain and, of course, that of Joaquín, whose translation into Italian I have completed, but not yet refined. However, I didn't know the file reported by Mikael, which I found to be an excellent tutorial to get

[NTG-context] /AFRelationship for attachments

2024-02-15 Thread Pablo Rodriguez via ntg-context
Dear list, the new lpdf-wid.lmt contains in lines 302 and 377: local relation = specification.relation or "Unspecified" AFRelationship = pdfconstant(relation), The following sample compiled with current latest: \setupinteraction[state=start] \starttext

[NTG-context] Re: manuals

2024-02-15 Thread Alain Delmotte
One could also have a look at https://www.lesfichesabebert.fr/TeX/TeX.html It is website introducing Context in French. The author was using LaTeX, but he switched to Context for his work maintaining a regular publication. Note: the site is now under reworking, but it is very interesting.

[NTG-context] Installation of linux-32bits

2024-02-15 Thread Alain Delmotte
Hi! I tried to install the linux 32 bits kindly provided by Hans. It went all right up to: mtxrun -generate First I had to change my PATH putting the path to lmtx before TeXlive, because it was always the files from TeXlive which were used. Then I got:

[NTG-context] Re: Seeindex with zie instead of see?

2024-02-15 Thread Gerard Verhaag via ntg-context
Hi Hraban, Thanks for your suggestion! I indeed hadn't included the \mainlangauge[nl] command, I only had the \language[nl] command incorporated. So I missed that; but now it works! Gerard ___ If your question is of

[NTG-context] Re: An announcement of my new book.

2024-02-15 Thread Aditya Mahajan
On Thu, 15 Feb 2024, Mikael Sundqvist wrote: > Hi, > > This small example from BachoTeX 2023 could perhaps be useful for > someone: https://github.com/mpsmath/stepbystep For tutorials, I had played around with using a git repo as a tutorial:

[NTG-context] Re: An announcement of my new book.

2024-02-15 Thread Tommaso Gordini
Thank you, Mikael, excellent tutorial, for me. Ciao Tommaso Il giorno gio 15 feb 2024 alle ore 09:29 Mikael Sundqvist ha scritto: > Hi, > > This small example from BachoTeX 2023 could perhaps be useful for > someone: https://github.com/mpsmath/stepbystep > > /Mikael > > On Thu, Feb 15, 2024

[NTG-context] Re: upload

2024-02-15 Thread Hans Hagen
On 2/15/2024 10:02 AM, luigi scarso wrote: On Wed, 14 Feb 2024 at 13:47, Hans Hagen wrote: Hi, as we're around texlive code freeze time we're also in upload mode - i uploaded a new lmtx - i also added linux and windows 32 bin (as it seems to have users) - we're now using lua 5.5 which has

[NTG-context] Re: upload

2024-02-15 Thread Mikael Sundqvist
Hi, The 5.5 seems to come from https://github.com/lua/lua/blob/master/lua.h /Mikael On Thu, Feb 15, 2024 at 10:04 AM luigi scarso wrote: > > On Wed, 14 Feb 2024 at 13:47, Hans Hagen wrote: > > > > Hi, > > > > as we're around texlive code freeze time we're also in upload mode > > > > - i

[NTG-context] Re: upload

2024-02-15 Thread luigi scarso
On Wed, 14 Feb 2024 at 13:47, Hans Hagen wrote: > > Hi, > > as we're around texlive code freeze time we're also in upload mode > > - i uploaded a new lmtx > - i also added linux and windows 32 bin (as it seems to have users) > > - we're now using lua 5.5 which has one restriction (was already >

[NTG-context] Re: An announcement of my new book.

2024-02-15 Thread Mikael Sundqvist
Hi, This small example from BachoTeX 2023 could perhaps be useful for someone: https://github.com/mpsmath/stepbystep /Mikael On Thu, Feb 15, 2024 at 8:31 AM Jan Ulrich Hasecke via ntg-context wrote: > > Hi, > > Am 14.02.24 um 19:45 schrieb Sir Coleman via ntg-context: > > I wanted to create