Re: [NTG-context] xmlsetentity on the fly?

2023-04-19 Thread Hans van der Meer via ntg-context
that part of the input? I examined files lxml-ent.lua and lxml-tex.lua but could not find how to this. dr. Hans van der Meer > On 17 Apr 2023, at 18:11, Hans van der Meer via ntg-context > wrote: > > I tried > \directlua{xml.registerentity("DATE","NEWDATE")} &g

Re: [NTG-context] Kaktovik numerals

2023-04-18 Thread Hans Hagen via ntg-context
=Hans Hagen, %D date=\currentdate, %D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}] %C %C This module is part of the \CONTEXT\ macro||package and is %C therefore copyrighted by \PRAGMA. See mreadme.pdf for %C details. %D Just a quick hack for Hraban (after a

Re: [NTG-context] Software upgrade for ntg and contextgarden server 6 April

2023-04-16 Thread Carlos via ntg-context
lved does > it well; more fun too. I agree with you there. But who said anything about messages, chats, and the interactive social gitclub as gitlab, github and its ilk have suddenly become part of > > For some other projects git(hub|lab) is a communication method, basically a

Re: [NTG-context] Using project-local fonts

2023-04-13 Thread Rik Kabel via ntg-context
, it has to be self-contained. \definefontfamily [ebgaramond] [serif] [ebgaramond] [features=eb-garamond-normal] Apologies, my fault, I forgot a part of my email. I don't want the c-t and s-t ligatures (supposed to be in `hlig`). But I do want the T-h ligature which is supposed to be in `dlig`. So

Re: [NTG-context] Using project-local fonts

2023-04-13 Thread Hans Hagen via ntg-context
, it has to be self-contained. \definefontfamily [ebgaramond] [serif] [ebgaramond] [features=eb-garamond-normal] Apologies, my fault, I forgot a part of my email. I don't want the c-t and s-t ligatures (supposed to be in `hlig`). But I do want the T-h ligature which is supposed to be in `dlig`. So

Re: [NTG-context] Using project-local fonts

2023-04-13 Thread Kalouguine Andre via ntg-context
ramond] [serif] [ebgaramond] > [features=eb-garamond-normal] Apologies, my fault, I forgot a part of my email. I don't want the c-t and s-t ligatures (supposed to be in `hlig`). But I do want the T-h ligature which is supposed to be in `dlig`. So as far as I understand, TeXlive comes with an ol

Re: [NTG-context] /usr/bin/env texlua no such file or directory; ~/context/tex is not a valid TEXROOT path; no file plain.tex

2023-04-11 Thread Carlos via ntg-context
tinfo/ntg-context > webpage : https://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : https://contextgarden.net > ___ > -- As soon as we started programming, we found to our surprise that it wasn't as ea

Re: [NTG-context] /usr/bin/env texlua no such file or directory; ~/context/tex is not a valid TEXROOT path; no file plain.tex

2023-04-11 Thread Hans Hagen via ntg-context
h the way a tex installation works (with allits resources) If I were to invoke an mtxrun --script cache --erase Of course and going solely by the above the part whenever it says resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/home/ce/context/bin/texmf/we

Re: [NTG-context] /usr/bin/env texlua no such file or directory; ~/context/tex is not a valid TEXROOT path; no file plain.tex

2023-04-10 Thread Carlos via ntg-context
resolving | variable 'SELFAUTOLOC' > > set to '/home/ce/context/bin' resolvers | resolving | variable > > This appears to be the wrong mtxrun binary. You should include the PATH > variable listed as part of the installation. It should point to > `/home/ce/context/texmf-linux

Re: [NTG-context] /usr/bin/env texlua no such file or directory; ~/context/tex is not a valid TEXROOT path; no file plain.tex

2023-04-10 Thread Carlos via ntg-context
resolving | variable 'SELFAUTOLOC' > > set to '/home/ce/context/bin' resolvers | resolving | variable > > This appears to be the wrong mtxrun binary. You should include the PATH > variable listed as part of the installation. It should point to > `/home/ce/context/texmf-linux-64

Re: [NTG-context] /usr/bin/env texlua no such file or directory; ~/context/tex is not a valid TEXROOT path; no file plain.tex

2023-04-10 Thread Carlos via ntg-context
urns: > > > > mtxrun --generate resolvers | resolving | variable 'SELFAUTOLOC' > > set to '/home/ce/context/bin' resolvers | resolving | variable > > This appears to be the wrong mtxrun binary. You should include the PATH > variable listed as part of the installation.

Re: [NTG-context] /usr/bin/env texlua no such file or directory; ~/context/tex is not a valid TEXROOT path; no file plain.tex

2023-04-10 Thread Aditya Mahajan via ntg-context
txrun --generate again > > It returns: > > mtxrun --generate resolvers | resolving | variable 'SELFAUTOLOC' > set to '/home/ce/context/bin' resolvers | resolving | variable This appears to be the wrong mtxrun binary. You should include the PATH variable listed as part of the

[NTG-context] /usr/bin/env texlua no such file or directory; ~/context/tex is not a valid TEXROOT path; no file plain.tex

2023-04-10 Thread Carlos via ntg-context
'cache.lua' using hash 'lua::cache.lua' mtxrun | unknown script 'cache.lua' or 'mtx-cache.lua' Of course and going solely by the above the part whenever it says resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/home/ce/context/bin/texmf/web2c' from specification

[NTG-context] Trial to use LibreOffice Calc (+ python) to build ConTeXt customized environnements files

2023-04-10 Thread Garulfo via ntg-context
leur15] \setupcolors [ textcolor=CouleurPrincipale, ] \setuphead [part] [ style=\bfd, textcolor=Couleur1, numbercolor=CouleurContraste1, bodypartlabel=Part, placehead=yes, page=left, header=high, align=flushleft, alternative=middle, before={\strut\godown[

Re: [NTG-context] PDF 2.0 standard documents now free

2023-04-09 Thread Ulrike Fischer via ntg-context
ically have to be buyed too, e.g. amendment 1 (which is part of the bundled offered by pdfa) normally costs 17 CHF. Personally I think that the PDF Association made a very good job here (they worked hard on it), I'm quite grateful for it and I hope that there will more of these offers (personally

[NTG-context] Problems with building texlive/context from its sources

2023-04-03 Thread Jakob Jakobson via ntg-context
. The current build of texlive works well with pdflatex/lualatex/xelatex but with the context part I have some problems. Therefore, I would appreciate any help with the following questions: 1) Is context included in the texlive-20230313* tarballs or do I have to download it in an extra step? 2) If context

[NTG-context] Chinese labels in lang-txt.lua

2023-04-02 Thread 李延瑞
н ", ["ca"]="Gràfica ", -["cn"]="插图", +["cn"]="插图 ", ["cs"]="Graf ", ["da"]="Grafik ", ["de"]="Grafik ", @@ -2058,7 +2058,7 @@ ["be"]="

Re: [NTG-context] update / punctuation / math

2023-04-01 Thread Alan Braslau via ntg-context
e, xcharter, > erewhon, kp, euler) and the last few weeks more extensive support for > extensibles was added and concrete became quite nice too, so these > fonts make a nice benchmark. As they are part of the lmtx install and > we made sure to support them. > > In the proc

Re: [NTG-context] update / punctuation / math

2023-04-01 Thread Willi Egger via ntg-context
les was > added and concrete became quite nice too, so these fonts make a nice > benchmark. As they are part of the lmtx install and we made sure to support > them. > > In the process we adapted our 2023 roadmap of which part is attached (we > included an example end then

[NTG-context] update / punctuation / math

2023-04-01 Thread Hans Hagen via ntg-context
. Daniel Flipo maintains a few math fonts (like concrete, xcharter, erewhon, kp, euler) and the last few weeks more extensive support for extensibles was added and concrete became quite nice too, so these fonts make a nice benchmark. As they are part of the lmtx install and we made sure to support

Re: [NTG-context] registered function call [1160]:...live/2023/texmf-dist/tex/context/base/mkiv/l-sandbox.lua:87: cannot open /.: Permission denied - Alpine Linux

2023-03-31 Thread Carlos via ntg-context
cida so better quit with an error than > kicking in some font; actually cmr math fonts have been obsoleted for way > over a decade by latin modern math fonts in 32 bit font engines I was actually thinking to ask you about that, and by falling back to cmr math font that perhaps would expedite loadi

Re: [NTG-context] registered function call [1160]:...live/2023/texmf-dist/tex/context/base/mkiv/l-sandbox.lua:87: cannot open /.: Permission denied - Alpine Linux

2023-03-31 Thread Hans Hagen via ntg-context
h fonts have been obsoleted for way over a decade by latin modern math fonts in 32 bit font engines There was not even a personalized touch in the output. That message sounds like one of these new GPT-chat features. Dry. When I read that «Proceed, and I'll try to forget it…» part the first thin

Re: [NTG-context] registered function call [1160]:...live/2023/texmf-dist/tex/context/base/mkiv/l-sandbox.lua:87: cannot open /.: Permission denied - Alpine Linux

2023-03-31 Thread Carlos via ntg-context
\dostarttagged \t!formulacontent \empty \dotagregisterformula \c_strc_formulas_n \csname \e!stop \formulaparameter \c!alternative \v!formula \endcsname Okay. So I tried another file. This time around with only \setupbodyfont[lucida] \starttext $ test $ \stoptext and then the output message was «Some

Re: [NTG-context] Numbering of figures after defining a new float

2023-03-31 Thread Willi Egger via ntg-context
igure] [partnumber=no] > > ... > > \placelistoffigures [criterium=part] > > > > Alan > > > On Thu, 30 Mar 2023 17:09:15 +0200 > Willi Egger via ntg-context wrote: > >> Hello everybody, >> >> >> I am still working on the previously mentioned project, consistin

Re: [NTG-context] Numbering of figures after defining a new float

2023-03-30 Thread Alan Braslau via ntg-context
Have you tried: \setuplist [figure] [partnumber=no] ... \placelistoffigures [criterium=part] Alan On Thu, 30 Mar 2023 17:09:15 +0200 Willi Egger via ntg-context wrote: > Hello everybody, > > > I am still working on the previously mentioned project, consisting > out of

Re: [NTG-context] Numbering of figures after defining a new float

2023-03-30 Thread Wolfgang Schuster via ntg-context
Willi Egger via ntg-context schrieb am 30.03.2023 um 17:09: Hello everybody, I am still working on the previously mentioned project, consisting out of different parts. There are about 25 chapters in each part and most of the chapters contain figures. When using the predefined figure

Re: [NTG-context] Numbering of figures after defining a new float

2023-03-30 Thread Willi Egger via ntg-context
. Kind regards Willi > On 30 Mar 2023, at 18:01, Henning Hraban Ramm via ntg-context > wrote: > > Am 30.03.23 um 17:09 schrieb Willi Egger via ntg-context: >> I am still working on the previously mentioned project, consisting out of >> different parts. There are about

Re: [NTG-context] Numbering of figures after defining a new float

2023-03-30 Thread Henning Hraban Ramm via ntg-context
Am 30.03.23 um 17:09 schrieb Willi Egger via ntg-context: I am still working on the previously mentioned project, consisting out of different parts. There are about 25 chapters in each part and most of the chapters contain figures. When using the predefined figure environment, then all

[NTG-context] Numbering of figures after defining a new float

2023-03-30 Thread Willi Egger via ntg-context
Hello everybody, I am still working on the previously mentioned project, consisting out of different parts. There are about 25 chapters in each part and most of the chapters contain figures. When using the predefined figure environment, then all figures in the figure-list are placed correctly

[NTG-context] How to prefix the list of figures with part number?

2023-03-25 Thread Willi Egger via ntg-context
Hello again, My project has different parts. Each part contains a whole list of figures. At the beginning of the book I would like to place a list of all figures. Hoever they should be prefixed with the part number. I can not figure out how to achieve this. May be someone can hint me… Cheers

[NTG-context] natural table oddities

2023-03-14 Thread Henning Hraban Ramm via ntg-context
Working on the documentation for “natural tables” I stumbled upon a few oddities/problems. I’d like to know if there are misunderstandings on my part or if the behavior is intentional. BTW enattab.pdf is missing in the LMTX distribution. ## Options * before/after/inbetween values don’t

Re: [NTG-context] Did dotless i disappear ?

2023-03-13 Thread Otared Kavian via ntg-context
>> manually (for instance in French « connaître » was typed as « conn\^{\i}tre >> »). >> Here is an example. >> \starttext >> Bío Bío (works fine…) >> B\'{\i}o B\'{\i}o % this gives an error >> \stoptext > I'll add checking for the \i too. It's all pa

Re: [NTG-context] Did dotless i disappear ?

2023-03-13 Thread Hans Hagen via ntg-context
(for instance in French « connaître » was typed as « conn\^{\i}tre »). Here is an example. \starttext Bío Bío (works fine…) B\'{\i}o B\'{\i}o % this gives an error \stoptext I'll add checking for the \i too. It's all part of a parser. Think \chr {e acute} \chr {i circumflex} \^{i} \^i \^{\i

Re: [NTG-context] regular online meet-up

2023-03-07 Thread Henning Hraban Ramm via ntg-context
Reminder: This is in a few hours. For my part I’d like to know what was in the latest updates and maybe discuss the page breaking in floats (possible with tables, how about text background boxes – didn’t try yet, just curious). Hraban Am 04.03.23 um 18:42 schrieb Henning Hraban Ramm via ntg

[NTG-context] Typeset multiple pictures not in a strict matrix (\startfloatcombination)

2023-03-07 Thread Gerion Entrup via ntg-context
advice? Gerion signature.asc Description: This is a digitally signed message part. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https

Re: [NTG-context] Description together with itemize, luametatex

2023-03-06 Thread Gerion Entrup via ntg-context
gt; \stopitemize > > > > \stoptext > > Use \startdesc ... \stopdesc > > \definedescription[desc][headstyle=bold] > > \starttext > Foo > > \startdesc[title={Some title}] > Some text > \startitemize > \item Som

[NTG-context] Visual highlighted text with title, mix of enumeration and framedtext

2023-03-06 Thread Gerion Entrup via ntg-context
st, Gerion signature.asc Description: This is a digitally signed message part. ___ 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.

[NTG-context] Description together with itemize, luametatex

2023-03-06 Thread Gerion Entrup via ntg-context
ize 8 >> \item Some item 9 \stopitemize 10 11 \stoptext 12 mtx-context | fatal error: return code: 1 ``` Best, Gerion signature.asc Description: This is a digitally signed message part. ___ If

Re: [NTG-context] Float control

2023-03-01 Thread Max Chernoff via ntg-context
29 https://texdoc.org/serve/texbytopic/0#chapter.29 Then there's also Low Level TeX which documents the changes in LMTX https://www.pragma-ade.com/general/manuals/lowlevel-inserts.pdf Inserts are (in my opinion) the most complicated part of TeX. Even at an engine level, they aren't tha

[NTG-context] [m-database] How to properly add module arguments?

2023-02-25 Thread Paul Mazaitis via ntg-context
doesn't work out, I'll go back it, but I figure I'll focus on this solution for now.) Looking at the module sources, I can implement the functionality I need in the Lua part of the module, but: I seem to only be able to bodge in additional arguments for the commands in the module. On first try

Re: [NTG-context] How to add data from another PDF in index?

2023-02-24 Thread Alan Braslau via ntg-context
, \placelist [part,chapter,section,subsection] [criterium=product,reference=VolumeII] will include the TOC of VolumeII in product VolumeI. Once we have this figured-out, I will have to create a wiki page. Alan On Fri, 24 Feb 2023 05:43:01 + (UTC) Joel via ntg-context wrote

Re: [NTG-context] How to prevent \subject from being the last line

2023-02-20 Thread Sylvain Hubert via ntg-context
corresponding pages, > > which looks awkward. How can one flush those last-line titles to the > > next pages? > > Hi Sylvain, > > the hard part for the rest of us is figuring out what you may have on > your screen. > > \setuphead[subject][before={\blank[preference]}

Re: [NTG-context] How to prevent \subject from being the last line

2023-02-19 Thread Pablo Rodriguez via ntg-context
s to the > next pages? Hi Sylvain, the hard part for the rest of us is figuring out what you may have on your screen. \setuphead[subject][before={\blank[preference]}] might help. Another approach would be \setuphead[subject][after={\blank[samepage, line]}]. I mean, either you set a preference

[NTG-context] setupregister/placeregister

2023-02-10 Thread Alan Braslau via ntg-context
Hello, The criterium key in setupregister (so placeregister, placeindex, ...) takes the following values: criterium local text current previous all section all: places all entries of the document section: (part, chapter, section, ...) places entries associated with that structure element

Re: [NTG-context] autospacing and colonequals (was Lucida-1.901 (2023-01-21) available)

2023-01-26 Thread Otared Kavian via ntg-context
\colon >> \stopformula >> \stoptext > There is a (experimental as we played with it and then got distracted) > feature that makes some symbols adapt to spacing in the input. > > \starttext > >\setupmathematics[autospacing=yes] > >\setupmathematics[coll

Re: [NTG-context] Lucida-1.901 (2023-01-21) available

2023-01-26 Thread Hans Hagen via ntg-context
{A := B}\par \im{A\colonequals B} and \im{A {\colonequals} B}\par \stoptext the second line is not yet ok as collapsing the := (old feature) comes at the wrong time when we do autospacing (something Mikasl and I now need to discuss and test) This autospacing is part of some larger effort, for

[NTG-context] Printing mailing list labels

2023-01-25 Thread Bruce Horrocks via ntg-context
) and uploaded them here. <https://context-address-labels.sourceforge.io/> Features: - full control over label content (can even differ from one label to the next if necessary) - easily use up a part-used sheet of labels to avoid waste - read address data from a CSV file - easily support dif

Re: [NTG-context] question about multimedia renderings

2023-01-16 Thread Pablo Rodriguez via ntg-context
ray() local f = pdfarray() for tag, reference in sortedhash(filestreams) do if not reference then report_attachment("unreferenced file, tag %a",tag) elseif referenced[tag] == "hidden" or referenced[tag] == "for

Re: [NTG-context] question about multimedia renderings

2023-01-15 Thread Michal Vlasák via ntg-context
jreferences.collected', tobesavedobjrefs, initializer) local function flushembeddedfiles() if enabled and next(filestreams) then local e = pdfarray() local f = pdfarray() for tag, reference in sortedhash(filestreams) do if not reference then

Re: [NTG-context] Ajami script

2023-01-01 Thread George N. White III via ntg-context
t; language. Probably just pop-sci sensationalism coupled with some rather > severe mis-/non-understanding on the part of the article author. > I grew up in Northern New Mexico and now live in Canada, so know that "educational" efforts which suppressed non-European languages and w

Re: [NTG-context] Ajami script

2023-01-01 Thread BPJ via ntg-context
-understanding on the part of the article author. Den sön 1 jan. 2023 14:30Alain Delmotte via ntg-context skrev: > Le 1/01/2023 à 11:03, Henning Hraban Ramm via ntg-context a > écrit : > > Am 01.01.23 um 10:21 schrieb Hans Hagen via ntg-context: > >> On 12/31/2022 3:06 PM, He

Re: [NTG-context] numbering questions

2022-12-31 Thread Henning Hraban Ramm via ntg-context
of “part.chapter.section”? I thought sectionsegments=section:chapter would work, but it doesn’t. * How can I format the segments, e.g. to get two or three digits each (leading zeros)? The easy part is to have the leading zeros, but I cannot get it working with numbercommand or deepnumbercommand

Re: [NTG-context] numbering questions

2022-12-31 Thread Pablo Rodriguez via ntg-context
tionsegments=section:chapter would work, but it doesn’t. > * How can I format the segments, e.g. to get two or three digits each > (leading zeros)? The easy part is to have the leading zeros, but I cannot get it working with numbercommand or deepnumbercommand. \startluacode function documen

Re: [NTG-context] upload

2022-12-21 Thread Pablo Rodriguez via ntg-context
lushing realpage 10, userpage 10, subpage 10 structures > end of sectionblock 'whatcomesfirst' structures > begin of sectionblock 'frontpart' structures > bookmark: Prólogo structure > sectioning > forewordtitle @ level 2 : 0.0 -> \xmlflush {main::41} pages

[NTG-context] OT: Adobe releases the original PostScript interpreter software as open source

2022-12-19 Thread Bruce Horrocks via ntg-context
ble-to-the-Public-as-a-Part-of-Its-Art-of-Code-Series.html> and a blog post with the background to PostScript here <https://computerhistory.org/blog/postscript-a-digital-printing-press/> Regards, — Bruce Horrocks H

Re: [NTG-context] Command line arguments on context project

2022-12-19 Thread Aditya Mahajan via ntg-context
> Why is this? The reasoning is that it makes no sense to give list > numbers or list labels (e.g. APA : authoryear) if there is no list, for > these numbers or labels depend on the context (bibliography by chapter, > by part, by volume, or by book, for example). Aditya__

Re: [NTG-context] Command line arguments on context project

2022-12-18 Thread Alan Braslau via ntg-context
ibliography subsystem is that citations will not work unless you render the bibliography list. Why is this? The reasoning is that it makes no sense to give list numbers or list labels (e.g. APA : authoryear) if there is no list, for these numbers or labels depend on the context (bibliography by chapter, by part,

Re: [NTG-context] Structure: multi-volume products

2022-12-18 Thread Alan Braslau via ntg-context
On Fri, 16 Dec 2022 06:57:44 -0700 Alan Braslau via ntg-context wrote: > On Fri, 16 Dec 2022 09:08:47 + > wrote: > > > Last time I had to do something like this I've kept both books in > > one master file (actually one master file for part 1, one for part > &g

Re: [NTG-context] Structure: multi-volume products

2022-12-16 Thread Richard Mahoney | Indica et Buddhica via ntg-context
lume is presently a separate *product* in the project structure. I presently set the counters in the second volume using: \setupheadnumber   [part] [2] \setupheadnumber   [chapter] [5] (I have multiple [5] parts in the project, and the first volume ends with part 2 and chapter 5.)

Re: [NTG-context] Structure: multi-volume products

2022-12-16 Thread Denis Maier via ntg-context
ts > > On Fri, 16 Dec 2022 09:08:47 + > wrote: > > > Last time I had to do something like this I've kept both books in one > > master file (actually one master file for part 1, one for part 2, one > > for both together). With that I could easiliy have a table

Re: [NTG-context] Structure: multi-volume products

2022-12-16 Thread Alan Braslau via ntg-context
On Fri, 16 Dec 2022 09:08:47 + wrote: > Last time I had to do something like this I've kept both books in one > master file (actually one master file for part 1, one for part 2, one > for both together). With that I could easiliy have a table of > contents for both volumes

Re: [NTG-context] Structure: multi-volume products

2022-12-16 Thread Denis Maier via ntg-context
Last time I had to do something like this I've kept both books in one master file (actually one master file for part 1, one for part 2, one for both together). With that I could easiliy have a table of contents for both volumes. I've made some experiments with writing stuff to the logs or tuc

[NTG-context] Structure: multi-volume products

2022-12-15 Thread Alan Braslau via ntg-context
Hello, I have a book project that is being cut into two volumes (because it is too long and will be sold as a boxed set). Each volume is presently a separate *product* in the project structure. I presently set the counters in the second volume using: \setupheadnumber [part] [2

Re: [NTG-context] \hpos in math - Half solved

2022-12-08 Thread Hans Hagen via ntg-context
these might definitely not impact performance). Source and target properties were added in order to avoid interference with math spacing but can also be used in text, where they are part of the larger package of box properties that was already around. \startTEXpage[offset=2cm] \setbox 0

Re: [NTG-context] \hpos in math - Half solved

2022-12-07 Thread Gavin via ntg-context
th version of \hpos to use the count as part of the label >> internally. I tried to do this with a regular ConTeXt counter, but had all >> sorts of mysterious, wrong behavior. When I switched to using a Lua counter, >> everything worked immediately. So, while there is

Re: [NTG-context] \hpos in math - Half solved

2022-12-07 Thread Hans Hagen via ntg-context
On 12/7/2022 1:42 PM, Gavin via ntg-context wrote: Hi List, I solved my original problem 2, allowing me to reuse the same \hpos labels in different equations without interference. I added an equation counter and set up my custom math version of \hpos to use the count as part of the label

Re: [NTG-context] \hpos in math - Half solved

2022-12-07 Thread Hans Hagen via ntg-context
On 12/7/2022 1:42 PM, Gavin via ntg-context wrote: Hi List, I solved my original problem 2, allowing me to reuse the same \hpos labels in different equations without interference. I added an equation counter and set up my custom math version of \hpos to use the count as part of the label

Re: [NTG-context] \hpos in math - Half solved

2022-12-07 Thread Gavin via ntg-context
Hi List, I solved my original problem 2, allowing me to reuse the same \hpos labels in different equations without interference. I added an equation counter and set up my custom math version of \hpos to use the count as part of the label internally. I tried to do this with a regular ConTeXt

Re: [NTG-context] \setupmathematics oddity

2022-11-20 Thread Wolfgang Schuster via ntg-context
the comma is part of the keyword, this means you can't change the order of the words and even spaces after the comma make the argument invalid. Wolfgang ___ If your question is of interest to others as well, please ad

Re: [NTG-context] annotated equations

2022-11-18 Thread Hans Hagen via ntg-context
as the latex package provides. eventually there will be something as part of the math upsate (we also have some stuff for matrices already) but only documenting can make if final (as then we check consistency); the problem is not the interface but to *not* mess up the math spacing that we want

Re: [NTG-context] annotated equations

2022-11-17 Thread Hans Hagen via ntg-context
plenty with annotating formulas as part of all this math stuff (part of exploring interference with spacing which is something we don't want cq. bother users with); for inline, display and matrices but as usual it's demand driven so it is pending 'documenting' and 'interface improvements

Re: [NTG-context] how to simulate \hss in luametatex?

2022-11-11 Thread 黄复雄 via ntg-context
> > Hi, > > > >> I want to simulate \hss in lua end in ConTeXt/luametatex environment. > >> For example, > >> > >> ```ConTeXt > >> a{\raise 1.5ex\hbox to 0pt{\hss b}}c > >> ``` > > > >> And in lua, I do as follo

Re: [NTG-context] how to simulate \hss in luametatex?

2022-11-11 Thread 黄复雄 via ntg-context
relative. Best regards Huang Fusyong(黄复雄) Max Chernoff via ntg-context 于2022年11月11日周五 17:55写道: > > Hi, > > > I want to simulate \hss in lua end in ConTeXt/luametatex environment. > > For example, > > > > ```ConTeXt > > a{\raise 1.5ex\hbox to 0pt{\hss b}}c

Re: [NTG-context] how to simulate \hss in luametatex?

2022-11-11 Thread Hans Hagen via ntg-context
On 11/11/2022 10:53 AM, Max Chernoff via ntg-context wrote: Hi, I want to simulate \hss in lua end in ConTeXt/luametatex environment. For example, ```ConTeXt a{\raise 1.5ex\hbox to 0pt{\hss b}}c ``` And in lua, I do as follows(part of my app seen in attachment): Your code doesn't

Re: [NTG-context] how to simulate \hss in luametatex?

2022-11-11 Thread Max Chernoff via ntg-context
Hi, > I want to simulate \hss in lua end in ConTeXt/luametatex environment. > For example, > > ```ConTeXt > a{\raise 1.5ex\hbox to 0pt{\hss b}}c > ``` > And in lua, I do as follows(part of my app seen in attachment): Your code doesn't compile as is. I think that this is

[NTG-context] how to simulate \hss in luametatex?

2022-11-10 Thread 黄复雄 via ntg-context
rink:65536, stretchorder:2, shrinkorder:2 And in lua, I do as follows(part of my app seen in attachment): ```lua local hss = node_new(glue_id) hss.stretch = 65536 hss.stretchorder = 2 hss.shrink = 65536 hss.shrinkorder = 2 hss.width = 0 list,_ = node_insertbefore(list, list,

Re: [NTG-context] font features

2022-11-03 Thread Thomas A. Schmitz via ntg-context
On 11/3/22 19:24, Hans Hagen via ntg-context wrote: You're going way too complex. Access to features and info has alwaye been part of mkic (and therefore lmtx). You can peek into the s-font* styles for all kind of ways to get overviews. Anyway, the following helper operates on the current font

Re: [NTG-context] font features

2022-11-03 Thread Hans Hagen via ntg-context
nk{ "medium" }   context(Test_String)   context.par ()   context.stop () end context.stoptext() COMMENTS And this doesn't work: the names are picked up, but the font features are not defined; the sample text does not reflect any features. So this is what I've got... maybe one of

Re: [NTG-context] never add a hyphen to break a URL

2022-10-24 Thread Pablo Rodriguez via ntg-context
ot even a question of style. myhouse.com and my-house.com are different domains. > Is there a switch to forbid \useURL adding hyphens? \hyphenatedurl{} is the way to go. Although you add a hyphen (and a blank space [spaces as part of urls need to be escaped) to your url. I would also e

Re: [NTG-context] new upload

2022-10-17 Thread Aditya Mahajan via ntg-context
gt;> mentioned here (or known to those who wanted it) the main changes are in > >>>> the math goodie files (work in progress, we will clean them up later) as > >>>> part of improving the rendering of math. > >>> > >>> Something is wrong with

Re: [NTG-context] new upload

2022-10-17 Thread Hans Hagen via ntg-context
from a few fixes / extensions already mentioned here (or known to those who wanted it) the main changes are in the math goodie files (work in progress, we will clean them up later) as part of improving the rendering of math. Something is wrong with the placement of limits around an integral

Re: [NTG-context] new upload

2022-10-17 Thread Otared Kavian via ntg-context
via ntg-context wrote: >> >>> Hi, >>> >>> I uploaded a new version. Apart from a few fixes / extensions already >>> mentioned here (or known to those who wanted it) the main changes are in >>> the math goodie files (work in progress, we will clean them

Re: [NTG-context] new upload

2022-10-16 Thread Aditya Mahajan via ntg-context
loaded a new version. Apart from a few fixes / extensions already > > > mentioned here (or known to those who wanted it) the main changes are in > > > the math goodie files (work in progress, we will clean them up later) as > > > part of improving the rendering

Re: [NTG-context] new upload

2022-10-16 Thread Mikael Sundqvist via ntg-context
e who wanted it) the main changes are in > > the math goodie files (work in progress, we will clean them up later) as > > part of improving the rendering of math. > > Something is wrong with the placement of limits around an integral with > NeoEuler: > > \usetypescriptfile[e

Re: [NTG-context] new upload

2022-10-16 Thread Aditya Mahajan via ntg-context
On Fri, 14 Oct 2022, Hans Hagen via ntg-context wrote: > Hi, > > I uploaded a new version. Apart from a few fixes / extensions already > mentioned here (or known to those who wanted it) the main changes are in > the math goodie files (work in progress, we will clean them up la

Re: [NTG-context] new upload

2022-10-15 Thread Hans Hagen via ntg-context
of our control). It has always been part of the plan with luametatex. So ... it will not be optional. I asked to make this optional not to avoid having the source, but to be able to complete the update process. i guess a few extra fonts are more demanding, actually the number of fonts

Re: [NTG-context] new upload

2022-10-15 Thread Pablo Rodriguez via ntg-context
t you get what you expect to work with the tex > files (no interference with distribution patches our of our control). It > has always been part of the plan with luametatex. So ... it will not be > optional. I asked to make this optional not to avoid having the source, but to be able to comple

Re: [NTG-context] new upload

2022-10-15 Thread Hans Hagen via ntg-context
in progress, we will clean them up later) as part of improving the rendering of math. Many thanks for the new version, Hans. I have discovered that it includes in tex/texmf-context/source/luametatex what should be the LMTX source (about 11MB). It zips to 2 MB and totals to less of a picture

Re: [NTG-context] atan2 function

2022-10-14 Thread Alan Braslau via ntg-context
On Fri, 14 Oct 2022 16:09:41 -0700 Thangalin wrote: > Would making the conditional part of the API be useful to others? Of course, $\tan^{-1}(\pm 1)$ is undefined (mathematically). Alan ___ If your quest

Re: [NTG-context] atan2 function

2022-10-14 Thread Thangalin via ntg-context
That's certainly tighter, thank you, Alan. Would making the conditional part of the API be useful to others? Cheers! On Fri, Oct 14, 2022 at 3:42 PM Alan Braslau wrote: > > On Fri, 14 Oct 2022 11:59:49 -0700 > Thangalin wrote: > > > I don't think an atantwo is needed. I *t

Re: [NTG-context] new upload

2022-10-14 Thread Pablo Rodriguez via ntg-context
On 10/14/22 10:21, Hans Hagen via ntg-context wrote: > Hi, > > I uploaded a new version. Apart from a few fixes / extensions already > mentioned here (or known to those who wanted it) the main changes are in > the math goodie files (work in progress, we will clean them up l

[NTG-context] new upload

2022-10-14 Thread Hans Hagen via ntg-context
Hi, I uploaded a new version. Apart from a few fixes / extensions already mentioned here (or known to those who wanted it) the main changes are in the math goodie files (work in progress, we will clean them up later) as part of improving the rendering of math. Hans

Re: [NTG-context] \quotation, protrusion and linebreaking

2022-10-12 Thread Henning Hraban Ramm via ntg-context
or Wolfgang, probably) told me at one time, or I picked it up from a discussion on the list, and it’s part of my default setup since. Hraban ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] Example from Practex Journal

2022-10-08 Thread Wolfgang Schuster via ntg-context
module [1]  which is MkII only and no longer part of the ConTeXt distribution. The filename of the module is s-ptj-01.mkii when you're looking for the source. I find this one hard to replicate. What is the font type that was used for this document ? The document uses TeX Gyre Pagella as main

Re: [NTG-context] alternative en TOC

2022-10-06 Thread Horacio Suárez via ntg-context
Its worring now. I have to add \setuplist[subsection][alternative=d] after \setupcombinedlist[content] etc. before that line it has no effect here. \definecombinedlist[content][part,chapter,section,subsection] \setupcombinedlist[content][alternative=c,partnumber=no,placehead=yes,color=black

Re: [NTG-context] LMTX generates PDFs with non-working fonts on real printers

2022-10-04 Thread Henning Hraban Ramm via ntg-context
Am 04.10.22 um 18:11 schrieb Hans Hagen via ntg-context: it is hidden in preflight, some tiny entry in a menu "browse internal .." or so but as adobe loves to change user interfaces with each version i have no clue where you can find it Oops, I completely forgot that was part

[NTG-context] Fwd: [CG Wiki] ConTeXt with VS Code (https://wiki.contextgarden.net/VSCode)

2022-10-03 Thread Taco Hoekwater via ntg-context
tensions..js (internal/modules/cjs/loader.js:1027:10) > > Is there any way to discuss it with the extension developer? Can I find > somewhere the extension source code (on github or so)? Many thanks. > > Note: I downloaded the last ConTeXt and compiled it in its directory. But >

Re: [NTG-context] LMTX incompatibility in \meaning breaks TikZ, other minor issues

2022-09-28 Thread Leah Neukirchen via ntg-context
; "}{\tikz@quote@parser}% >>\let\tikz@quotes@as\tikz@node@quotes@as% >> } >> The last part of the /-key is derived from \meaning, but in LMTX, >> \meaning" is "the character U+0022 'quotation mark'" >> and thus the key cannot be found. >> I h

[NTG-context] lmtx status

2022-09-27 Thread Hans Hagen via ntg-context
there are platform changes). She's also working on cmake based installation helpers. One of the things we did was pruning the fonts that are part of the installation. With a few exceptions the type one fonts were dropped, which is most noticeable for math. There is no need for px and tx fonts

Re: [NTG-context] Command for specifying et al limit

2022-09-27 Thread jethro Reuel via ntg-context
Dear Alan, Thanks again for all your help. Deleting the definebtxrendering[ref] part makes my citations disappear. I get something like: says in their paper… Also, the setupbtx[apa:list]… doesn’t solve my etallimit problem. Could you test my code and tweak it for me? Can’t find examples

<    1   2   3   4   5   6   7   8   9   10   >