Re: [NTG-context] shrink inter-line space
mf via ntg-context schrieb am 17.12.2021 um 16:28: Hello list, here's a MWE to shrink the distance between two lines: \starttext \samplefile{ward}\par \blank \bgroup \baselineskip=0pt \samplefile{ward}\par \egroup \stoptext How can I get lines closer, even overlapping? \starttext \samplefile{ward}\par \blank \start \setupinterlinespace[line=12pt] \samplefile{ward}\par \stop \stoptext Wolfgang ___ 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 webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] shrink inter-line space
Hello list, here's a MWE to shrink the distance between two lines: \starttext \samplefile{ward}\par \blank \bgroup \baselineskip=0pt \samplefile{ward}\par \egroup \stoptext How can I get lines closer, even overlapping? Massi ___ 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 webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] \startcolumnset ... \stopcolumnset fatal error: return code 11
> > Date: Fri, 17 Dec 2021 08:49:55 +0900 > From: Jeong Dal > Subject: [NTG-context] \startcolumnset ... \stopcolumnset fatal error: > return code 11 > > I have used newcolumnset module to make a test sheet. It was made by the > help of experts in the list. > It worked fine a month ago and also worked via TeXlive 2021. > But I got error using the recent version. > Thanks Nicola and John for testing. > > I have listed it before and tried to find out the cause. > I have test the following file in the editors, vscode, vim, atom and even > in the terminal. > It might be an apple binary problem as Hans suspected. > I’d like to know that it is the only problem for Mac users. > > Here is the code and the part of error message: > It was tested in vscode, vim and terminal too. > > I am using Mac OSX, > ConTeXt ver: 2021.12.03 15:20 LMTX fmt: 2021.12.9 int: english/english > > Thank you for reading. > Best regards, > > Dalyoung > I confirm Dalyoung's problem with \columnsets on Mac OSX with current lmtx. The following MnWE worked on July 2021 versions of lmtx, but does not work with December versions (gives Fatal Error 11) \definecolumnset[example][n=2] \starttext \startcolumnset[example] \dorecurse{20}{\input bryson} \stopcolumnset \stoptext system > ConTeXt ver: 2021.12.14 19:19 LMTX fmt: 2021.12.16 int: english/english mtx-context | fatal error: return code: 11 HTH, John ___ 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 webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] LTR footnotes from RTL paragraph
On 12/17/2021 10:02 AM, Denis Maier via ntg-context wrote: -Ursprüngliche Nachricht- Von: ntg-context Im Auftrag von Pablo Rodriguez via ntg-context Gesendet: Donnerstag, 16. Dezember 2021 18:07 An: Denis Maier via ntg-context Cc: Pablo Rodriguez Betreff: Re: [NTG-context] LTR footnotes from RTL paragraph On 12/16/21 12:34 PM, Denis Maier via ntg-context wrote: Ok, this works: \setupnote[footnote][align=l2r] Does that have any drawbacks? Hi Denis, I don’t think it may have (other than forgetting other options, such as hz or hanging). Ah, I alway forget that. By the way, is there a way to append to setting instead of overriding it? sure, but I don't think it needs to be avocated (valid but not intuitive) i'll add this (only a few line addition with no performance hit): \definealign[MyAlign][r2l,flushleft] so that you can do \setupalign[MyAlign] and you can also use it as value to the align parameter as well ... the usual 'context abstraction' so again something to wikify ... Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl - ___ 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 webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Extra shift with ornament
On Fri, Dec 17, 2021 at 10:05 AM Hans Hagen wrote: > > On 12/17/2021 6:40 AM, Mikael Sundqvist via ntg-context wrote: > > Hi, > > > > When using an ornament on a \startframedtext \stoptextframed the frame > > is shifted just a little bit. Can one get rid of that shift? MWE > > below. > > > > /Mikael > > > > \defineornament[MyOrn][ > >corner={right,bottom}, > >location={right,top}, > >alternative=b, > >][ > >frame=off, > >] > > > > \showframe > > > > \starttext > > \startframedtext[width=\textwidth,height=2cm]foo\stopframedtext > > > > \MyOrn{bar}{\startframedtext[width=\textwidth,height=2cm]foo\stopframedtext} > > \stoptext > framedtext is more for text flow so you get some interferences > > \MyOrn >{bar} >{\framed > [offset=overlay, > align=normal, > width=\textwidth, > height=2cm]{foo}} > > works but maybe you want this instead: > > \defineoverlay >[MyOrn] >[\MyOrn > {\framedtextparameter{MyTitle}} > {\novrule width \overlaywidth height \overlayheight}] > > \defineframedtext >[MyText] >[background=MyOrn,width=\textwidth,height=2cm] > > \startMyText[MyTitle={oeps}] > foo > \stopMyText > > Hans > > > - >Hans Hagen | PRAGMA ADE >Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl > - Thanks, Hans! You indeed knew what I wanted. /Mikael ___ 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 webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Extra shift with ornament
On 12/17/2021 6:40 AM, Mikael Sundqvist via ntg-context wrote: Hi, When using an ornament on a \startframedtext \stoptextframed the frame is shifted just a little bit. Can one get rid of that shift? MWE below. /Mikael \defineornament[MyOrn][ corner={right,bottom}, location={right,top}, alternative=b, ][ frame=off, ] \showframe \starttext \startframedtext[width=\textwidth,height=2cm]foo\stopframedtext \MyOrn{bar}{\startframedtext[width=\textwidth,height=2cm]foo\stopframedtext} \stoptext framedtext is more for text flow so you get some interferences \MyOrn {bar} {\framed [offset=overlay, align=normal, width=\textwidth, height=2cm]{foo}} works but maybe you want this instead: \defineoverlay [MyOrn] [\MyOrn {\framedtextparameter{MyTitle}} {\novrule width \overlaywidth height \overlayheight}] \defineframedtext [MyText] [background=MyOrn,width=\textwidth,height=2cm] \startMyText[MyTitle={oeps}] foo \stopMyText Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl - ___ 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 webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] LTR footnotes from RTL paragraph
> -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Pablo > Rodriguez via ntg-context > Gesendet: Donnerstag, 16. Dezember 2021 18:07 > An: Denis Maier via ntg-context > Cc: Pablo Rodriguez > Betreff: Re: [NTG-context] LTR footnotes from RTL paragraph > > On 12/16/21 12:34 PM, Denis Maier via ntg-context wrote: > > Ok, this works: > > > > \setupnote[footnote][align=l2r] > > > > Does that have any drawbacks? > > Hi Denis, > > I don’t think it may have (other than forgetting other options, such as hz or > hanging). Ah, I alway forget that. By the way, is there a way to append to setting instead of overriding it? > > > Is it possible to change the text direction for single notes? > > It doesn’t seem an option for \startfootnote. Yep, unlike other \startstops \startfootnote does not inherit key-values settings from the corresponding \setupX (I mean, it does of course inherit the settings, but you can't set them directly on \startfootnote.) Why is that? Is it due to the fact that note setups take place in two places? (\setupnote vs \setupnotation)? > How about defining a new command? Thanks for pointing me in that direction. That looks good. > > \definedelimitedtext[rtlblockquote][before={\righttoleft}] > \definenote[otnote][footnote] > \setupnote[otnote][align=l2r] > \starttext > \input zapf > \startblockquote > \input zapf\footnote{this starts on the left.} > \stopblockquote > \startrtlblockquote > \input zapf\footnote{this should start on the left.} > \input zapf\otnote{this should start on the left.} > \stoprtlblockquote > \input zapf > \stoptext > > Just in case it might help, > > Pablo > __ > _ > 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 > webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : > https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > __ > _ ___ 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 webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Title for tabulate
On 12/17/2021 8:25 AM, Benjamin Buchmuller wrote: Yes, this works! Thanks! I'll try to add a section on the Wiki. Is there a reason why the second approach works while the other doesn't? expansion etc so just stick to what works Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl - ___ 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 webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___