[NTG-context] Repeating binary operators with split multiline formulas
Hi, Since there has been a lot of work done on the math side of things, I wanted to ask if there is an automated way to have binary operators repeated when splitting a formula. From the MKIV math manual there is an option to move the operators into the new line: \setupmathematics[setups=math:spacing:split] \setupformulas[split=yes,align=flushleft] \startformula x\dorecurse{30}{ + #1x^{#1x}} = 10 \stopformula Would it be possible to achieve this via a custom setup like math:spacing:split to get an output like this? 푥 + 1푥1푥 + 2푥2푥 + 3푥3푥 + 4푥4푥 + 5푥5푥 + 6푥6푥 + 7푥7푥 + 8푥8푥 + 9푥9푥 + 10푥10푥 + + 11푥11푥 + 12푥12푥 + 13푥13푥 + 14푥14푥 + 15푥15푥 + 16푥16푥 + 17푥17푥 + 18푥18푥 + 19푥19푥 + + 20푥20푥 + 21푥21푥 + 22푥22푥 + 23푥23푥 + 24푥24푥 + 25푥25푥 + 26푥26푥 + 27푥27푥 + 28푥28푥 + + 29푥29푥 + 30푥30푥 = 10 Adam ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
[NTG-context] A few questions about texmfcnf.lua and mtxrun in TexLive.
I'm currently using TexLive 2021 from Gentoo Linux. TexLive 2022 may behave with slight differences. * How does /usr/share/texmf-local/web2c/texmfcnf.lua override /usr/share/texmf-dist/web2c/texmfcnf.lua? According to mtxrun --configurations, /usr/share/texmf-dist comes later than /usr/share/texmf-local. It seems to me that texmf-dist should override texmf-local. * mtxrun --resolve-path '$SELFAUTOPARENT' resolves selfautoparent to '.' which is the current working directory if selfautodir is /usr. I think mtxrun refuses to accept '/' as selfautoparent and assigns the current working directory to selfautoparent. Is this a bug? ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?
On 8/19/2022 3:18 PM, amano.kenji wrote: Okay. An installation guide for package distributors may appear in the future. But, it's not going to appear anytime soon. For now, I'm going to fix up texmfcnf.lua in Gentoo Linux texlive package for using stable releases of ConTeXt and use install.sh for testing the latest changes. Actually you can find some in followingup-stubs.tex which has been in the context distribution for a while. It also explains the difference between running the two engines. 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 / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] Color property of \setupurl
Max Chernoff via ntg-context schrieb am 20.08.2022 um 08:41: Hi, Could someone clarify me in what kind of context the color of a hyperlink is controlled by the "color" property of \setupurl? This code: \show\setupurl \showthe\everysetupurl produces: > \setupurl=frozen protected macro: [#1]->\ifarguments \or \mult_interfaces_get_parameters \??url [#1]\fi \the \everysetupurl > so \setupurl doesn't appear to do anything at all. I suspect that it is an old MkII relic, and can be safely ignored. The command has an effect as can be seen below, \from is only affected when you omit the fourth argument of \useurl. \useurl [contextwiki] [https://wiki.contextgarden.net/Main_Page] [] [\CONTEXT\ Wiki] %\useurl [ctan] [https://ctan.org/] [] [CTAN] \useurl [ctan] [https://ctan.org/] \starttext \url[contextwiki] \start \setupurl[style=italic] \url[contextwiki] \stop \start \setupurl[color=red] \url[contextwiki] \stop \blank \from[ctan] \start \setupurl[style=italic] \from[ctan] \stop \start \setupurl[color=red] \from[ctan] \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 / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] Color property of \setupurl
Hi, > Could someone clarify me in what kind of context the color of a > hyperlink is controlled by the "color" property of \setupurl? This code: \show\setupurl \showthe\everysetupurl produces: > \setupurl=frozen protected macro: [#1]->\ifarguments \or \mult_interfaces_get_parameters \??url [#1]\fi \the \everysetupurl > so \setupurl doesn't appear to do anything at all. I suspect that it is an old MkII relic, and can be safely ignored. -- Max ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___