Re: [NTG-context] Minimal code for exporting custom tags

2020-05-18 Thread Aditya Mahajan
On Mon, 18 May 2020, Aditya Mahajan wrote: Thanks! This also helped me find the documentation in hybrid.pdf. Also epub-mkiv.pdf. Not sure why I didn't think of looking there. How do I pass options so that the export is ... (or some variant of that). I thought that

[NTG-context] LMTX not working in Windows 10

2020-05-18 Thread Jairo A. del Rio
Hi everyone! I've tried installing LMTX on Windows 10 (x64) (I use Ubuntu, but my PC isn't available now). Whatever. When I try to execute context.exe the following appears: ! Parameters must be numbered consecutively. 0 l.214 \def\gobbleoneargument #0

[NTG-context] Problem updating to new version for Win64

2020-05-18 Thread Todd DeVries
Hello, I tried updating my version of LMTX. A file which compiled under the old version (from earlier this year) now errors out. I moved my directory, downloaded a fresh copy of the install scripts and made a fresh installation. What am I missing? Errors below are from my terminal. l.2674

Re: [NTG-context] two superscript versions with Garamond Libre

2020-05-18 Thread Henning Hraban Ramm
> Am 18.05.2020 um 17:18 schrieb Pablo Rodriguez : > > Typeface is available at > https://github.com/dbenjaminmiller/garamond-libre/releases/latest. Thank you for the hint, I’m always looking for interesting fonts. This is a nicely designed classical Garamond with a big glyph repertoire

Re: [NTG-context] two superscript versions with Garamond Libre

2020-05-18 Thread Pablo Rodriguez
On 5/18/20 6:13 PM, Hans Hagen wrote: > On 5/18/2020 5:18 PM, Pablo Rodriguez wrote: >> [...] >> Sorry, but I’m a bit thick now. Does anyone know why characters and OT >> sups provide differently sized glyphs? >> >> I think there might be a bug in the typeface, but I need to know first >> what to

Re: [NTG-context] Minimal code for exporting custom tags

2020-05-18 Thread Aditya Mahajan
On Mon, 18 May 2020, Aditya Mahajan wrote: On Mon, 18 May 2020, Hans Hagen wrote: On 5/18/2020 9:09 AM, Aditya Mahajan wrote: Hi, What is needed to enable export of user defined macros? Consider the following example: What am I missing in order to pass user-defined macros to the

Re: [NTG-context] Styling of included buffers or files

2020-05-18 Thread Wolfgang Schuster
Marco Patzer schrieb am 17.05.2020 um 19:04: On Sun, 17 May 2020 18:16:13 +0200 "Jan U. Hasecke" wrote: I am currently writing a text where I want to include text snippets either by including files or including buffers. What is the best way to style all these included buffers? I know that I

Re: [NTG-context] two superscript versions with Garamond Libre

2020-05-18 Thread Hans Hagen
On 5/18/2020 5:18 PM, Pablo Rodriguez wrote: Dear list, I’m accesing superscript glyphs for Garamond Libre with the OT feature and the character with the following sample: \definefontfeature[sups][script=latn, sups=yes] \definefontfamily[twoface][rm][GaramondLibre]

[NTG-context] two superscript versions with Garamond Libre

2020-05-18 Thread Pablo Rodriguez
Dear list, I’m accesing superscript glyphs for Garamond Libre with the OT feature and the character with the following sample: \definefontfeature[sups][script=latn, sups=yes] \definefontfamily[twoface][rm][GaramondLibre] \definefontfamily[mainface][rm][EB Garamond 12]

Re: [NTG-context] Minimal code for exporting custom tags

2020-05-18 Thread Aditya Mahajan
On Mon, 18 May 2020, Hans Hagen wrote: On 5/18/2020 9:09 AM, Aditya Mahajan wrote: Hi, What is needed to enable export of user defined macros? Consider the following example: What am I missing in order to pass user-defined macros to the exporter? you're probably missing documentation + a

[NTG-context] Looking for a way to use lua to output console/debug messages from MetaPost instead of 'show'

2020-05-18 Thread Gerben Wierda
I often need some debugging info to find out what is going on in my METAPOST code (as I often do not have exact knowledge of what some things do). MetaPost’s ‘show’ command has limited formatting functionality (e.g. I would like to add a number as a string to a show message instead of putting

Re: [NTG-context] Minimal code for exporting custom tags

2020-05-18 Thread Hans Hagen
On 5/18/2020 9:09 AM, Aditya Mahajan wrote: Hi, What is needed to enable export of user defined macros? Consider the following example: ``` \def\startmycommand{\dostarttagged{mycommand}\empty} \def\stopmycommand {\dostoptagged} \setupbackend[export=xml, level=0] \starttext

Re: [NTG-context] Styling of included buffers or files

2020-05-18 Thread Jan U. Hasecke
Am 17.05.20 um 19:04 schrieb Marco Patzer: >> >> Is it somehow possible to apply styles to all buffers that gets >> included via \getbuffer by defining a special getbuffer-style? > > \setupbuffer has before and after keys which can be used. Example: > > \setupbuffer >

[NTG-context] Minimal code for exporting custom tags

2020-05-18 Thread Aditya Mahajan
Hi, What is needed to enable export of user defined macros? Consider the following example: ``` \def\startmycommand{\dostarttagged{mycommand}\empty} \def\stopmycommand {\dostoptagged} \setupbackend[export=xml, level=0] \starttext \startsection[title={Sample document}] \startparagraph