Re: [NTG-context] (bug?) wrong interline in \placelist[alternative=d] with Pagella italics

2020-03-15 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 15.03.2020 um 20:32: Hi Hans, here you have the sample: \setuppapersize[A6] \setupinteraction[state=start] \enabledirectives[references.border] \setupbodyfont[pagella] \starttext \placelist[section] [alternative=d,

[NTG-context] (bug?) wrong interline in \placelist[alternative=d] with Pagella italics

2020-03-15 Thread Pablo Rodriguez
Hi Hans, here you have the sample: \setuppapersize[A6] \setupinteraction[state=start] \enabledirectives[references.border] \setupbodyfont[pagella] \starttext \placelist[section] [alternative=d, style=\it] \section{Section 1}

Re: [NTG-context] Including a separate .mp file

2020-03-15 Thread Pablo Rodriguez
On 3/15/20 4:48 PM, Gerben Wierda wrote: > I’d like to load a separate file with definitions. Something that contains > > % file: my definitions.mp > \startMPdefinitions > … my definitions ... > \stopMPdefinitions Hi Gerben, I never use MetaFun, but a simple \input{definitions.mp} seemed to work

Re: [NTG-context] Is it possible to use the macOS Optima font in ConTeXt/METAPOST?

2020-03-15 Thread Pablo Rodriguez
On 3/15/20 4:54 PM, Gerben Wierda wrote: > Subject line says it all… Hi Gerben, this should work: \definefontfamily[mainface][rm][Optima] %~ \definefontfamily[mainface][rm][URW Classico] \setupbodyfont[mainface] \starttext This is Optima. \stoptext I need the commented

Re: [NTG-context] ntg-context Digest, Vol 189, Issue 28

2020-03-15 Thread Wolfgang Schuster
Yves Cloutier schrieb am 15.03.2020 um 16:09: Hello Wolfgang, after a few attempts that didn't work I copy-pasted the example from the wiki: \definetyping[C][option=commands] \startC #include int main(){ return 0; /BTEX{\em unreachedCode;}/ETEX } \stopC This did not work. However

[NTG-context] Is it possible to use the macOS Optima font in ConTeXt/METAPOST?

2020-03-15 Thread Gerben Wierda
Subject line says it all… Thanks in advance, G ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context

[NTG-context] Including a separate .mp file

2020-03-15 Thread Gerben Wierda
I’d like to load a separate file with definitions. Something that contains % file: my definitions.mp \startMPdefinitions … my definitions ... \stopMPdefinitions How do I get this loaded in LuaTeX? How are files found if I want it somewhere in my personal text tree? G

Re: [NTG-context] ntg-context Digest, Vol 189, Issue 28

2020-03-15 Thread Yves Cloutier
smfmjke3lc_-ptxwhw09g+ultk1...@mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > Hi, > With the Coronavirus pandemic, my school will close like all the others. We > chose to work with Microsoft Teams. I know how to file Math exercises > written with ConteXt

[NTG-context] METAPOST vardef returning multiple and non-numeric types as a single answer?

2020-03-15 Thread Gerben Wierda
I would like a vardef macro to return the pair of a picture and a bounding box. I don't want to use the setbound operator, because as soon as I do that, I cannot access the components of the picture anymore with pathpart. I found metapost vardef returning multiple values

Re: [NTG-context] Quizz

2020-03-15 Thread Henning Hraban Ramm
Am 15.03.20 um 10:34 schrieb Fabrice Couvreur: Hi, With the Coronavirus pandemic, my school will close like all the others. We chose to work with Microsoft Teams. I know how to file Math exercises written with ConteXt and export to pdf format. Is it possible with ConteXt to create interactive

[NTG-context] Quizz

2020-03-15 Thread Fabrice Couvreur
Hi, With the Coronavirus pandemic, my school will close like all the others. We chose to work with Microsoft Teams. I know how to file Math exercises written with ConteXt and export to pdf format. Is it possible with ConteXt to create interactive Quizz? Thank you Fabrice