[NTG-context] Re: Notes at end of book

2025-08-13 Thread Henning Hraban Ramm
Am 13.08.25 um 15:22 schrieb Denis Maier via ntg-context: I imagine you should be able to keep track of the footnotes in a lua table (just like shown in the xml-mkiv manual) and place them manually with \placefootnotes where you want. Something like this: \setupfootnotes[location=text

[NTG-context] Re: Notes at end of book

2025-08-13 Thread Denis Maier via ntg-context
Hi Thomas, You know more about XML processing than I do, but how does your project setup look like? I imagine you should be able to keep track of the footnotes in a lua table (just like shown in the xml-mkiv manual) and place them manually with \placefootnotes where you want. Something like

[NTG-context] Re: saving and loading lua tables

2025-08-10 Thread Henning Hraban Ramm
Am 10.08.25 um 21:28 schrieb Hans Hagen via ntg-context: On 8/10/2025 9:09 PM, Hraban Ramm wrote: What’s the difference between table.tofile and table.save? tofile is documented in cld-mkiv* while save is not. table.save is also not mentioned in the Lua reference manual. Where does it come

[NTG-context] Re: saving and loading lua tables

2025-08-10 Thread Hans Hagen via ntg-context
On 8/10/2025 9:09 PM, Hraban Ramm wrote: What’s the difference between table.tofile and table.save? tofile is documented in cld-mkiv* while save is not. table.save is also not mentioned in the Lua reference manual. Where does it come from? just look at the files ... as all lua code in

[NTG-context] Re: saving and loading lua tables

2025-08-10 Thread Hraban Ramm
found http://lua-users.org/wiki/SaveTableToFile Is there already something (better) in ConTeXt? I'd assume, since the functionality is needed for tuc files? table.tofile("my_file.lua",my_table) Thank you, I overlooked that in cld-mkiv, since I was looking for table.save (which was

[NTG-context] Re: saving and loading lua tables

2025-08-10 Thread Hans Hagen via ntg-context
/SaveTableToFile Is there already something (better) in ConTeXt? I'd assume, since the functionality is needed for tuc files? table.tofile("my_file.lua",my_table) Thank you, I overlooked that in cld-mkiv, since I was looking for table.save (which was mentioned in a thread about Ecir Baff’s

[NTG-context] Re: saving and loading lua tables

2025-08-10 Thread Hraban Ramm
ConTeXt? I'd assume, since the functionality is needed for tuc files? table.tofile("my_file.lua",my_table) Thank you, I overlooked that in cld-mkiv, since I was looking for table.save (which was mentioned in a thread about Ecir Baff’s art). And for reading context.runfile, r

[NTG-context] Re: Redefined ~ conserves \protected status although \show~ does not say so

2025-08-09 Thread Hans Hagen via ntg-context
catcode regimes, and these vectors have plugins for active characters (think for instance interpreting xml) - in mkiv we use catcode tables (which are an engine feature brought in at the start modelled after what context mkii liked) and again we provide some plugin mechanism in context (mki

[NTG-context] Re: Patch to use ls-R files with TeX Live

2025-07-25 Thread Max Chernoff via ntg-context
;$SELFAUTOPARENT/texmf-dist/"), but I have no idea how to do that. > > Also, can you please rename m-texlive.mkxl to m-texlive.mkiv? LuaTeX > > doesn't find the file with the ".mkxl" suffix, and I'd like to keep > > supporting MkIV in TeX Live. > > hm

[NTG-context] Re: Patch to use ls-R files with TeX Live

2025-07-25 Thread Hans Hagen via ntg-context
er for context which leaves out complete subtrees. The file database isn't generated that often, it's access during a run that matters more. Also, can you please rename m-texlive.mkxl to m-texlive.mkiv? LuaTeX doesn't find the file with the ".mkxl" suffix, and I'd like t

[NTG-context] Patch to use ls-R files with TeX Live

2025-07-24 Thread Max Chernoff via ntg-context
aTeX doesn't find the file with the ".mkxl" suffix, and I'd like to keep supporting MkIV in TeX Live. Thanks, -- Max diff --git a/tex/context/base/mkiv/data-fil.lua b/tex/context/base/mkiv/data-fil.lua index 8dbc8a0..1f7ff94 100644 --- a/tex/context/base/mkiv/data-fil.lua +++

[NTG-context] Re: Docker images

2025-07-12 Thread Max Chernoff via ntg-context
nd the LMTX standalone distribution with all modules installed is 479MB (including documentation), TeX Live with scheme-context (which includes MkII, MkIV, and MkXL, all the modules, but no documentation) is 514MB, and TL with scheme-infraonly and the "context" package (MkXL only, without MkIV, a

[NTG-context] Re: Docker images

2025-07-12 Thread Hans Hagen via ntg-context
On 7/12/2025 6:56 PM, Henning Hraban Ramm wrote: Am 12.07.25 um 10:12 schrieb Max Chernoff: Hi Hraban, On Fri, 2025-07-11 at 09:39 +0200, Henning Hraban Ramm wrote: the ConTeXt dockerfiles from “Island of TeX” (https://github.com/islandoftex/context) … – still distinguish MkIV beta/current

[NTG-context] Re: Docker images

2025-07-12 Thread Henning Hraban Ramm
Am 12.07.25 um 10:12 schrieb Max Chernoff: Hi Hraban, On Fri, 2025-07-11 at 09:39 +0200, Henning Hraban Ramm wrote: the ConTeXt dockerfiles from “Island of TeX” (https://github.com/islandoftex/context) … – still distinguish MkIV beta/current – install modules via rsync also for LMTX which

[NTG-context] Re: Docker images

2025-07-12 Thread Max Chernoff via ntg-context
Hi Hraban, On Fri, 2025-07-11 at 09:39 +0200, Henning Hraban Ramm wrote: > the ConTeXt dockerfiles from “Island of TeX” > (https://github.com/islandoftex/context) … > – still distinguish MkIV beta/current > – install modules via rsync also for LMTX which pulls in some outdated ones &g

[NTG-context] Docker images

2025-07-11 Thread Henning Hraban Ramm
Hi, esp. Max: the ConTeXt dockerfiles from “Island of TeX” (https://github.com/islandoftex/context) … – still distinguish MkIV beta/current – install modules via rsync also for LMTX which pulls in some outdated ones – use Debian instead of Alpine because Linux/MUSL binary wasn’t working at

[NTG-context] Re: no list method for \placecombinedlist[content]

2025-07-08 Thread Hans Hagen via ntg-context
] \dorecurse{25}{\chapter{Chapter \recurselevel}} \stoptext It is a LMTX issue only, since MkIV works fine. Line 527 from strc-lst.mkxl introduces a \normaldef in current latest (2025.07.07 23:34). Before there was only a \def. This apparently fixes the issue for me, but I have no idea whether this

[NTG-context] Re: no list method for \placecombinedlist[content]

2025-07-08 Thread Pablo Rodriguez via ntg-context
s a LMTX issue only, since MkIV works fine. Line 527 from strc-lst.mkxl introduces a \normaldef in current latest (2025.07.07 23:34). Before there was only a \def. This apparently fixes the issue for me, but I have no idea whether this is the right way to do it. Hans, could you confirm whether t

[NTG-context] Re: Error on recent update

2025-07-07 Thread Keith McKay
: token call, execute: ...m64/tex/texmf-context/tex/context/base/mkxl/mlib-msh.lmt:45: attempt to index a nil value (local 'contour') stack traceback: ...m64/tex/texmf-context/tex/context/base/mkxl/mlib-msh.lmt:45: in local 'code' ...m64/tex/texmf-context/tex/context/base/mk

[NTG-context] Re: success and a query

2025-07-05 Thread Hans Hagen via ntg-context
%%% end example For those interested: you can run context s-system-macros.mkxl and see what is there and how macros are classified. The top of the file says: %D This file is for Wolfgang and Hans and it's used in the transition %D from \MKIV\ to the more robust \LMTX. which tells a

[NTG-context] Re: Problem with the second \HL in the matrix

2025-07-03 Thread Ursula Hermann
Administrator\Downloads\context-win64\tex\texmf-context\tex\context\test\mkiv > > > resolvers | formats | executing runner 'run luametatex format': > luametatex --jobname="./context-test.tex" --socket --shell-escape > --fmt=C:/texlive/2025/texmf-var/luam

[NTG-context] Re: Problem with the second \HL in the matrix

2025-07-02 Thread Bruce Horrocks
I installed TeXlive 2025, and today I did a new installation of > ConText. > > After compiling the context.test today , I got: > > > Command Line: context.exe --synctex=-1 "context-test.tex" > Startup Folder: > C:\Users\Administrator\Downloads

[NTG-context] Re: Problem with the second \HL in the matrix

2025-07-02 Thread Ursula Hermann
context.test today , I got: Command Line: context.exe --synctex=-1 "context-test.tex" Startup Folder: C:\Users\Administrator\Downloads\context-win64\tex\texmf-context\tex\context\test\mkiv resolvers | formats | executing runner 'run luametatex format': luametatex

[NTG-context] Re: \show treated as a fatal error with MkIV

2025-07-02 Thread Hans Hagen via ntg-context
On 7/2/2025 6:11 AM, Max Chernoff via ntg-context wrote: Hi Hans, If you use "\show" anywhere in a document with MkIV, ConTeXt treats it as a fatal error and immediately exits. The following document produces the expected output with MkXL, but exits with "mtx-context | fatal e

[NTG-context] \show treated as a fatal error with MkIV

2025-07-01 Thread Max Chernoff via ntg-context
Hi Hans, If you use "\show" anywhere in a document with MkIV, ConTeXt treats it as a fatal error and immediately exits. The following document produces the expected output with MkXL, but exits with "mtx-context | fatal error" with MkIV: \show\show \showtokens{\showtok

[NTG-context] Re: Processing time

2025-06-20 Thread John Was
; checks > registering extra script 'auto' > > fonts > preloading latin modern fonts (second stage) > > fonts > 'fallback modern rm 12pt' is loaded > > backend > profiles > setting format 'pdf/ua-2' to 'pdf

[NTG-context] Re: Processing time

2025-06-20 Thread Wolfgang Schuster
rofiles > forcing pdf version 2.0, compression level 3, object compression level 3 backend         > profiles > permitted colorspaces: rgb 'yes', cmyk 'yes' colors          > defining > supported models: gray 'true', rgb 'true', cmyk 't

[NTG-context] Processing time

2025-06-20 Thread John Was
ct compression level 3 backend > profiles > permitted colorspaces: rgb 'yes', cmyk 'yes' colors > defining > supported models: gray 'true', rgb 'true', cmyk 'true', spot 'true' transparencies > support > tran

[NTG-context] Re: Diacritic in variable fonts

2025-06-18 Thread Pablo Rodriguez via ntg-context
er cases or not, I’m afraid I don’t have the knowledge to distinguish their cause. > (btw, I fix issues in lmtx and only occasionally backport to mkiv.) MkIV? I only use it nowadays to check that LMTX isn’t misbehaving. The moment I started using tw and th (and similar) as dimension units, there

[NTG-context] Re: Diacritic in variable fonts

2025-06-18 Thread Hans Hagen
pe whether they have any publicly accessible reference used for their implementation. They probably use some library. And then there is of course the issue of bugs that became standards (as happened with some in pdf). (btw, I fix issues in lmtx and only occasionally backport to mk

[NTG-context] Re: New user here!

2025-06-16 Thread John Was
x27;t quite work (the second column is shifted a line >> down from the first column - but I guess there's something I should have >> set up initially to get it to work). >> >> It's not the definition of \yogh that would cause me any difficulty, but >> the fact t

[NTG-context] Re: New user here!

2025-06-16 Thread luigi scarso
down from the first column - but I guess there's something I should have > set up initially to get it to work). > > It's not the definition of \yogh that would cause me any difficulty, but > the fact that I can't say: > > \defʒ > > \def\MyHello{Hello!} \def\d

[NTG-context] Re: Color Profile ISO Coated v2 300% (ECI) not found anymore

2025-06-14 Thread juh+ntg-context--- via ntg-context
)}] \setuppagenumbering[location=,] \starttext \null \stoptext With two different installation I get this: A current version: 2025.06.12 14:21 backend > xmp > using file '/home/juh/juh.context.20241101/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.x

[NTG-context] Re: exporting to epub

2025-06-02 Thread Henning Hraban Ramm
Am 02.06.25 um 15:45 schrieb Matthias Weber: Thank you Wolfgang. A fresh install fixed my initial problems. mtxrun --script mtx-epub --make --purge epub-mkiv-demo produces an epub. However, both Calibre and Thorium have trouble with it (not displaying anything but error messages). Are there

[NTG-context] Re: exporting to epub

2025-06-02 Thread Matthias Weber
Thank you Wolfgang. A fresh install fixed my initial problems. mtxrun --script mtx-epub --make --purge epub-mkiv-demo produces an epub. However, both Calibre and Thorium have trouble with it (not displaying anything but error messages). Are there any steps I need to follow to create a

[NTG-context] Re: exporting to epub

2025-05-30 Thread Matthias Weber
t minimal, so I think I have everything Matthias > On May 30, 2025, at 12:21 PM, Wolfgang Schuster > wrote: > > Am 29.05.2025 um 22:54 schrieb Matthias Weber: >> Hi, >> I am trying to export to epub. I found epub-mkiv-demo.tex and >> export-example.tex, and bo

[NTG-context] Re: exporting to epub

2025-05-30 Thread Wolfgang Schuster
Am 29.05.2025 um 22:54 schrieb Matthias Weber: Hi, I am trying to export to epub. I found epub-mkiv-demo.tex and export-example.tex, and both compile fine, generating the XML tree. The instructions say that I have to run mtxrun --script epub --make --purge test but I get unknown script

[NTG-context] exporting to epub

2025-05-29 Thread Matthias Weber
Hi, I am trying to export to epub. I found epub-mkiv-demo.tex and export-example.tex, and both compile fine, generating the XML tree. The instructions say that I have to run mtxrun --script epub --make --purge test but I get unknown script ‘epub.lua’. I don’t have epub.lua anywhere. It

[NTG-context] Re: Images and Accessibility (ConTeXt LMTX 2025.04.28)

2025-05-11 Thread Hans Hagen
: \setupbackend   [format={pdf/a-2a},    profile={default_cmyk.icc,default_rgb.icc,default_gray.icc}] \setuptagging   [state=start] \enabledirectives    [backend.usetags=mkiv] Specification: ISO 19005-2:2011, Clause: 6.2.4.3, Test number: 3 DeviceCMYK shall only be used if a device independent DefaultCMYK

[NTG-context] Re: Images and Accessibility (ConTeXt LMTX 2025.04.28)

2025-05-11 Thread juh+ntg-context--- via ntg-context
] \enabledirectives [backend.usetags=mkiv] Specification: ISO 19005-2:2011, Clause: 6.2.4.3, Test number: 3 DeviceCMYK shall only be used if a device independent DefaultCMYK colour space has been set or if a DeviceN-based DefaultCMYK colour space has been set when the DeviceCMYK colour

[NTG-context] Re: TDM Reservation Protocol (TDMRep)

2025-05-01 Thread Rik Kabel
ucceeded in integrating the provided extension schema. Just modifying a local copy of mkiv/lpdf-pua.xml seems to do it. (There is no separate equivalent in the mkxl tree, so this is used for both.) Both sets of changes (the extension schema and the actual setting

[NTG-context] Re: footnotes and rule=paragraph

2025-04-30 Thread Pablo Rodriguez via ntg-context
On 4/30/25 00:04, Mohammad Hossein Bateni wrote: > Hello, > > I think the following used to place the footnote rule on the right side > (as in rule=right). Now it doesn't. Hi Mohammad, I can confirm that with your source MkIV (LuaTeX 1.23 7679 + ConTeXt MkIV 2025.04.28 14:29) p

[NTG-context] issue with \savebuffer in LMTX

2025-04-02 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \startbuffer[x] a \stopbuffer \starttext \savebuffer[x][\jobname-temp.tex, prefix=no] whatever \stoptext Compiling it with current latest (2025.04.01 12:45) LMTX, the saved file name is "x". With current latest MkIV,

[NTG-context] update

2025-04-01 Thread Hans Hagen
fonts are implemented like traditional tex fonts. This makes math in the engine behave like xetex. The primitives that relate to controling some aspects of math rendering are obsolete (we also removed experimental additional italics mode code). This change doesn't affect ConTeXt (MkIV) be

[NTG-context] Re: Problem with JPEG2000 inclusion in 2025.02.28 update

2025-03-23 Thread Jim
tx-context | main context file: > /home/userland/lmtx/tex/texmf-context/tex/context/base/mkiv/context.mkiv > mtx-context | current version: 2025.02.28 18:16 > mtx-context | main context file: > /home/userland/lmtx/tex/texmf-context/tex/context/base/mkxl/context.mkxl &g

[NTG-context] Re: Problem with JPEG2000 inclusion in 2025.02.28 update

2025-03-23 Thread Lutz Haseloff
Hi Jim, it works here with your cow-jp2.jp2 without problems with: ┌──(userland㉿localhost)-[~] └─$ context --version mtx-context | ConTeXt Process Management 1.06 mtx-context | mtx-context | main context file: /home/userland/lmtx/tex/texmf-context/tex/context/base/mkiv/context.mkiv

[NTG-context] Footer issue (for graduated wizards mastering kung-fu)

2025-03-13 Thread roberto . bianchi
t; level 1, order 2, name './P.CODE_CLIENT_(COUNTRY)_Rev.C..tex' open source > level 2, order 3, name '.\\TEX\\00-CONFIG\\config.tex' close source> level 2, order 3, name '.\\TEX\\00-CONFIG\\config.tex' open source > level 2, order 4, name '.\\TEX\\

[NTG-context] Re: Grid and setupparagraphs problem, LMTX and MkIV

2025-03-09 Thread Rik Kabel
On 2025-03-09 08:12, Bruce Horrocks wrote: On 7 Mar 2025, at 23:07, Rik Kabel wrote: I am stumped trying to eliminate the extra vertical space in the following example. Can anybody point out where it is coming from and, more importantly, how to eliminate it. All lines should be on the grid, bu

[NTG-context] Re: Grid and setupparagraphs problem, LMTX and MkIV

2025-03-09 Thread Bruce Horrocks
> On 7 Mar 2025, at 23:07, Rik Kabel wrote: > > I am stumped trying to eliminate the extra vertical space in the following > example. Can anybody point out where it is coming from and, more importantly, > how to eliminate it. All lines should be on the grid, but the paragraphs > environment c

[NTG-context] Re: Grid and setupparagraphs problem, LMTX and MkIV

2025-03-08 Thread Wolfgang Schuster
environment clearly is introducing extra space (or removing it). I do note that the problem exists with MkIV and LMTX not giving the same result, but with neither setting on the grid. [...] The paragraphs environment is something like a light version of natural tables or extreme tables rather than a

[NTG-context] Grid and setupparagraphs problem, LMTX and MkIV

2025-03-07 Thread Rik Kabel
removing it). I do note that the problem exists with MkIV and LMTX not giving the same result, but with neither setting on the grid. \setuplayout [grid=on] \showgrid \defineparagraphs[TwoCols] [n=2]  \setupparagraphs[TwoCols] [each

[NTG-context] Re: automatic character comparison

2025-03-05 Thread Pablo Rodriguez via ntg-context
On 3/5/25 05:23, Max Chernoff via ntg-context wrote: > Hi Pablo, Hi Max, many thanks for your reply. > Not quite what you're asking for, but the "compare" script does > something fairly similar: > [...] > The source for that script is in > > tex/conte

[NTG-context] Re: Strange display of math when enabling export xml/html/xhtml

2025-03-05 Thread Christoph Hintermüller via ntg-context
t | Cmtx-context | ConTeXt Process Management > > 1.06mtx-context | > > mtx-context | main context file: > > /usr/local/share/context/tex/texmf- > > context/tex/context/base/mkiv/context.mkiv > > mtx-context | current version: 2025.02.28 18:16 > > mtx-c

[NTG-context] Re: LMTX/LuaTeX: much bigger output size in imposition

2025-03-05 Thread Hans Hagen
off for the included streams xml-mkiv.pdf268.614 one.pdf 328,094 two.pdf 1,206,034 after fixing this here (mkxl): one.pdf 328,093 two.pdf 369,055 btw, --luatex (mkiv) gives: one.pdf 413.981 two.pdf 499.895 processing xml-mkiv in lmtx actually

[NTG-context] Re: automatic character comparison

2025-03-04 Thread Max Chernoff via ntg-context
hat you're asking for, but the "compare" script does something fairly similar: $ context --extra=compare .pdf .pdf $ context --extra=compare .pdf .pdf --colors=red,blue --result=.pdf The source for that script is in tex/context/base/mkiv/mtx-context-compare.tex so mayb

[NTG-context] Re: Strange display of math when enabling export xml/html/xhtml

2025-03-04 Thread Christoph Hintermüller via ntg-context
t | Cmtx-context | ConTeXt Process Management > > 1.06mtx-context | > > mtx-context | main context file: > > /usr/local/share/context/tex/texmf- > > context/tex/context/base/mkiv/context.mkiv > > mtx-context | current version: 2025.02.28 18:16 > > mtx-c

[NTG-context] Re: Strange display of math when enabling export xml/html/xhtml

2025-03-04 Thread Hans Hagen
mtx-context | Cmtx-context | ConTeXt Process Management 1.06mtx-context | mtx-context | main context file: /usr/local/share/context/tex/texmf- context/tex/context/base/mkiv/context.mkiv mtx-context | current version: 2025.02.28 18:16 mtx-context | main

[NTG-context] Strange display of math when enabling export xml/html/xhtml

2025-03-04 Thread Christoph Hintermüller via ntg-context
Process Management 1.06mtx-context | mtx-context | main context file: /usr/local/share/context/tex/texmf- context/tex/context/base/mkiv/context.mkiv mtx-context | current version: 2025.02.28 18:16 mtx-context | main context file: /usr/local/share/context/tex/texmf- context/tex/context

[NTG-context] Re: issue with agr loaded patterns

2025-02-25 Thread Pablo Rodriguez via ntg-context
d Ancient Greek patterns don’t interfere with each other > -- and in any case the example with only the Greek patterns is already > incorrect. I think I (partially) discovered what is misbejaving here. In lang-def.{mkxl|mkiv}, ancient Greek is defined: \installlanguage [\s!agr] [\s!d

[NTG-context] Re: [ error after update ]

2025-02-24 Thread vm via ntg-context
27;changelog.md', already: 'ChangeLog.md' mtx-context | ConTeXt Process Management 1.06 mtx-context | mtx-context | main context file: /home/vm/context/tex/texmf-context/tex/context/base/mkiv/context.mkiv mtx-context | current version: 2025.02.24 16:28 mtx-context

[NTG-context] Re: \pi not defined in latest MkIV

2025-02-20 Thread Hans Hagen
On 2/20/2025 12:21 PM, Max Chernoff via ntg-context wrote: \pi doesn't seem to be defined in MkIV anymore. I'm using the latest from the standalone distribution, although the issue is also present in the TL25 pretest. Minimal example: % engine=luatex \startTEXpage

[NTG-context] \pi not defined in latest MkIV

2025-02-20 Thread Max Chernoff via ntg-context
Hi Hans, \pi doesn't seem to be defined in MkIV anymore. I'm using the latest from the standalone distribution, although the issue is also present in the TL25 pretest. Minimal example: % engine=luatex \startTEXpage \m{\pi} \stopTEXpage This was originally reported

[NTG-context] Re: upload

2025-02-16 Thread Thomas Meyer
}, ] \setuptagging   [state=start] \enabledirectives   [backend.usetags=mkiv]   \starttext   a   \stoptext is green with VeraPDF! Many thanks for your testing, Thomas. format={pdf/ua-2} is not defined I think, see: https:// source.contextgarden.net/tex/context/base/mkiv/lpdf-fmt.lua It’s

[NTG-context] Re: upload

2025-02-16 Thread Pablo Rodriguez via ntg-context
On 2/16/25 11:09, Thomas Meyer wrote: > \setupbackend[ > format={pdf/ua-1}, > profile={default_rgb.icc,default_gray.icc}, > ] > > \setuptagging >   [state=start] > > \enabledirectives >   [backend.usetags=mkiv] > >   \starttext >   a >   \stoptext > &

[NTG-context] Re: upload

2025-02-16 Thread Thomas Meyer
\setupbackend[ format={pdf/ua-1}, profile={default_rgb.icc,default_gray.icc}, ] \setuptagging   [state=start] \enabledirectives   [backend.usetags=mkiv]   \starttext   a   \stoptext is green with VeraPDF! format={pdf/ua-2} is not defined I think, see: https://source.contextgarden.net/tex

[NTG-context] Re: upload

2025-02-14 Thread Steffen Wolfrum
checked some >>> validators didn't like it and viewerd didn't do anything useful with it so >>> ity made no sense to waste more time on it. >>> >>> Just putting stuff in a pdf for the sake of having something is is tricky >>> because who kn

[NTG-context] Re: upload

2025-02-14 Thread Hans Hagen
d chatbots can interpret an untagged pdf quite well so we'll see. That said: we have tagging in mkiv ... no one really cared that much (no tools that use them) ... and in mkxl we updated it a bit (still no tools) only to find out that tagged pdf (and the standard) has become fluid, seems

[NTG-context] Re: Upgrade (and fresh installation) failing with lua error in supp-box.mkxl

2025-02-12 Thread Seann Aswell via ntg-context
ck traceback: ...ext/tex/texmf-context/tex/context/base/mkxl/node-ini.lmt:214: in metamethod 'index' ...ext/tex/texmf-context/tex/context/base/mkxl/supp-box.lmt:37: in local 'code' ...ext/tex/texmf-context/tex/context/base/mkiv/util-lua.lua:97: in field 'loadedluacode' .

[NTG-context] Re: Upgrade (and fresh installation) failing with lua error in supp-box.mkxl

2025-02-12 Thread Seann Aswell via ntg-context
ue (global 'mathematics') stack traceback: ...ext/tex/texmf-context/tex/context/base/mkxl/node-ini.lmt:214: in metamethod 'index' ...ext/tex/texmf-context/tex/context/base/mkxl/supp-box.lmt:37: in local 'code' ...ext/tex/te

[NTG-context] Re: Upgrade (and fresh installation) failing with lua error in supp-box.mkxl

2025-02-12 Thread Pavneet Arora via ntg-context
thematics') > >stack traceback: > >...ext/tex/texmf-context/tex/context/base/mkxl/node-ini.lmt:214: > > in metamethod 'index' > >...ext/tex/texmf-context/tex/context/base/mkxl/supp-box.lmt:37: > > in local 'code' > >

[NTG-context] Re: Upgrade (and fresh installation) failing with lua error in supp-box.mkxl

2025-02-12 Thread Hans Hagen
ase/mkxl/node-ini.lmt:214: in metamethod 'index' ...ext/tex/texmf-context/tex/context/base/mkxl/supp-box.lmt:37: in local 'code' ...ext/tex/texmf-context/tex/context/base/mkiv/util-lua.lua:97: in field 'loadedluacode' ...ext/tex/texm

[NTG-context] Upgrade (and fresh installation) failing with lua error in supp-box.mkxl

2025-02-12 Thread Pavneet Arora via ntg-context
; ...ext/tex/texmf-context/tex/context/base/mkxl/supp-box.lmt:37: in local 'code' ...ext/tex/texmf-context/tex/context/base/mkiv/util-lua.lua:97: in field 'loadedluacode' ...ext/tex/texmf-context/tex/context/base/mkiv/luat-env.lua:108: in field &#x

[NTG-context] Re: fatal error \placelist

2025-02-09 Thread Steffen Wolfrum
76fb1556f32e/fonts/otl/latinmodernmathcompanion-regular.tma' into '/Users/wolfrum/context-osx-arm64/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otl/latinmodernmathcompanion-regular.tmd' stripped fonts > otf loading > loading, optimizing,

[NTG-context] Re: fatal error \placelist

2025-02-09 Thread Steffen Wolfrum
ts (second stage) fonts > 'fallback modern rm 12pt' is loaded structure > sectioning > section @ level 3 : 0.0.1 -> test pages > flushing realpage 1, userpage 1, subpage 1 close source> level 1, order 2, name './placelist_test.tex' bac

[NTG-context] Mathdigits fallback does not work

2025-02-08 Thread Mohammad Hossein Bateni
$3+2=5 \quad \bf 3+2=5$ > \stoptext The logs contain the following, which shows dejavusansmono is not loaded. mkiv lua stats > loaded fonts: 3 files: texgyredejavu-math.otf, > dejavuserif-bold.ttf, dejavuserif.ttf IIUC one issue is that setupbodyfont kind of undoes the usetypescript command b

[NTG-context] Re: compact fonts, fake slanted and \definefallbackfamily (LMTX only)

2025-02-08 Thread Wolfgang Schuster
\definefontfamily. I’m experiencing this with LMTX only (MkIV is fine). I’m using current latest (2025.02.07 20:46). Could anyone confirm the issue? I can't reproduce the error and the following works as intended. \enableexperiments [fonts.compact] \definefallbackfamily [mainface] [rm] [Dejavu

[NTG-context] compact fonts, fake slanted and \definefallbackfamily (LMTX only)

2025-02-08 Thread Pablo Rodriguez via ntg-context
}] \setupbodyfont [mainface] \starttext αβγ9 some word others\\ \sl αβγ9 some word others \stoptext The only way to get slanted Greek is either with disabled compact fonts, or with fake slanted added to \definefontfamily. I’m experiencing this with LMTX only (MkIV is fine). I’m using

[NTG-context] Re: Typescripts

2025-02-06 Thread garulfo
Maybe: https://source.contextgarden.net/tex/context/fonts/mkiv/?search=type-imp- https://github.com/contextgarden/context/tree/main/tex/context/fonts/mkiv ___ If your question is of interest to others as well, please

[NTG-context] Re: Error when running context --make after updating context (FreeBSD)

2025-01-31 Thread Bruce Horrocks
mf-context/tex/context/base/mkxl/file-mod.lmt:78: attempt to > call a nil value (field 'getrunstate') > stack traceback: > ...ext/tex/texmf-context/tex/context/base/mkxl/file-mod.lmt:78: in local > 'code' > ...ext/tex/texmf-context/tex/context/base/mkiv

[NTG-context] Re: Another example of itemize

2025-01-31 Thread Mikael Sundqvist
> > Startup Folder: > C:\Users\Hermann\Downloads\context-win64\tex\texmf-context\tex\context\test\mkiv > > > > > > resolvers | formats | executing runner 'run luametatex format': > luametatex --jobname="./item.tex" --socket --shell-escape > -

[NTG-context] Re: Another example of itemize

2025-01-31 Thread Ursula Hermann
: C:\Users\Hermann\Downloads\context-mswin\tex\texmf-mswin\bin\context.exe --synctex=-1 "item" Startup Folder: C:\Users\Hermann\Downloads\context-win64\tex\texmf-context\tex\context\test\mkiv resolvers | formats | executing runner 'run luametatex format': luametatex -

[NTG-context] Error when running context --make after updating context (FreeBSD)

2025-01-28 Thread Potzilov K.
eld 'getrunstate') stack traceback: ...ext/tex/texmf-context/tex/context/base/mkxl/file-mod.lmt:78: in local 'code' ...ext/tex/texmf-context/tex/context/base/mkiv/util-lua.lua:97: in field 'loadedluacode' ...ext/tex/texmf-context/tex/context/base/mkiv/luat-en

[NTG-context] Re: How to load external lua library

2025-01-25 Thread krulis . tomas
In my (non-TeXlive) ConTeXt installation, I've found the file: $HOME/context/tex/texmf-context/tex/context/base/mkiv/util-jsn.lua and added the changes you mentioned (so the end of the file now is): package.loaded["util-jsn"] = json package.loaded.json= json return js

[NTG-context] Re: How to load external lua library

2025-01-24 Thread Hans Hagen
: 2024.12.30 16:14 LMTX fmt: 2025.1.24 int: english/english), I am hiting this error: ``` token call, execute: ...ext/tex/texmf-context/tex/context/base/mkiv/util-sql.lua:91: attempt to index a boolean value (local 'json') stack traceback: ...ext/tex/texmf-context/tex/context

[NTG-context] Re: How to load external lua library

2025-01-24 Thread krulis . tomas
/english), I am hiting this error: ``` token call, execute: ...ext/tex/texmf-context/tex/context/base/mkiv/util-sql.lua:91: attempt to index a boolean value (local 'json') stack traceback: ...ext/tex/texmf-context/tex/context/base/mkiv/util-sql.lua:91: in main chunk [C]:

[NTG-context] Re: Problem using Neo Euler in slides

2025-01-19 Thread a . kumar
tex', result './slide' fonts > latin modern fonts are not preloaded languages > language 'en' is active open source > level 1, order 3, name './slide.tex' open source > level 2, order 4, name 'env-slides.tex' open source

[NTG-context] Re: Fw: \usecitation with 2 \placebtxrendering call will produce error report

2025-01-16 Thread Hans Hagen
On 1/17/2025 2:42 AM, wangzhongtian wrote: hi, hans when building following code( also attached) using context (2024-11-01),lmtx will report an error. Is it a problem? when change line 2596 of mkiv/publ-ini.lua from local internal = specification.internal or "" to loca

[NTG-context] Fw: \usecitation with 2 \placebtxrendering call will produce error report

2025-01-16 Thread wangzhongtian
hi, hanswhen building following code( also attached) using context (2024-11-01),lmtx will report an error. Is it a problem?when change line 2596 of mkiv/publ-ini.lua from local internal = specification.internal or ""tolocal internal = specification.internal or 0, all is ok.\define

[NTG-context] Re: epub-mkiv-demo.tex and Calibre 's epub reader

2025-01-16 Thread Hans Hagen
On 1/13/2025 9:59 PM, garu...@azules.eu wrote: Hi all, With Debian, I created a /bin/mudraw $ cat /bin/mudraw #!/bin/sh mutool draw "$@" trying to compile the demo file: context epub-mkiv-demo.tex mtxrun --script epub --images epub-mkiv-demo.tex mtxrun --script epub --make epub

[NTG-context] Re: defining macros

2025-01-14 Thread Hans Hagen
makes them optional, not their definition/fencing? indeed, you could also do \tolerant\def\foo(#1){...} With \tolerant, we can not only forget about the last dodos (and even single dos), but also about \dosingleargument & friends, right? Are there cases where the MkIV way still makes s

[NTG-context] Re: defining macros

2025-01-14 Thread Henning Hraban Ramm
parameters is just a convention, i.e. only the handling of arguments makes them optional, not their definition/fencing? With \tolerant, we can not only forget about the last dodos (and even single dos), but also about \dosingleargument & friends, right? Are there cases where the MkIV way still m

[NTG-context] epub-mkiv-demo.tex and Calibre 's epub reader

2025-01-13 Thread garulfo
Hi all, With Debian, I created a /bin/mudraw $ cat /bin/mudraw #!/bin/sh mutool draw "$@" trying to compile the demo file: context epub-mkiv-demo.tex mtxrun --script epub --images epub-mkiv-demo.tex mtxrun --script epub --make epub-mkiv-demo the demo stopped just after by trying t

[NTG-context] Re: JPEG 2000 extensions

2025-01-11 Thread Jim
Hi Hans, On Sat, Jan 11, 2025 at 11:48 (+0100), Hans Hagen wrote: > On 1/11/2025 1:47 AM, Jim wrote: >> Hi, >> in .../tex/texmf-context/tex/context/base/mkiv/grph-inc.lua I see (at line >> 333) >> ["jp2"]= { list = { "jp2" }

[NTG-context] Re: JPEG 2000 extensions

2025-01-11 Thread Hans Hagen
On 1/11/2025 1:47 AM, Jim wrote: Hi, in .../tex/texmf-context/tex/context/base/mkiv/grph-inc.lua I see (at line 333) ["jp2"]= { list = { "jp2" } }, That is (AIUI) the proper extension for JPEG2000 (Part 1) images. The JPEG2000 (Part 2) images I looked at

[NTG-context] JPEG 2000 extensions

2025-01-10 Thread Jim
Hi, in .../tex/texmf-context/tex/context/base/mkiv/grph-inc.lua I see (at line 333) ["jp2"]= { list = { "jp2" } }, That is (AIUI) the proper extension for JPEG2000 (Part 1) images. The JPEG2000 (Part 2) images I looked at have the same magic bytes as listed

[NTG-context] Math kerns

2024-12-23 Thread Julius Ross
! Julius context --version mtx-context | ConTeXt Process Management 1.06 mtx-context | mtx-context | main context file: /Users/juliusross/context/tex/texmf-context/tex/context/base/mkiv/context.mkiv mtx-context | current version: 2024.11.01 19:19 mtx-context | main context file

[NTG-context] Issue loading an otf variable font

2024-12-18 Thread Florent Michel
: [172 29 80] n=3 otf reader > fatal error in file '/home/florent/.local/share/fonts/SourceCodeVF-Upright.otf': /home/florent/lmtx/tex/context/base/mkxl/font-cff.lmt:1956: attempt to perform arithmetic on a nil value (field '?') stack traceback: /home/florent/lmtx/tex/context

[NTG-context] Re: can’t make a format with LMTX (Docker/linuxmusl)

2024-12-17 Thread Bruce Horrocks
ards, lua error > lua error on line 18 in file file-mod.mklx: token call, execute: ...ext/tex/texmf-context/tex/context/base/mkxl/file-mod.lmt:78: attempt to call a nil value (field 'getrunstate') stack traceback: ...ext/tex/texmf-context/tex/context/base/mkxl/file-mod

[NTG-context] Re: understanding \writetolist and \writebetweenlist

2024-12-17 Thread Henning Hraban Ramm
line 105) it looks like it was something introduced to deal with an issue in mkiv that no longer applies? Hard to tell without comparing both versions in detail. I can't create a test example that shows a difference. * In my notes, I found the remark that "between" items should be anch

[NTG-context] Re: understanding \writetolist and \writebetweenlist

2024-12-15 Thread Bruce Horrocks
c-lst.mkxl (line 105) it looks like it was something introduced to deal with an issue in mkiv that no longer applies? Hard to tell without comparing both versions in detail. I can't create a test example that shows a difference. > * In my notes, I found the remark that "between&quo

  1   2   3   4   5   6   7   8   9   10   >