Re: [NTG-context] Delivering the value of a variable in MetaFun to ConTeXt

2021-06-25 Thread Jeong Dal
Dear Aditya and Hans, Thank you for your suggestion. I add > \startMPcalculation > > \stopMPcalculation and it works. \setupinteraction[state=start] \usemodule[animation] \starttext %\startanimation[menu=yes] %{ \startMPcalculation path p; \stopMPcalculation \dorecurse{\udCount}

Re: [NTG-context] simplifying repeated macro calls in metafun

2021-06-25 Thread Jeong Dal
Dear Aditya, > A while back, I wrote some code to easily generate metapost animations. > > https://adityam.github.io/context-blog/post/metapost-animation/ > > I haven't used it much because I am mostly on linux, and its is a PITA to get > an older version of Adobe Reader to work under wine.

Re: [NTG-context] Proper ligatures in Malayalam

2021-06-25 Thread Ajith R
On Thu, 24 Jun 2021 12:06:17 +0200 Hans Hagen wrote: Hi, Thanks for looking into this. I can wait, thanks, ajith > On 6/24/2021 10:25 AM, Ajith R wrote: > > Hi, > > > > I tried to make a document in Malayalam, an Indian language. > > However, the ligatures don't form as expected. > > > > A

[NTG-context] paragraph standing out of the normal layout comsuming the margin

2021-06-25 Thread Jan U. Hasecke
Dear all, the mwe shows my try to define a paragraph that stand out like this: On right pages xxx xxx xx xx xxx xxx On left pages xxx xxx xx xx xxx xxx My try with setups does not work. The textcolor is restored but not the

Re: [NTG-context] Proper ligatures in Malayalam

2021-06-25 Thread ajithramayyan
Hi Pablo On Thu, 24 Jun 2021 16:17:53 +0200 Pablo Rodriguez wrote: > On 6/24/21 10:25 AM, Ajith R wrote: > > Hi, > > > > I tried to make a document in Malayalam, an Indian language. > > However, the ligatures don't form as expected. [..] > > What setting am I missing? > > Hi Ajith, > > I

Re: [NTG-context] Align in setup header/footer

2021-06-25 Thread Jan U. Hasecke
Am 25.06.21 um 12:36 schrieb denis.ma...@unibe.ch: but you'll perhaps have to put the stuff inside a hbox first \definehbox[pagenumber][12.5mm] \setupfootertexts [] [{\getmarking[chapter]}\hboxpagenumber{\hfill\pagenumber}]

Re: [NTG-context] injectors not working in LMTX?

2021-06-25 Thread Hans Hagen
On 6/24/2021 6:44 PM, Rik Kabel wrote: In March, Pablo wrote: the following sample (from https://pragma-ade.com/general/manuals/workflows-mkiv.pdf#search=resort) doesn’t get right output with LMTX (current latest from 2021.03.25 14:04): \showinjector

Re: [NTG-context] Align in setup header/footer

2021-06-25 Thread Jan U. Hasecke
Hi Denis, Am 25.06.21 um 09:50 schrieb denis.ma...@unibe.ch: Or, for more complex footers/headers you can use: \setupfootertexts [left on odd page] % out [right on odd page] % in [right on even page] % in [left on even page] % out In fact it is something like this

Re: [NTG-context] paragraph standing out of the normal layout comsuming the margin

2021-06-25 Thread Wolfgang Schuster
Jan U. Hasecke schrieb am 25.06.2021 um 13:19: Dear all, the mwe shows my try to define a paragraph that stand out like this: On right pages xxx xxx    xx    xx xxx xxx On left pages   xxx   xxx xx xx   xxx   xxx My try with setups

Re: [NTG-context] Align in setup header/footer

2021-06-25 Thread Wolfgang Schuster
denis.ma...@unibe.ch schrieb am 25.06.2021 um 12:36: but you'll perhaps have to put the stuff inside a hbox first \definehbox[pagenumber][12.5mm] \setupfootertexts [] [{\getmarking[chapter]}\hboxpagenumber{\hfill\pagenumber}]

[NTG-context] Align in setup header/footer

2021-06-25 Thread Jan U. Hasecke
Dear all, while finetuning a layout I would like to change the align in setupfootertext to right align or outer align as it is a doublesided layout. The default is afaics to align to the middle of the two pages. I would like to change this but there is no align key in setupfooter. TIA juh

Re: [NTG-context] Align in setup header/footer

2021-06-25 Thread denis.maier
but you'll perhaps have to put the stuff inside a hbox first \definehbox[pagenumber][12.5mm] \setupfootertexts [] [{\getmarking[chapter]}\hboxpagenumber{\hfill\pagenumber}] [\hboxpagenumber{\pagenumber\hfill}{\getmarking[part]}][] > -Ursprüngliche Nachricht- >

Re: [NTG-context] Align in setup header/footer

2021-06-25 Thread denis.maier
You can use \hfill > -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Jan U. Hasecke > Gesendet: Freitag, 25. Juni 2021 12:23 > An: ntg-context@ntg.nl > Betreff: Re: [NTG-context] Align in setup header/footer > > > Hi Denis, > > Am 25.06.21 um 09:50 schrieb

[NTG-context] First line of larger font paragraph on grid

2021-06-25 Thread denis.maier
Hi, I have some text in a larger font where the first line should be on the grid. Therefore, I've tried to adapt the solution from the wiki: https://wiki.contextgarden.net/Grid_typesetting#Placing_titles_on_the_grid The interesting thing is that the section command indeed places the first line

Re: [NTG-context] Align in setup header/footer

2021-06-25 Thread denis.maier
Addendum: I've probably got confused which parts of the footer are filled with the different arguments, but anyway... You get the idea. > -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von > denis.ma...@unibe.ch > Gesendet: Freitag, 25. Juni 2021 09:50 > An: ntg-context@ntg.nl

Re: [NTG-context] textbackground not working

2021-06-25 Thread Hans Hagen
On 6/25/2021 8:33 AM, Christoph Reller wrote: Hi, Consider the MWE: \definetextbackground[background][   background=color,   backgroundcolor=gray] \starttext \starttextbackground[background] Test \stoptextbackground \stoptext In the latest version 2021-06-24 of ConTeXt LMTX, the

Re: [NTG-context] Align in setup header/footer

2021-06-25 Thread denis.maier
Hi, what do you have in the footer? Page numers? Then you can just use: \setuppagenumbering [alternative=doublesided, location={footer,right}] Or, for more complex footers/headers you can use: \setupfootertexts [left on odd page] % out [right on odd page] % in [right

[NTG-context] textbackground not working

2021-06-25 Thread Christoph Reller
Hi, Consider the MWE: \definetextbackground[background][ background=color, backgroundcolor=gray] \starttext \starttextbackground[background] Test \stoptextbackground \stoptext In the latest version 2021-06-24 of ConTeXt LMTX, the textbackground is not working. Could this be a bug or am I