Re: [NTG-context] Page break with placement of a figure at the bottom of the page

2022-11-13 Thread Fabrice Couvreur via ntg-context
x e} étage ? \stopitem \startitem On considère la fonction {\tt \darkred pyramide()} ci-contre programmée en langage Python. À quoi correspond le nombre renvoyé par {\tt \darkred pyramide(3)} ? \stopitem

[NTG-context] Context crashes using Iosevka v16.3.6 typeface

2022-11-12 Thread Werner Schmidt via ntg-context
this issue? Thanks in advance. Werner --- test_iosevka. tex % Win 10 Enterprise, x64, 10.0.19042 Build 19042 % ConTeXt ver: 2022.10.22 11:23 LMTX fmt: 2022.11.12 int: english/english % fatal error: /font-dsp-macro.lua:2336: attempt to index a nil value (local

Re: [NTG-context] LMTX: reimplementing texquotes as OTF feature

2022-11-11 Thread Hans Hagen via ntg-context
l to “ using the substitute feature. This works for TeX Gyre Schola. But perhaps someone knows a nicer way. 2) This approach doesn't work for lmodern or palatino, I still get "' as inch-sign/quote there... anything else I need to tweak for these fonts? \startluacode

[NTG-context] LMTX: reimplementing texquotes as OTF feature

2022-11-11 Thread Leah Neukirchen via ntg-context
in the same ligature feature, as it will overwrite the table entry with a duplicate key. After some fiddling, I decided to map "' to a Unicode PUA symbol and then add a second feature that maps this symbol to “ using the substitute feature. This works for TeX Gyre Schola. Bu

[NTG-context] problem with Segoe Ui Symbol as fallback font

2022-11-07 Thread Henning Hraban Ramm via ntg-context
I’d like to set Segoe UI Symbol as fallback for all missing glyphs. But it doesn’t work, I get an error like registered function call [1145]: ...-14/tex/texmf-context/tex/context/base/mkxl/math-act.lmt:2339: attempt to perform arithmetic on a nil value (field 'depth') stack .

Re: [NTG-context] \jobname and \doifelse

2022-11-06 Thread Pablo Rodriguez via ntg-context
On 11/6/22 11:21, Hans Hagen via ntg-context wrote: > [...] > More relevan tis that you'r on TeX where catcodes matter > (here letter vs other) > >\doifelse{\inputfilebarename}{oeps} > {yes}{no} > >\doifelse{\detokenize\expandafter{\jobname}}{\deto

Re: [NTG-context] \jobname and \doifelse

2022-11-06 Thread Pablo Rodriguez via ntg-context
On 11/5/22 16:55, Wolfgang Schuster via ntg-context wrote: > Pablo Rodriguez via ntg-context schrieb am 05.11.2022 um 16:30: >> >>\doifelse{\jobname}{a} >> {yes}{no} >> >> I get "no" as in TeX and "yes" with Lua, being "a.tex"

Re: [NTG-context] \jobname and \doifelse

2022-11-06 Thread Hans Hagen via ntg-context
t;yes") else context("no") end \stopluacode \stoptext I get "no" as in TeX and "yes" with Lua, being "a.tex" the source file. The TeX conditional used to work before. Am I missing something or have I hit a bug? I’m on Linux64 (if this may be r

Re: [NTG-context] \jobname and \doifelse

2022-11-05 Thread Wolfgang Schuster via ntg-context
t;yes") else context("no") end \stopluacode \stoptext I get "no" as in TeX and "yes" with Lua, being "a.tex" the source file. The TeX conditional used to work before. Am I missing something or have I hit a bug? Are you sure the check worke

[NTG-context] \jobname and \doifelse

2022-11-05 Thread Pablo Rodriguez via ntg-context
Dear list, using current latest (2022.10.22 11:23), I have the following sample: \starttext \doifelse{\jobname}{a} {yes}{no} \jobname \startluacode if tex.jobname == "a" then context("yes") else context("no") end \stopluacode \stop

Re: [NTG-context] \definemeasure / \dimexpr

2022-11-04 Thread Henning Hraban Ramm via ntg-context
? In my "real work" layout, the above approach was not always possible. I looked into “TeX by topic”, but Eijkhout shows only how to use \multiply and \advance. (Tried that, worked only partly.) I was also thinking about doing the whole thing in Lua (CLD), but it’s mostly setups, and

Re: [NTG-context] \definemeasure / \dimexpr

2022-11-04 Thread Henning Hraban Ramm via ntg-context
'\dimexpr' in horizontal mode """ Here’s my MWE: """ \definemeasure[PageWidth][132mm] \definemeasure[FlapWidth][\measured{PageWidth} * 0.8] \starttext FlapWidth: \measure{FlapWidth} \stoptext """ Results in: FlapWidth:

Re: [NTG-context] font features

2022-11-03 Thread Henning Hraban Ramm via ntg-context
for me ATM, because the server script is not found in the current directory (might be a misconfiguration on my side). If you cd to .../tex/texmf-context/scripts/context/lua, start mtxrun --script server --start then open http://localhost:8088/mtx-server-ctx-fonttest.lua You should be able to

Re: [NTG-context] context --autopdf and --showdirectives

2022-11-01 Thread Hans Hagen via ntg-context
color 0xCC instead of e.g. "open". There’s a hint about "directives_pdfview_method", so I wanted to find out more about directives: "context --showdirectives" looks promising; it tells me "result saved in file: .../texmf-context/tex/context/base/mkiv/mtx

[NTG-context] context --autopdf and --showdirectives

2022-10-31 Thread Henning Hraban Ramm via ntg-context
about "directives_pdfview_method", so I wanted to find out more about directives: "context --showdirectives" looks promising; it tells me "result saved in file: .../texmf-context/tex/context/base/mkiv/mtx-context-setters.pdf", but that file isn’t there; it is actu

Re: [NTG-context] something’s wrong with \definefontfallback

2022-10-30 Thread Henning Hraban Ramm via ntg-context
] [default][fallbacks=seguiFB] (Intention is to take all missing characters from this symbol font.) But with current LMTX, I get: tex error   > tex error on line 48 in file env_contextstart.tex: lua error:  registered function call [1145]: ...-14/tex/texmf-context/tex/context/b

Re: [NTG-context] something’s wrong with \definefontfallback

2022-10-30 Thread Hans Hagen via ntg-context
missing characters from this symbol font.) But with current LMTX, I get: tex error   > tex error on line 48 in file env_contextstart.tex: lua error: registered function call [1145]: ...-14/tex/texmf-context/tex/context/base/mkxl/math-act.lmt:2339: attempt to perform arithmetic o

[NTG-context] something’s wrong with \definefontfallback

2022-10-30 Thread Henning Hraban Ramm via ntg-context
get: tex error > tex error on line 48 in file env_contextstart.tex: lua error: registered function call [1145]: ...-14/tex/texmf-context/tex/context/base/mkxl/math-act.lmt:2339: attempt to perform arithmetic on a nil value (field 'depth') stack traceback: ...-14/tex/texm

Re: [NTG-context] "true" units in LuaMetaTeX

2022-10-27 Thread Hans Hagen via ntg-context
.tex uses truein for typesetting the footnote rule. It's trivial to fix that specific case, but I'm finding 140 other files in TeX Live that use the "true" dimensions, 69 of which that have been updated in the past 3 years. I doubt that anyone in ConTeXt uses the "true" dim

Re: [NTG-context] "true" units in LuaMetaTeX

2022-10-27 Thread Max Chernoff via ntg-context
fix that specific case, but I'm finding 140 other files in TeX Live that use the "true" dimensions, 69 of which that have been updated in the past 3 years. I doubt that anyone in ConTeXt uses the "true" dimensions though. > I don't check github, it's mostly

Re: [NTG-context] "true" units in LuaMetaTeX

2022-10-27 Thread Hans Hagen via ntg-context
0pt\relax \stoptext I get this output: tex error > tex error on line 2 in file ./lmtx-true.tex: Valid keyword expected, likely 'true' \vrule width 1truei n height 1pt depth 0pt\relax 1 \starttext 2 >> \vrule width

[NTG-context] "true" units in LuaMetaTeX

2022-10-26 Thread Max Chernoff via ntg-context
Hi Hans, The unit scanner in LuaMetaTeX fails for any of the "true" dimensions.  With this test file: \starttext \vrule width 1truein height 1pt depth 0pt\relax \vrule width 1in height 1pt depth 0pt\relax \stoptext I get this output: tex error >

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

2022-10-25 Thread Pablo Rodriguez via ntg-context
cker.ietf.org/doc/html/rfc3986#section-2.3). Other ones (such as "ö") have to be escaped. This is why only the sample containing the escaped "ö" (as "%C3%B6" [which TeX needs to escape again]) worked for you. It seems that depending on the PDF viewer (and I guess the

Re: [NTG-context] Fwd: Hyphenation in multi-language projects

2022-10-24 Thread Pablo Rodriguez via ntg-context
On 10/24/22 17:09, Hans Hagen via ntg-context wrote: >> [...] >> Hans, is there any news regarding Pablos wish? > no, because I'm in a different tex mode ... Steffen, meanwhile, a way of crappy cheating... \setuphyphenation[method=traditional] \doloopoverlist{en,

Re: [NTG-context] Fwd: Hyphenation in multi-language projects

2022-10-24 Thread Hans Hagen via ntg-context
ake a look at this, Pablo Hans, is there any news regarding Pablos wish? no, because I'm in a different tex mode ... Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8

Re: [NTG-context] Backgrounds has changed in latest lmtx

2022-10-23 Thread Hans Hagen via ntg-context
On 10/23/2022 10:10 PM, Thomas A. Schmitz via ntg-context wrote: On 10/23/22 21:54, Leah Neukirchen wrote: FWIW I get the error too on linux64. OK, found it. File lmtx/tex/texmf-context/tex/context/fonts/mkiv/xits-math.lfg is missing the lines local common  = fonts.goodies.load("c

Re: [NTG-context] Backgrounds has changed in latest lmtx

2022-10-23 Thread Thomas A. Schmitz via ntg-context
On 10/23/22 21:54, Leah Neukirchen wrote: FWIW I get the error too on linux64. OK, found it. File lmtx/tex/texmf-context/tex/context/fonts/mkiv/xits-math.lfg is missing the lines local common = fonts.goodies.load("common-math.lfg") local presets = common.mathematics.tweaks.prese

Re: [NTG-context] Backgrounds has changed in latest lmtx

2022-10-23 Thread Mikael Sundqvist via ntg-context
t; real file dies with this error: > > fatal lua error: > > registered function call [1141]: > ...x/tex/texmf-context/tex/context/fonts/mkiv/xits-math.lfg:61: attempt > to index a nil value (global 'presets') > stack traceback: > ...x/tex/texmf-context/tex

Re: [NTG-context] Backgrounds has changed in latest lmtx

2022-10-23 Thread Thomas A. Schmitz via ntg-context
On 10/23/22 15:51, Hans Hagen wrote: there was another fix yesterday (already uploaded) Hans Ah sorry, I missed that! It runs with my test file now, thanks! But my real file dies with this error: fatal lua error: registered function call [1141]: ...x/tex/texmf-context/tex/context

[NTG-context] My little example

2022-10-19 Thread Ursula Hermann via ntg-context
Dear List, Maybe someone can need this. Uschi file1.tex Description: file1.tex ___ 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] new upload

2022-10-18 Thread Pablo Rodriguez via ntg-context
r what am I missing here? >> Is there anything that I could to to improve the download process? > If per-file is slow at you end you can try to just install the whole lot > (just delete the tex tree or at least the tma file that stores the > hashes) because then the zip is downloaded and

Re: [NTG-context] new upload

2022-10-17 Thread Hans Hagen via ntg-context
(although this doesn’t seem to change anything in my case): and find(s,"protocols") Is there anything that I could to to improve the download process? If per-file is slow at you end you can try to just install the whole lot (just delete the tex tree or at least the tma file that sto

Re: [NTG-context] new upload

2022-10-17 Thread Hans Hagen via ntg-context
re typeset correctly with previous versions. Has Metapost changed some crucial settings ? some mp->tex interfacing macros were upgraded but that should not really matter much so i need an example of what goes wrong (quite some month ago we fixed some left/right page related interfacing but that shoul

Re: [NTG-context] synctex problem

2022-10-15 Thread Gavin via ntg-context
Hi Alan, I have an almost identical set-up (M1, MacOS12.6, TexShop, useAlternatePath, useConTeXtSyncParser). One important difference, I use sync method: SyncTeX (TeX ≥ 2010) I’d recommend trying that. There are some other differences in my setup that probably are not important. At the

[NTG-context] synctex problem

2022-10-15 Thread Alan Bowen via ntg-context
At the top of a single source file, I have the lines: % !TEX root = prd_Aestimatio-0301.tex % the root file % !TEX TS-program = ConTeXt2021 % !TEX useAlternatePath % !TEX useConTeXtSyncParser \setupsynctex[state=start, method=max] Syncing works well enough—though I can see no difference

Re: [NTG-context] new upload

2022-10-15 Thread Hans Hagen via ntg-context
On 10/15/2022 10:48 AM, Pablo Rodriguez via ntg-context wrote: On 10/15/22 09:41, Hans Hagen via ntg-context wrote: On 10/14/2022 4:14 PM, Pablo Rodriguez via ntg-context wrote: [...] Many thanks for the new version, Hans. I have discovered that it includes in tex/texmf-context/source

Re: [NTG-context] new upload

2022-10-15 Thread Pablo Rodriguez via ntg-context
On 10/15/22 09:41, Hans Hagen via ntg-context wrote: > On 10/14/2022 4:14 PM, Pablo Rodriguez via ntg-context wrote: >> [...] >> Many thanks for the new version, Hans. >> >> I have discovered that it includes in >> tex/texmf-context/source/luametatex what should

Re: [NTG-context] (any) neovim users?

2022-10-15 Thread Hans Hagen via ntg-context
On 10/14/2022 5:00 PM, Alan Braslau via ntg-context wrote: A recent upgrade of the editor neovim leads to the following error when using %&context identification at the head of .tex source files. Error detected while processing BufReadPost Autocommands for "*": Error executin

Re: [NTG-context] new upload

2022-10-15 Thread Hans Hagen via ntg-context
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 on a

Re: [NTG-context] issues with current latest

2022-10-15 Thread Hans Hagen via ntg-context
tex --luaonly "/opt/context/tex/texmf-linux-64/bin/mtxrun.lua" --script mtx-context --luatex test.tex --redirected mtxrun | unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua' This happens when the luatex cache is cleared and the context format is not

Re: [NTG-context] issues with current latest

2022-10-15 Thread Hans Hagen via ntg-context
t you have to give the full script path here to mtxrun Thanks! Running: luatex --luaonly "/opt/context/tex/texmf-linux-64/bin/mtxrun.lua" --script /opt/context/tex/texmf-context/scripts/context/lua/mtx-context.lua --luatex --make --redirected has fixed the format issue. I now unfor

Re: [NTG-context] issues with current latest

2022-10-14 Thread Max Chernoff via ntg-context
ou have to give the full script path here to mtxrun Thanks! Running: luatex --luaonly "/opt/context/tex/texmf-linux-64/bin/mtxrun.lua" --script /opt/context/tex/texmf-context/scripts/context/lua/mtx-context.lua --luatex --make --redirected has fixed the format issue.  I now unfor

Re: [NTG-context] issues with current latest

2022-10-14 Thread Max Chernoff via ntg-context
Hi Alan, On Fri, 2022-10-14 at 16:20 -0600, Alan Braslau wrote: > On Fri, 14 Oct 2022 15:38:52 -0600 > Max Chernoff via ntg-context wrote: > > >$ context --luatex test.tex >mtx-context | redirect luametatex -> luatex: luatex --luaonly > "/opt/c

Re: [NTG-context] issues with current latest

2022-10-14 Thread Alan Braslau via ntg-context
On Fri, 14 Oct 2022 15:38:52 -0600 Max Chernoff via ntg-context wrote: $ context --luatex test.tex mtx-context | redirect luametatex -> luatex: luatex --luaonly "/opt/context/tex/texmf-linux-64/bin/mtxrun.lua" --script mtx-context --luatex test.tex --redirec

Re: [NTG-context] issues with current latest

2022-10-14 Thread Max Chernoff via ntg-context
Hi Pablo, > I’m afraid that I cannot make latest from 2022.10.14 10:16 with LuaTeX. > > I’m on Linux64. I've got the same configuration and I'm getting the same results: $ context --luatex test.tex mtx-context | redirect luametatex -> luatex: luatex --luao

Re: [NTG-context] (any) neovim users?

2022-10-14 Thread Nicola via ntg-context
rror >> > when using %&context identification at the head of .tex source >> > files. >> >> The ConTeXt plugin (as well as MetaPost and MetaFont ones) has >> recently been rewritten in Vim 9 script (the new scripting language >> embedded in Vim), which NeoVim does not

Re: [NTG-context] (any) neovim users?

2022-10-14 Thread Alan Braslau via ntg-context
On Fri, 14 Oct 2022 16:48:42 - (UTC) Nicola via ntg-context wrote: > On 2022-10-14, Alan Braslau via ntg-context > wrote: > > A recent upgrade of the editor neovim leads to the following error > > when using %&context identification at the head of .tex source > &g

Re: [NTG-context] (any) neovim users?

2022-10-14 Thread Nicola via ntg-context
On 2022-10-14, Alan Braslau via ntg-context wrote: > A recent upgrade of the editor neovim leads to the following error > when using %&context identification at the head of .tex source files. The ConTeXt plugin (as well as MetaPost and MetaFont ones) has recently been rewritten in Vi

[NTG-context] (any) neovim users?

2022-10-14 Thread Alan Braslau via ntg-context
A recent upgrade of the editor neovim leads to the following error when using %&context identification at the head of .tex source files. Error detected while processing BufReadPost Autocommands for "*": Error executing lua callback: /usr/local/share/nvim/runtime/lua/vim/filet

Re: [NTG-context] new upload

2022-10-14 Thread Alan Braslau via ntg-context
On Fri, 14 Oct 2022 16:14:01 +0200 Pablo Rodriguez via ntg-context wrote: > I have discovered that it includes in > tex/texmf-context/source/luametatex what should be the LMTX source > (about 11MB). > > I wonder whether this could be made optional. Internet speed is not > con

[NTG-context] issues with current latest

2022-10-14 Thread Pablo Rodriguez via ntg-context
4 10:16) \stopsection \stoptext If I try to compile with LuaTeX (after deleting the cache), I get the following error: lua error > lua error on line 1 in file a.tex: ...tex/texmf-context/tex/context/fonts/mkiv/common-math.lfg:100: attempt to index a nil value (field 'sub

Re: [NTG-context] new upload

2022-10-14 Thread Pablo Rodriguez via ntg-context
r) 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). I wonder whether this could be made optional. Internet speed is not constant where I live and

Re: [NTG-context] ConTeXt Standalone does not works on macOS Monterey with Apple M2 chip

2022-10-10 Thread Hans Hagen via ntg-context
works. The log tells me: This is LuaTeX, Version 1.13.0 (TeX Live 2021) Compiling with LMTX, i read: ConTeXt  ver:  2022.09.11 20:44 LMTX And compiling with MkIV (of the TeX Live 2022): This is LuaTeX, Version 1.15.0 (TeX live 2022) in a setup where lmtx is leading mtxrun/context will use luame

Re: [NTG-context] ConTeXt Standalone does not works on macOS Monterey with Apple M2 chip

2022-10-10 Thread Tommaso Gordini via ntg-context
; folder (where I install Standalone) on the disk weighs only 7MB (the tex > tree is created, but its folders are empty). > > I've never had a problem installing it on my old computer (Intel > processor). > > > > Do you know if it is a known problem? > > It should

Re: [NTG-context] ConTeXt Standalone does not works on macOS Monterey with Apple M2 chip

2022-10-10 Thread Tommaso Gordini via ntg-context
While waiting for Mojca's attempts, for the moment I solved it by simply copying the folder of the old Mac in which I had installed the Standalone to the Mac M2. I have slightly modified the TeXShop scripts and everything works. The log tells me: This is LuaTeX, Version 1.13.0 (TeX Live

Re: [NTG-context] ConTeXt Standalone does not works on macOS Monterey with Apple M2 chip

2022-10-10 Thread Mojca Miklavec via ntg-context
-MkIV folder > > (where I install Standalone) on the disk weighs only 7MB (the tex tree is > > created, but its folders are empty). > > I've never had a problem installing it on my old computer (Intel processor). > > > > Do you know if it is a known problem? >

Re: [NTG-context] ConTeXt Standalone does not works on macOS Monterey with Apple M2 chip

2022-10-09 Thread Mojca Miklavec via ntg-context
on the disk weighs only 7MB (the tex tree is > created, but its folders are empty). > I've never had a problem installing it on my old computer (Intel processor). > > Do you know if it is a known problem? It should work, at least in theory. I'll check later today on our M1 mac

Re: [NTG-context] ConTeXt Standalone does not works on macOS Monterey with Apple M2 chip

2022-10-09 Thread Max Chernoff via ntg-context
Hi Tommaso, > I'm trying to install ConTeXt Standalone on my Mac (macOS 12.6 Monterey and > Apple M2 chip) but at the end of the installation the ConTeXt-MkIV folder > (where I install Standalone) on the disk weighs only 7MB (the tex tree is > created, but its folders are emp

[NTG-context] ConTeXt Standalone does not works on macOS Monterey with Apple M2 chip

2022-10-09 Thread Tommaso Gordini via ntg-context
Hello list, I'm trying to install ConTeXt Standalone on my Mac (macOS 12.6 Monterey and Apple M2 chip) but at the end of the installation the ConTeXt-MkIV folder (where I install Standalone) on the disk weighs only 7MB (the tex tree is created, but its folders are empty). I've never had

Re: [NTG-context] Apostrophe entity using \xmltexentity is ignored

2022-10-08 Thread Max Chernoff via ntg-context
\xmltexentity{lsquo}{YYY} \xmltexentity{rsquo}{ZZZ} \xmltexentity{laquo}{«} \xmltexentity{raquo}{»} then you get this output: xml > tex > registering tex entity 'apos' as 'XXX' xml > tex > regis

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

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

2022-10-05 Thread Pablo Rodriguez via ntg-context
Leah, this issue also happens with PDF.js included in Firefox. TeX Gyre Heros is even clearer with dubious hinting. It has been already reported (https://bugzilla.mozilla.org/show_bug.cgi?id=1781022). But even with variable fonts from Adobe (https://github.com/adobe-fonts/source-code-pro/rel

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

2022-10-03 Thread Max Chernoff via ntg-context
Hi Taco, Michal, > > > > > /home/qasar/Stažené/cont/tex/texmf-context/context/data/vscode/extensions/context/node_modules/vsce/out/package.js:136 > > > return (translations ?? []) > > > ^ That's the "Nullish coalescing ope

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

2022-10-03 Thread Taco Hoekwater via ntg-context
n.net > > Hi! > > I tried to use the VS Code extension described in > https://wiki.contextgarden.net/VSCode <https://wiki.contextgarden.net/VSCode> > but in > > xxx > > I got the following error: > > /home/qasar/Stažené/cont/tex/texmf-context/context/data

Re: [NTG-context] Missing letters and numbers in printout

2022-09-29 Thread Pablo Rodriguez via ntg-context
e distribution,) sometimes, for some people or for some of > their files. Hi Ángel, there is nothing that prevents this to be fixed (as far as I know). TeXLive is still using LuaTeX as default for ConTeXt. This will be hopefully changed in next release of TeX Live (according to https://mailman

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

2022-09-28 Thread Leah Neukirchen via ntg-context
found. >> I have patched TikZ for now to match for this alternate string too. > > a bit weird way to test a key .. maybe you can compare to > > \edef\ThatQuote{\meaning/} > > using \ifx > >> But perhaps it would be better for compatibility to agree with the >&

Re: [NTG-context] new hash for buffer (as file)

2022-09-26 Thread Max Chernoff via ntg-context
Hi Hans, Pablo, > > But I do agree that the line ending handling seems a little odd. I find it > > surprising that the buffers internally use CR line endings since no systems > > in the past 20 years use that. > > how about tex ... > > \number\endlinechar > \nu

Re: [NTG-context] Missing letters and numbers in printout

2022-09-26 Thread Angel M Alganza via ntg-context
On Mon, Sep 26, 2022 at 07:10:40PM +0200, Pablo Rodriguez via ntg-context wrote: BTW, is TeX Gyre Heros the font with missing chars in the printed version of your PDF document? It doesn't seem to be that: $ pdffonts a6.pdf name type enc

Re: [NTG-context] new hash for buffer (as file)

2022-09-26 Thread Hans Hagen via ntg-context
t of any file written will depend on the system's default code page, which would complicate making reproducible hashes. For more than two decades, all my TeX sources are written in UTF-8. I thought that ConTeXt would output the same character encoding as in the source file when saving a buffer

Re: [NTG-context] new hash for buffer (as file)

2022-09-26 Thread Pablo Rodriguez via ntg-context
oes, then that means that the binary > content of any file written will depend on the system's default code page, > which would complicate making reproducible hashes. For more than two decades, all my TeX sources are written in UTF-8. I thought that ConTeXt would output the same chara

Re: [NTG-context] Missing letters and numbers in printout

2022-09-26 Thread Pablo Rodriguez via ntg-context
ain the change > in behaviour I'm seeing? Could it be that the previous versions I used > somehow embeded the fonts into the PDF file but the current one doesn't? Again, I’d very surprised if that were the case. BTW, is TeX Gyre Heros the font with missing chars in the printed

Re: [NTG-context] new hash for buffer (as file)

2022-09-26 Thread Hans Hagen via ntg-context
ng that the buffers internally use CR line endings since no systems in the past 20 years use that. how about tex ... \number\endlinechar \number\numexpr`M-`A+1\relax % plain sets up `^^M ... you don't want to know how much hassle dealing with line endings in tex is Also, you should p

Re: [NTG-context] PDF viewer

2022-09-25 Thread Pablo Rodriguez via ntg-context
's open source and written in JavaScript, so we should be able to add >> anything that's missing. > > I found a nasty bug in firefox. > > https://mailman.ntg.nl/pipermail/ntg-context/2022/105212.html > > https://bugzilla.mozilla.org/show_bug.cgi?id=1781022 As Jon

Re: [NTG-context] Spacing in \unit

2022-09-25 Thread Gavin via ntg-context
do > >> Finally, \unit does not play nicely with surrounding spaces. For example: >> $2\pi\,\unit{3.00e8 kg m/s}$ >> causes a fatal error: >> tex error > tex error on line 9 in file ./Untitled.tex: Incompatible >> glue units (case 1) > t

Re: [NTG-context] Spacing in \unit

2022-09-25 Thread Hans Hagen via ntg-context
icely with surrounding spaces. For example: $2\pi\,\unit{3.00e8 kg m/s}$ causes a fatal error: tex error > tex error on line 9 in file ./Untitled.tex: Incompatible glue units (case 1) that's an interesting case for the engine (Mixing regular and mu skips and so) ... we might

[NTG-context] Spacing in \unit

2022-09-25 Thread Gavin via ntg-context
a fatal error: tex error > tex error on line 9 in file ./Untitled.tex: Incompatible glue units (case 1) \phys_units_direct #1->\begingroup \the \everyunits \ifdim \lastskip >\zeropoint \settrue \c_phys_units_dospace \removelastskip \fi \c_phys_digits_method \unitpar

Re: [NTG-context] PDF viewer

2022-09-23 Thread Henning Hraban Ramm via ntg-context
). But anyway, that could shift our focus to add/enable features for pdf.js in TeX editors. - PDF 2.0 compatible It can open PDF 2.0 files, but I doubt that it supports every single feature. I won’t expect every feature, there are too many. Actually I don’t know which features of PDF 2.0 H

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

2022-09-22 Thread Hans Hagen via ntg-context
preloading latin modern fonts (second stage) fonts > 'fallback modern-designsize rm 12pt' is loaded tex error > tex error on line 8 in file ./tik.tex: Package pgfkeys Error: I do not know the key '/tikz/"{A}"{}' and I am going to ignore it. Perh

[NTG-context] new hash for buffer (as file)

2022-09-22 Thread Pablo Rodriguez via ntg-context
’t need to save the buffer to attach it to the PDF document. My question is how to define \shabufferfile to avoid \savebuffer (only required to get the hash). An approach would be the following one. If I’m not totally wrong, "savebuffer" (https://github.com/contextgarden/context/blob/main/te

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

2022-09-22 Thread Leah Neukirchen via ntg-context
'fallback modern-designsize rm 12pt' is loaded tex error > tex error on line 8 in file ./tik.tex: Package pgfkeys Error: I do not know the key '/tikz/"{A}"{}' and I am going to ignore it. Perhaps you misspelled it.^^J...^^Jl.7 I think the culprit is a tikzcd

Re: [NTG-context] cannot update ConTeXt to 2022.09.16

2022-09-21 Thread Pablo Rodriguez via ntg-context
gt;>2022.09.11 20:44 > which is fine ... there is no later update ... Mojca and I are setting > up repositories and that happens in parallel (including an alternative > installer from git) Hi Hans, sorry, but I’m afraid I get from https://github.com/contextgarden/context/blob/main/t

[NTG-context] Lato typescripts (MKIV/LMTX)

2022-09-17 Thread Adam Reviczky via ntg-context
Lato-ThinItalic.ttf close source> level 2, order 6, name '/usr/share/texmf/tex/context/fonts/mkiv/type-imp-lato.mkiv' fonts > defining > font with asked name 'lato-regular' is not found using lookup 'file' fonts > defining > unab

Re: [NTG-context] Hyphenation in multi-language projects

2022-09-14 Thread Steffen Wolfrum via ntg-context
oper hyphenation?? >> >> Well I'm not sure if it's "correct", but it seems to work. Based on my >> testing, >> having three subsequent sets of groups ({A}{B}{C}) is converted to a >> discretionary. The discretionary hyphen "\-" is equiv

Re: [NTG-context] Latest ConTeXt won't "--make"

2022-09-14 Thread Max Chernoff via ntg-context
more information about these matters, see the file named COPYING and the LuaMetaTeX source. Functionality : level 20220825 Support : cont...@ntg.nl Copyright : The Lua(Meta)TeX Team(s) (2005-2022+) The LuaMetaTeX project is related to ConTeXt development.

Re: [NTG-context] Latest ConTeXt won't "--make"

2022-09-14 Thread Mikael Sundqvist via ntg-context
d >resolvers | resolving | loading configuration file > 'selfautoparent:/texmf/web2c/texmfcnf.lua' >[...] >resolvers | formats | using tex source file > '/opt/context/tex/texmf-context/tex/context/base/mkxl/cont-en.mkxl' >resolvers

Re: [NTG-context] Hyphenation in multi-language projects

2022-09-14 Thread Denis Maier via ntg-context
to a > discretionary. The discretionary hyphen "\-" is equivalent to the Plain TeX > command "\discretionary{-}{}{}", so > >\replaceword[hyphenations][steffen][steff{-}{}{}en] > > acts just like "steff\-en". TeX won't otherwise hyphenat

Re: [NTG-context] Hyphenation in multi-language projects

2022-09-13 Thread Max Chernoff via ntg-context
uot;\-" is equivalent to the Plain TeX command "\discretionary{-}{}{}", so \replaceword[hyphenations][steffen][steff{-}{}{}en] acts just like "steff\-en". TeX won't otherwise hyphenate a word with discretionaries, so this means that

[NTG-context] Latest ConTeXt won't "--make"

2022-09-13 Thread Max Chernoff via ntg-context
2c/texmfcnf.lua' [...] resolvers | formats | using tex source file '/opt/context/tex/texmf-context/tex/context/base/mkxl/cont-en.mkxl' resolvers | formats | using lua stub file '/opt/context/tex/texmf-context/tex/context/base/mkxl/luat-cod.lmt' resolvers | f

Re: [NTG-context] Cron /var/www/aanhet.net/context/bin/cron/context-mirror

2022-09-10 Thread Hans Hagen via ntg-context
er and instance If you want to run ConTeXt everywhere, you need to adapt the path, like:   export PATH=/Users/hraban/lmtx/tex/texmf-osx-64/bin:$PATH If you run from an editor you can specify the full path to mtxrun:   /Users/hraban/lmtx/tex/texmf-osx-64/bin/mtxrun --autogenerate --script co

Re: [NTG-context] Cron /var/www/aanhet.net/context/bin/cron/context-mirror

2022-09-10 Thread Henning Hraban Ramm via ntg-context
ed to adapt the path, like: export PATH=/Users/hraban/lmtx/tex/texmf-osx-64/bin:$PATH If you run from an editor you can specify the full path to mtxrun: /Users/hraban/lmtx/tex/texmf-osx-64/bin/mtxrun --autogenerate --script context --autopdf ... The following settings were

Re: [NTG-context] searching in the source browser

2022-09-05 Thread Max Chernoff via ntg-context
>$ grep -irl fi[eë][eë] context > >context/tex/texmf-context/tex/context/base/mkiv/char-def.lua > >context/tex/texmf-modules/tex/context/third/lilypond/t-lilypond.tex > > > > Althought regular expressions are fine, I don’t know why "fi[eë]+" > >

Re: [NTG-context] searching in the source browser

2022-09-05 Thread Henning Hraban Ramm via ntg-context
[eë][eë] context context/tex/texmf-context/tex/context/base/mkiv/char-def.lua context/tex/texmf-modules/tex/context/third/lilypond/t-lilypond.tex Althought regular expressions are fine, I don’t know why "fi[eë]+" doesn’t work in this case. Just in case it might help, Thank you

Re: [NTG-context] searching in the source browser

2022-09-05 Thread Hans Hagen via ntg-context
][eë] context context/tex/texmf-context/tex/context/base/mkiv/char-def.lua context/tex/texmf-modules/tex/context/third/lilypond/t-lilypond.tex Althought regular expressions are fine, I don’t know why "fi[eë]+" doesn’t work in this case. Just in case it might help, an oldie (the

Re: [NTG-context] searching in the source browser

2022-09-05 Thread Pablo Rodriguez via ntg-context
esults. > > E.g. I wanted to look for all trackers and/or directives. Hi Hraban, has it to be the source browser? I mean, I use grep in Linux (MSYS2 in Windows [and brew.sh is available for macOS]) and it works perfectly fine with ConTeXt. $ grep -irl fi[eë][eë] context context/tex/texm

Re: [NTG-context] zint module on LMTX

2022-09-04 Thread Hans Hagen via ntg-context
ed file 'libs-imp-zint' modules > 'zint' is loaded open source > level 2, order 3, name 'c:/Data/context/tex/texmf-context/tex/context/base/mkxl/libs-imp-zint.mkxl' resolvers > lua > loading file 'c:/Data/context/tex/texmf-context/tex

Re: [NTG-context] zint module on LMTX

2022-09-03 Thread Ivan Pešić via ntg-context
x27;zint' is loaded open source > level 2, order 3, name 'c:/Data/context/tex/texmf-context/tex/context/base/mkxl/libs-imp-zint.mkxl' resolvers > lua > loading file 'c:/Data/context/tex/texmf-context/tex/context/base/mkxl/libs-imp-zint.lmt' succeeded clo

Re: [NTG-context] Issue with setupMPvariables

2022-09-03 Thread Alexandre Christe via ntg-context
ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : https://contextgarden.net > > ___ > testColorParagraphs.tex Description: TeX document ___ If your question is of interest

[NTG-context] Issue with setupMPvariables

2022-09-03 Thread Alexandre Christe via ntg-context
Dear all, I'm trying to reuse some MP code for several custom enumeration. However I can't make the overall setup work, needless to say different border colors for each enumeration though setupMPvariables. What am I missing? MWE: see attachment testColorParagraphs.tex Descri

Re: [NTG-context] update old MP code

2022-09-01 Thread Henning Hraban Ramm via ntg-context
never know which function is part of MetaPost/MetaFun, my editor’s syntax highlighting is incomplete... Hraban moireetest.tex Description: TeX document ___ If your question is of interest to others as well, please add

Re: [NTG-context] update old MP code

2022-09-01 Thread Henning Hraban Ramm via ntg-context
; enddef; draw Moire(57.5mm)(200, 175, 150, 125, 100, 75); % ulshiftedto (142mm, 38.5mm); \stopreusableMPgraphic \starttext \reuseMPgraphic{moiree} \stoptext moireetest.tex Description: TeX document ___ If your questi

<    7   8   9   10   11   12   13   14   15   16   >