Re: [NTG-context] Sum and mathalignment

2021-11-30 Thread Bruce Horrocks via ntg-context
> On 30 Nov 2021, at 19:34, Alexandre Christe via ntg-context > wrote: > > Dear list, > > > > What I've done is to play with mathalignment and \framed. Here is a MWE: > > \starttext > \defineoverlay[midrule][{\blackrule[height=.02cm,width=5.5cm]}] > >

[NTG-context] Font scaling via sa in LMTX

2021-11-30 Thread Rik Kabel via ntg-context
Hello list, It seems that font scaling to a letter is not working consistently in LMTX. This example: \definefont[TitleA][Sans sa a] \definefont[TitleAB][Sansbold sa a] \starttext {\ssa This is ssa \TitleA and this is TitleA}\par {\ssbf This is ssbf \TitleAB and this is

[NTG-context] Sum and mathalignment

2021-11-30 Thread Alexandre Christe via ntg-context
Dear list, [image: image.png] What I've done is to play with mathalignment and \framed. Here is a MWE: \starttext \defineoverlay[midrule][{\blackrule[height=.02cm,width=5.5cm]}] \framed[frame=off,background=midrule,boffset=.65cm]{\startformula

[NTG-context] new upload

2021-11-30 Thread Hans Hagen via ntg-context
Hi, (1) See previous mails on the list (those who requested it have to wikify): - mixed bars (with limitations) - horizontal registers (flushing) (2) As a side effect of reshuffling some code (as well as being complete): - \boxshift 0 = 10pt - hbox shift -10pt{...} These box shifts are what

Re: [NTG-context] double underbars

2021-11-30 Thread Hans Hagen via ntg-context
On 11/30/2021 2:52 PM, Taco Hoekwater via ntg-context wrote: But the problem is that you have to create an “underbardot" that contains both the bar and the dots, to fix the non-nesting problem. It is then quite hard to get that definition to align properly with any enclosing “underbar” (I

Re: [NTG-context] double underbars

2021-11-30 Thread Hans Hagen via ntg-context
On 11/30/2021 2:52 PM, Taco Hoekwater via ntg-context wrote: On 30 Nov 2021, at 14:38, Denis Maier via ntg-context wrote: Thanks, Taco. Good to know. Although it's not what I wanted to hear, of course... I was thinking using mp to draw the combination could be solution, but

[NTG-context] Defining new float types fails in LMTX

2021-11-30 Thread Marco Patzer via ntg-context
Hi! Apologies for spamming this list with my all the floaty stuff. There's an issue with defining new floats in LMTX in combination with bottom placement. The following works in MkIV, but throws an error in LMTX: I'm ignoring this; it doesn't match any \if. mtx-context | fatal error:

Re: [NTG-context] Parameter order in float location matters

2021-11-30 Thread Marco Patzer via ntg-context
On Tue, 30 Nov 2021 14:05:23 +0100 Henning Hraban Ramm via ntg-context wrote: > Maybe you could define your own float type for the cases without > caption? I've done that for other options, too, I guess no-caption-floats get a dedicated float type as well now. It's more robust than relying on

Re: [NTG-context] double underbars

2021-11-30 Thread Aditya Mahajan via ntg-context
On Tue, 30 Nov 2021, Taco Hoekwater via ntg-context wrote: > > > Another question: what do you mean with a dy-shift version? > > Nested bars have a parameter ‘dy’ which controls the vertical shifts needed > to make sure that they do not overlap. Text backgrounds do not have that > option at

Re: [NTG-context] double underbars

2021-11-30 Thread Denis Maier via ntg-context
Ok, so I will see. But, if even you gave up, I should better hope that someone else hears our desperate cries ;) Denis > -Ursprüngliche Nachricht- > Von: Taco Hoekwater > Gesendet: Dienstag, 30. November 2021 14:52 > An: mailing list for ConTeXt users > Cc: Maier, Denis Christian (UB)

Re: [NTG-context] double underbars

2021-11-30 Thread Taco Hoekwater via ntg-context
> On 30 Nov 2021, at 14:38, Denis Maier via ntg-context > wrote: > > Thanks, Taco. Good to know. Although it's not what I wanted to hear, of > course... > > I was thinking using mp to draw the combination could be solution, but > unfortunately I don't know metafun yet. > > If my

Re: [NTG-context] double underbars

2021-11-30 Thread Henning Hraban Ramm via ntg-context
Am 30.11.21 um 14:19 schrieb Taco Hoekwater via ntg-context: I would like to have this type of “complete” bar nesting as well. YES, #metoo As it stands, you can nest \underbars inside \underbars and \overstrikes inside \overstrikes and \overbars inside \overbars, but no other combinations

Re: [NTG-context] double underbars

2021-11-30 Thread Denis Maier via ntg-context
Thanks, Taco. Good to know. Although it's not what I wanted to hear, of course... I was thinking using mp to draw the combination could be solution, but unfortunately I don't know metafun yet. If my understanding of https://source.contextgarden.net/node-rul.mkiv is correct, it should be

Re: [NTG-context] double underbars

2021-11-30 Thread Taco Hoekwater via ntg-context
> On 30 Nov 2021, at 12:06, Denis Maier via ntg-context > wrote: > > Hi, > > for a current project I’ll need different variants of underbars. > > - A normal underbar > - A dotted underbar > - A combination of both > > Is there a way to combine them? I was hoping to have the dotted

[NTG-context] location=outer causes bad page break in LMTX

2021-11-30 Thread Marco Patzer via ntg-context
Hi! In the following example “Lorem ipsum” sits on an otherwise empty page in LMTX. Output is as expected with MkIV. Has the interface changed or may it be a bug in LMTX? \starttext \null\godown [15.5cm] \samplefile{knuth} Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod

Re: [NTG-context] Parameter order in float location matters

2021-11-30 Thread Henning Hraban Ramm via ntg-context
Am 30.11.21 um 13:38 schrieb Marco Patzer via ntg-context: As far as I know there's no way to only turn off captions, so one has to know the default placement value (which might be buried in an environment file) and specify it again together with the “none” option. If you (or someone else)

Re: [NTG-context] Parameter order in float location matters

2021-11-30 Thread Marco Patzer via ntg-context
On Tue, 30 Nov 2021 13:06:00 +0100 Henning Hraban Ramm via ntg-context wrote: > Well, in {bottom,top,here} it’s the order that TeX should try. “location“ sets the location of the caption as well as the position of the entire float. If you want to influence one, you'll also have to specify the

Re: [NTG-context] Parameter order in float location matters

2021-11-30 Thread Henning Hraban Ramm via ntg-context
Am 30.11.21 um 12:16 schrieb Marco Patzer via ntg-context: Hi! Today I discovered that the parameter order in float location matters: \starttext \samplefile{knuth} \startplacefigure [location={top,none}] %% works: float is at the top \externalfigure \stopplacefigure

Re: [NTG-context] Title for tabulate

2021-11-30 Thread Denis Maier via ntg-context
> -Ursprüngliche Nachricht- > Von: Hans Hagen > Gesendet: Sonntag, 28. November 2021 14:26 > An: Maier, Denis Christian (UB) ; ntg- > cont...@ntg.nl > Betreff: Re: AW: [NTG-context] Title for tabulate > > On 11/28/2021 1:22 PM, denis.ma...@unibe.ch wrote: > > > >> -Ursprüngliche

[NTG-context] Parameter order in float location matters

2021-11-30 Thread Marco Patzer via ntg-context
Hi! Today I discovered that the parameter order in float location matters: \starttext \samplefile{knuth} \startplacefigure [location={top,none}] %% works: float is at the top \externalfigure \stopplacefigure \startplacefigure [location={none,top}] %% top is ignored here

[NTG-context] double underbars

2021-11-30 Thread Denis Maier via ntg-context
Hi, for a current project I'll need different variants of underbars. - A normal underbar - A dotted underbar - A combination of both Is there a way to combine them? I was hoping to have the dotted variant above the normal bar. This is not working %%%

[NTG-context] Caption with hanging figure label

2021-11-30 Thread Ben Moon via ntg-context
Hi, I’d like to create a caption with the first line hanging/outdented compared to the lines afterwards, like this: > Figure 1. Here is the line of text >that goes on to a second line. The >first line is hanging. I’ve posted this question here: