[NTG-context] special chapter label

2020-09-01 Thread jbf
Am working on a book where most chapters are simply labeled Chapter One, Chapter Two etc., and this has been achieved easily enough with \setuplabeltext[chapter=Chapter ]  (also including \setupheads[conversion=Words] to get One, Two instead of 1 2). But several chapter labels need to have a

Re: [NTG-context] defining font family for several options

2020-09-01 Thread jbf
That's now clear. Thank you. Julian On 2/9/20 9:59 am, Otared Kavian wrote: Hi Julian, What Aditya means is that you define two (or more) font families: one is named mainface as yu have already done, the other named mychapterfont (for instance) where you attribute whatever fonts you wish to

Re: [NTG-context] defining font family for several options

2020-09-01 Thread Otared Kavian
Hi Julian, What Aditya means is that you define two (or more) font families: one is named mainface as yu have already done, the other named mychapterfont (for instance) where you attribute whatever fonts you wish to sans serif and else. Then when you want to use the special font in some of the

Re: [NTG-context] defining font family for several options

2020-09-01 Thread jbf
I presume you mean, {\switchtobodyfont[itcavantgarde]\ss My text} for the case I mentioned? Because at no point in the example I gave of \definefontfamily[mainface] had I defined ss as an AvanteGarde typeface, and that is the heart of my question. Can I somehow define two kinds of sans serif

Re: [NTG-context] defining font family for several options

2020-09-01 Thread Aditya Mahajan
On Tue, 1 Sep 2020, jbf wrote: > Perhaps someone can assist me with the following query. I have a > situation where I need to use more than one sans serif fonts (especially > within complicated chapter heads). I currently have the following: > > \definefontfamily [mainface] [rm] [alegreya] >

Re: [NTG-context] defining font family for several options

2020-09-01 Thread Henning Hraban Ramm
> Am 01.09.2020 um 05:22 schrieb jbf : > > Perhaps someone can assist me with the following query. I have a situation > where I need to use more than one sans serif fonts (especially within > complicated chapter heads). I currently have the following: > > \definefontfamily [mainface] [rm]

Re: [NTG-context] Import a metapost extension

2020-09-01 Thread Wolfgang Schuster
Taco Hoekwater schrieb am 01.09.2020 um 19:12: Hi, On 1 Sep 2020, at 16:46, Hans Hagen wrote: On 9/1/2020 3:04 PM, Fabrice Couvreur wrote: Hi Taco, Thank you for your help. I specify that this extension works perfectly by compiling the following file. A logfile of a failed run would have

Re: [NTG-context] strange behavior with \groupedcommand in recent versions of LMTX

2020-09-01 Thread Hans Hagen
On 9/1/2020 5:47 PM, mf wrote: \unexpanded\def\groupedwordorparagraphright{\dosingleempty\dogroupedwordorparagraphright} \def\dogroupedwordorparagraphright[#1]{\groupedcommand{\setbox\scratchbox\hbox\bgroup} {\egroup\ifdim\wd\scratchbox < \hsize     \wordright{\unhbox\scratchbox}   \else  

Re: [NTG-context] Import a metapost extension

2020-09-01 Thread Taco Hoekwater
Hi, > On 1 Sep 2020, at 16:46, Hans Hagen wrote: > > On 9/1/2020 3:04 PM, Fabrice Couvreur wrote: >> Hi Taco, >> Thank you for your help. I specify that this extension works perfectly by >> compiling the following file. A logfile of a failed run would have been more helpful in trying to

[NTG-context] strange behavior with \groupedcommand in recent versions of LMTX

2020-09-01 Thread mf
Hello list, this is a MWE that worked right in MkIV and in LMTX versions (at least) until April 22nd, 2020. There's a macro, \wordorparagraphright, that takes one argument, makes a hbox with it and measures its width - if its width is less than \hsize, then it calls \wordright - if its

Re: [NTG-context] Error with negative superscript

2020-09-01 Thread Hans Hagen
On 9/1/2020 2:42 PM, Jan Willem Flamma wrote: Dear list, I noticed that negative superscripts are not printed correctly. ConTeXt  ver: 2020.08.31 22:16 LMTX  fmt: 2020.9.1 \starttext 10\high{6} 10\high{-6} \stoptext i swapped an option .. fixed in next version (btw, looks like some issue

Re: [NTG-context] Import a metapost extension

2020-09-01 Thread Hans Hagen
On 9/1/2020 3:04 PM, Fabrice Couvreur wrote: Hi Taco, Thank you for your help. I specify that this extension works perfectly by compiling the following file. input mp-scratch; Scratchversion:=3; beginfig(1);   draw Drapeau;   draw Repeter("4");   draw Avancer("100");   draw

Re: [NTG-context] Import a metapost extension

2020-09-01 Thread Fabrice Couvreur
Hi Taco, Thank you for your help. I specify that this extension works perfectly by compiling the following file. input mp-scratch; Scratchversion:=3; beginfig(1); draw Drapeau; draw Repeter("4"); draw Avancer("100"); draw Tournerd("90"); draw FinBlocRepeter; endfig; end But what

[NTG-context] Error with negative superscript

2020-09-01 Thread Jan Willem Flamma
Dear list, I noticed that negative superscripts are not printed correctly. ConTeXt  ver: 2020.08.31 22:16 LMTX  fmt: 2020.9.1  \starttext 10\high{6} 10\high{-6} \stoptext  ___ If your question is of interest to others

Re: [NTG-context] new upload

2020-09-01 Thread Hans Hagen
On 9/1/2020 2:50 AM, Jairo A. del Rio wrote: Is there an analogue for display math? Could discretionaries be applicable to math formulas when "split=yes" is enabled, for instance? can you give an example of usage Hans -

Re: [NTG-context] Import a metapost extension

2020-09-01 Thread Taco Hoekwater
Hi, I think you need this: \startMPinclusions input mp-scratch; \stopMPinclusions \startMPcode Scratchversion:=3; …. If that also doesn’t work, perhaps attach the log file / terminal output to a new message. Best wishes, Taco > On 1 Sep 2020, at 13:07, Fabrice Couvreur wrote: > >

[NTG-context] Import a metapost extension

2020-09-01 Thread Fabrice Couvreur
Hello Is it possible to import a metapost extension into a file compiled with the lmtx engine ? I tried unsuccessfully with this example : begin test.tex \starttext \startMPcode input mp-scratch; Scratchversion:=3; draw Drapeau; draw Repeter("4"); draw Avancer("50"); draw

[NTG-context] own answer to part of the question re typeface options

2020-09-01 Thread jbf
I have come up with part answers to my two questions. The remaining unanswered question is in the final line. The question I can now answer, after some experimenting, is how to ensure that I can use small caps as part of the Alegreya family when I need to do so. This is how my definitions now

Re: [NTG-context] Verbatim typing and compound breakpoints

2020-09-01 Thread Christoph Reller
On Tue, Sep 1, 2020 at 10:50 AM Christoph Reller wrote: > I am using ConTeXt LMTX 2020.08.28 13:58 with the following M(N)WE: > > \definetype[typeLUA][option=LUA] > \setbreakpoints[compound] > \starttext > \typeLUA{function(argument)} > \stoptext > > Sadly, it does not compile. > I found that

[NTG-context] Verbatim typing and compound breakpoints

2020-09-01 Thread Christoph Reller
Dear List, I am using ConTeXt LMTX 2020.08.28 13:58 with the following M(N)WE: \definetype[typeLUA][option=LUA] \setbreakpoints[compound] \starttext \typeLUA{function(argument)} \stoptext Sadly, it does not compile. The problem seems to be the simultaneous use of compound breakpoints and

[NTG-context] a little more specific on switching fonts

2020-09-01 Thread jbf
Earlier my question was 'what if I want to add an extra sans serif typeface?' (you can see below that I already have one ss - dax, but I need to add ITCAvantGarde as well as part of mainface or in some other way??). *I would like to add to that question, since it is closely connected.* This