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

[NTG-context] update old MP code

2022-09-01 Thread Henning Hraban Ramm via ntg-context
MPgraphic{moiree} \stoptext - moireetest.tex Description: TeX document ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/l

Re: [NTG-context] accessing tex.sprint from pure Lua code.

2022-08-30 Thread Hans Hagen via ntg-context
On 8/30/2022 8:02 PM, Hans van der Meer wrote: In Terminal (say Unix window) calling lua some-file.lua and within that file code like tex.sprint ... token... Thus calling in the tex-library outside ConTeXt. no, tex is not a library .. but of course you can make a small tex file that wraps

Re: [NTG-context] accessing tex.sprint from pure Lua code.

2022-08-30 Thread Hans Hagen via ntg-context
On 8/30/2022 7:34 PM, Hans van der Meer via ntg-context wrote: How can ik access the tex library in pure Lua for tex.sprint and token.setmacro? I guess something like require XYZ ? what do you mean with pure lua Hans

[NTG-context] accessing tex.sprint from pure Lua code.

2022-08-30 Thread Hans van der Meer via ntg-context
How can ik access the tex library in pure Lua for tex.sprint and token.setmacro? I guess something like require XYZ ? dr. Hans van der Meer ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] Typearea module fails with “Missing number”

2022-08-29 Thread Wolfgang Schuster via ntg-context
Marco Patzer via ntg-context schrieb am 29.08.2022 um 09:49: On Mon, 29 Aug 2022 09:30:34 +0200 Marco Patzer via ntg-context wrote: The typearea module fails on LMTX (runs ok with MkIV): tex error > tex error on line 89 in file /usr/local/share/context-lmtx/tex/texmf-modules/

Re: [NTG-context] Typearea module fails with “Missing number”

2022-08-29 Thread Marco Patzer via ntg-context
On Mon, 29 Aug 2022 09:30:34 +0200 Marco Patzer via ntg-context wrote: > The typearea module fails on LMTX (runs ok with MkIV): > > tex error > tex error on line 89 in file > /usr/local/share/context-lmtx/tex/texmf-modules/tex/context/third/typearea/t-typearea.tex: &

[NTG-context] Typearea module fails with “Missing number”

2022-08-29 Thread Marco Patzer via ntg-context
Hi! The typearea module fails on LMTX (runs ok with MkIV): tex error > tex error on line 89 in file /usr/local/share/context-lmtx/tex/texmf-modules/tex/context/third/typearea/t-typearea.tex: Missing number, treated as zero LMTX 2022.08.25 19:21 Ma

Re: [NTG-context] No error when loading a non-existent module

2022-08-25 Thread Max Chernoff via ntg-context
t make sense for this to be an error by default? Nothing > > good can happen if a user loads a non-existent (or misspelled) module. > > Loading a non-existent file is a fatal error even in Plain TeX > > \nonstopmode. I think that making this an error by default would break > &g

Re: [NTG-context] No error when loading a non-existent module

2022-08-25 Thread Hans Hagen via ntg-context
loc (for local preferences) and cont-exp (for wolfgang and me) But wouldn't it make sense for this to be an error by default? Nothing good can happen if a user loads a non-existent (or misspelled) module. Loading a non-existent file is a fatal error even in Plain TeX \nonstopmode. I think that ma

Re: [NTG-context] No error when loading a non-existent module

2022-08-25 Thread Max Chernoff via ntg-context
Nothing good can happen if a user loads a non-existent (or misspelled) module. Loading a non-existent file is a fatal error even in Plain TeX \nonstopmode. I think that making this an error by default would break very few working documents. In exchange,

Re: [NTG-context] String substitution using regular expressions and backreferences

2022-08-25 Thread Thangalin via ntg-context
cUWidth \MacRule \kern.08\MacUWidth }% }% \xmlprocessbuffer{main}{main}{} As shown in the screen shot, this doesn't correctly handle nested XML elements. Any ideas on what approach to take to perform a string replacement in ConTeXt? Thanks again! [Your] input is XML which means a

Re: [NTG-context] C with macron

2022-08-25 Thread Hans Hagen via ntg-context
in the update is more interesting I tried, but I get the following error: modules > 'gimmicks' is loaded fonts > 'fallback modern-designsize rm 12pt' is loaded tex error > tex error on line 24 in file ./a.tex: Undefine

Re: [NTG-context] C with macron

2022-08-25 Thread Pablo Rodriguez via ntg-context
ate is more interesting I tried, but I get the following error: modules > 'gimmicks' is loaded fonts > 'fallback modern-designsize rm 12pt' is loaded tex error > tex error on line 24 in file ./a.tex: Undefined control sequence \unde

Re: [NTG-context] No error when loading a non-existent module

2022-08-24 Thread Hans Hagen via ntg-context
be changed so that a fatal error is issued when a loaded module cannot be found. Plain TeX, LaTeX, and OpTeX all throw an error whenever their versions of modules cannot be found, so ConTeXt is the odd one out here. There are 3 scenarios that I can think of for when you attempt to load a module

[NTG-context] No error when loading a non-existent module

2022-08-24 Thread Max Chernoff via ntg-context
cannot be found. Plain TeX, LaTeX, and OpTeX all throw an error whenever their versions of modules cannot be found, so ConTeXt is the odd one out here. There are 3 scenarios that I can think of for when you attempt to load a module, but it cannot be found: 1. A module provides some new command

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-24 Thread Michal Vlasák via ntg-context
other file if one sets TEXMF, very nice! One addition I had was the use of $TEXMFDOTDIR instead of "." as the first path in most variables, e.g.: TEXINPUTS = "$TEXMFDOTDIR;$TEXMF/tex/{context,plain/base,generic}//", instead of TEXINPUTS = ".;$TEXMF/tex/{context,plai

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-24 Thread Michal Vlasák via ntg-context
e even a Makefile like I had wouldn't be needed. > > > A bit of a disclaimer: I don't really recommend pursuing this further. > > > Some time ago I was also that foolish to try to package TeX for Linux > > > distributions. Unfortunately I think that the result will ne

Re: [NTG-context] Curling straight quotation marks

2022-08-24 Thread Thangalin via ntg-context
sform to XML, then pass the XML to ConTeXt. When I edit the document, I want to use ' and " without tying the document to TeX. This gives me a complete separation of content from presentation logic. Figured it might be helpful if other

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-24 Thread amano.kenji via ntg-context
That's great, bro. --- Original Message --- On Tuesday, August 23rd, 2022 at 7:13 PM, Aditya Mahajan via ntg-context wrote: > On Mon, 22 Aug 2022, amano.kenji via ntg-context wrote: > > > Wuh. That's a bit complex. > > > If you are packaging

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-23 Thread Aditya Mahajan via ntg-context
On Mon, 22 Aug 2022, amano.kenji via ntg-context wrote: > Wuh. That's a bit complex. If you are packaging any flavor of TeX, you need to understand TDS (TeX Directory Structure): https://tug.org/tds/ ConTeXt distributions are TDS compatible, but simplify certain aspects. Ess

Re: [NTG-context] Clipping multiple PDFs

2022-08-23 Thread Jethro Djan via ntg-context
\getfiguredimensions[\Doc] > \dorecurse{\noffigurepages} > {\externalfigure[\Doc] >[page=\recurselevel, width=20cm, scale=950]}} > \stoptext > > > I didn’t know how to get an array (or indexed table or whatever you > > call it) in ConTeXt/Tex. >

Re: [NTG-context] Clipping multiple PDFs

2022-08-23 Thread Pablo Rodriguez via ntg-context
recurselevel, width=20cm, scale=950]}} \stoptext > I didn’t know how to get an array (or indexed table or whatever you > call it) in ConTeXt/Tex. \doloopoverlist & \recursestring are your friends here. > My problem is now with context(context.noffigurepages). Am I calling > it wro

Re: [NTG-context] Clipping multiple PDFs

2022-08-23 Thread Aditya Mahajan via ntg-context
quot;} > for index=1,#pdffiles do > local f = doc(pdffiles[index]) > context.getfiguredimensions({f}) > disppdf(pdffiles[index]) > end > \stopluacode > \stoptext > > I didn’t know how to get an array (or indexed table or whatever you call it) > in ConT

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-23 Thread amano.kenji via ntg-context
> https://tug.org/TUGboat/tb34-3/tb108preining-distro.pdf Somebody needed to update TeX Live on Gentoo Linux. I'm going to read it. > From a developer perspective, this is essentially just the base ConTeXt > files, a modified texmfcnf.lua, and a fairly basic makefile. I'm

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-23 Thread amano.kenji via ntg-context
gt; > For distribution packages that depend on context for generation of PDF > > documents, having context as a system package is essential. > > > I'd say that ConTeXt is available in nearly every package manager, via > TeX Live. Very very few package managers would have no

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-22 Thread Max Chernoff via ntg-context
ckages that depend on context for generation of PDF > documents, having context as a system package is essential. I'd say that ConTeXt *is* available in nearly every package manager, via TeX Live. Very very few package managers would have no TeX Live. TeX Live only includes MkIV, the "s

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-22 Thread Alan via ntg-context
gt; that might make packaging for a particular OS easier, but this is > > not directly the responsibility of developers. > > > > Most OS packages require patches for particularities of that OS > > environment. LMTX Context, being minimal and fully portable, should > > be very ea

Re: [NTG-context] Clipping multiple PDFs

2022-08-22 Thread Jethro Djan via ntg-context
ss2", "ass3", "ass4", "ass5", "ass6", "ass7", "ass8"} for index=1,#pdffiles do local f = doc(pdffiles[index]) context.getfiguredimensions({f}) disppdf(pdffiles[index]) end \stopluacode \stoptext I didn’t know how to get

Re: [NTG-context] Clipping multiple PDFs

2022-08-22 Thread Jethro Djan via ntg-context
ss2", "ass3", "ass4", "ass5", "ass6", "ass7", "ass8"} for index=1,#pdffiles do local f = doc(pdffiles[index]) context.getfiguredimensions({f}) disppdf(pdffiles[index]) end \stopluacode \stoptext I didn’t know how to get

Re: [NTG-context] Clipping multiple PDFs

2022-08-22 Thread Jethro Djan via ntg-context
;, "ass3", "ass4", "ass5", "ass6", "ass7", "ass8"} for index=1,#pdffiles do local f = doc(pdffiles[index]) context.getfiguredimensions({f}) disppdf(pdffiles[index]) end \stopluacode \stoptext I didn’t know how to ge

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-22 Thread amano.kenji via ntg-context
Wuh. That's a bit complex. For distribution packages that depend on context for generation of PDF documents, having context as a system package is essential. And, distribution maintainers can make things work if they understand TeX directory structure and texmfcnf.lua. It comes down to

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-21 Thread 黄复雄 via ntg-context
uby before): %%%begin error …… tex error > tex error on line 1 in file d:/ah21/TEX/vertical-and-ruby-examples/ruby.lmtx: lua error: registered function call [209]: ...n64/tex/texmf-context/tex/context/base/mkxl/typo-rub.lmt:268: attempt to index a nil value (local 'ruby

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-21 Thread 黄复雄 via ntg-context
uby before): %%%begin error resolvers | formats | executing runner 'run luametatex format': D:/venvs/context-win64/tex/texmf-win64/bin/luametatex --jobname="d:/ah21/TEX/vertical-and-ruby-examples/ruby.lmtx" --fmt=D:/venvs/context-win64/tex/texmf-cache/luametatex-cache/context/5f

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-21 Thread Michal Vlasák via ntg-context
eed to maintain your own "snapshots" of the current ConTeXt (or make use of the public git mirror) - you currently can't build luametatex binary from source, you would have to download it prebuilt (and also keep snapshots of it) - different directory structure expected by Linu

[NTG-context] ConTeXt Workshop at FrOSCon

2022-08-21 Thread juh via ntg-context
/werbemittel-mit-context-gestalten/ I guess that this is what people expect from ConTeXt: individually styled products. The workshop was two hours long so that I could only show the very first steps. One interesting thing is that one person never worked with TeX or LaTeX before. The others had

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-21 Thread Hans Hagen via ntg-context
can see, rubies work ok. Now, before trying to improve this, it makes more sense to think about what kind of vertical support is actually needed becaus in order for that to work ok it really has to work with other mechanism as well and there is only so much that tex can do. Hans

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-19 Thread amano.kenji via ntg-context
s can make > > packages for ConTeXt easily. > > > > I don't know TeX/TeXLive/kpathsea/ConTeXt directory structure conventions. > > Linux package maintainers don't know, either. I have packaged hundreds of > > programs, and TeX derivatives are monster

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-19 Thread amano.kenji via ntg-context
ConTeXt and luametatex (binary), then distribution maintainers can make > > packages for ConTeXt easily. > > > > I don't know TeX/TeXLive/kpathsea/ConTeXt directory structure conventions. > > Linux package maintainers don't know, either. I have packaged hundreds

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-18 Thread Hans Hagen via ntg-context
don't know TeX/TeXLive/kpathsea/ConTeXt directory structure conventions. Linux package maintainers don't know, either. I have packaged hundreds of programs, and TeX derivatives are monsters. Most users just install texlive OS package, use TexLive upstream installer, or use ConTeX

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-18 Thread amano.kenji via ntg-context
Sorry for spamming the list a little bit. If there was something like https://www.linuxfromscratch.org/lfs/view/stable/chapter06/ncurses.html for ConTeXt and luametatex (binary), then distribution maintainers can make packages for ConTeXt easily. I don't know TeX/TeXLive/kpathsea/Co

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-18 Thread amano.kenji via ntg-context
most paths, fonts, etc. are determined > dynamically. The Context distribution follows the TeX directory tree > structure, and this might not be the practice of some OS, which, for > example, might locate different resources on different branches of the > system directory structure. So

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-18 Thread amano.kenji via ntg-context
ht make packaging for a particular OS easier, but this is not > directly the responsibility of developers. > > Most OS packages require patches for particularities of that OS > environment. LMTX Context, being minimal and fully portable, should be > very easy to package as mos

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-18 Thread Alan via ntg-context
sy to package as most paths, fonts, etc. are determined dynamically. The Context distribution follows the TeX directory tree structure, and this might not be the practice of some OS, which, for example, might locate different resources on different branches of the system directory structure. Some OS d

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-18 Thread amano.kenji via ntg-context
MTX by > > releasing versioned (source) archives, including BUILD/INSTALL instructions > > in the versioned archives, and so on? I wish I could just extract a > > versioned binary archive into certain locations or use GNU autotools or use > > meson build system which is fa

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-18 Thread amano.kenji via ntg-context
archives, including BUILD/INSTALL instructions > > in the versioned archives, and so on? I wish I could just extract a > > versioned binary archive into certain locations or use GNU autotools or use > > meson build system which is far better than GNU autotools. > > > there

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-18 Thread Hans Hagen via ntg-context
archive into certain locations or use GNU autotools or use meson build system which is far better than GNU autotools. there is a github repository for the tex stuff For reference, the GitHub repository is at: https://github.com/contextgarden/context-mirror/ It's semi-official mirror, bu

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-17 Thread Max Chernoff via ntg-context
e into certain locations or use GNU > > autotools or use meson build system which is far better than GNU > > autotools. > > there is a github repository for the tex stuff  For reference, the GitHub repository is at: https://github.com/contextgarden/context-mirror/ It&

Re: [NTG-context] Using MathTime Pro 2 fonts in ConTeXt

2022-08-17 Thread Sebastian Leonardo Molina Diaz via ntg-context
Any hints on how to do it? On Sat, Aug 13, 2022 at 10:18 AM Sebastian Leonardo Molina Diaz < smoli...@unal.edu.co> wrote: > I really like the design of the characters in MathTime, TeX Gyre doesn't > do the work for m, so I would get hands on work only to make it work. > &g

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-17 Thread Hans Hagen via ntg-context
r the tex stuff and have no experience with all that versioning / release / os packaging stuff (couldn't test it anyway and continuously adapt to teh subtle differences in distributions and os's) ... we just post zips (already for decades) but anyone is free to come up with such in

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-17 Thread amano.kenji via ntg-context
> reports all kind of locations where configurations files are looked for > > one can also set environment variables and see what is used > > mtxrun --variables > mtxrun --expansions > > so there are plenty ways to configure and you can run > > > mtxrun --con

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-16 Thread Hans Hagen via ntg-context
which on my machine gives system | resolved | file : c:/data/develop/tex-context/tex/texmf-local/web2c/texmfcnf.lua system | resolved | file : c:/data/develop/tex-context/tex/texmf/web2c/texmfcnf.lua indicating that i use an additional configuration file there are

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-16 Thread amano.kenji via ntg-context
and such and is > designed to happily co-exist with system installed TeX (using packages) > or TeXlive or others, without interference. The LMTX directory tree is > very light-weight and indeed many production users might keep a separate > copy with EACH major TeX project, thus ensuri

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-16 Thread amano.kenji via ntg-context
quite well. > > $ ls -l $(type -p context) > lrwxrwxrwx. 1 root root 10 Jul 28 00:33 > /opt/context/tex/texmf-linux-64/bin/context -> luametatex* > > > 3. You want to install ConTeXt without any network access. > > The easiest way to do this would be to install on a

Re: [NTG-context] Accessing inserts from Lua in LuaMetaTeX

2022-08-15 Thread Max Chernoff via ntg-context
ng wrong. > Indeed, we don't use these boxes and registers because we run in > \insertmode=2. This gives us more state info (i kept the old method > around for now). Inserts always felt a little hacky in TeX, so I think that the new methods are a huge improvement. > >

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-15 Thread Max Chernoff via ntg-context
my system, and it works quite well. $ ls -l $(type -p context) lrwxrwxrwx. 1 root root 10 Jul 28 00:33 /opt/context/tex/texmf-linux-64/bin/context -> luametatex* 3. You want to install ConTeXt without any network access. The easiest way to do this would be to ins

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-15 Thread Alan Braslau via ntg-context
I believe that you are missing the point of LMTX. LMTX Context is intended to be a self-contained AND PORTABLE directory tree. It does not need system installation paths and such and is designed to happily co-exist with system installed TeX (using packages) or TeXlive or others, without

Re: [NTG-context] Accessing inserts from Lua in LuaMetaTeX

2022-08-15 Thread Hans Hagen via ntg-context
in \insertmode=2. This gives us more state info (i kept the old method around for now). Second, how do I get the head of the insert box from Lua? With LuaTeX, from TeX you would use "\box" and from Lua you can use "tex.box[]". With LuaMetaTeX, you use "\insertbox&

[NTG-context] Accessing inserts from Lua in LuaMetaTeX

2022-08-14 Thread Max Chernoff via ntg-context
e as the subtype of the "ins" nodes, but the subtype of the "insert" nodes is always zero in LuaMetaTeX, so I'm not sure how to get the class/type. Second, how do I get the head of the insert box from Lua? With LuaTeX, from TeX you would use "\box" and from Lua y

Re: [NTG-context] Using MathTime Pro 2 fonts in ConTeXt

2022-08-13 Thread Sebastian Leonardo Molina Diaz via ntg-context
I really like the design of the characters in MathTime, TeX Gyre doesn't do the work for m, so I would get hands on work only to make it work. On Sat, Aug 13, 2022, 10:15 Hans Hagen via ntg-context wrote: > On 8/13/2022 4:57 PM, Sebastian Leonardo Molina Diaz via ntg-context wrote: &

[NTG-context] How to do code listings & sections from XML (AsciiDoc)

2022-08-12 Thread Mojca Miklavec via ntg-context
inary data http://docbook.org/ns/docbook"; xmlns:xl="http://www.w3.org/1999/xlink"; version="5.0" xml:lang="en"> Document title (completely missing) 2022-08-12 This title seems to be missing Hello code …​ How it works // test.cpp: halfword tex_copy_node(halfw

Re: [NTG-context] OT: Angebotsanfrage für Erstellung von Logo und Namensschildern

2022-08-11 Thread Henning Hraban Ramm via ntg-context
Druck und Web     2.  Bereitstellung im Vektorformat (SVG)     3.  Bereitstellung bis 15. September 2022     4.  30 Minuten für Diskussion der Vorschläge 2.  Grafisch-individuelle Namensschilder für IT4Science-Days     1.  Skript auf TeX-Basis, das aus einer CSV-Datei im Format (Nachname

[NTG-context] OT: Angebotsanfrage für Erstellung von Logo und Namensschildern

2022-08-11 Thread Paul Menzel via ntg-context
-Gesellschaft 1. Nutzbar für Druck und Web 2. Bereitstellung im Vektorformat (SVG) 3. Bereitstellung bis 15. September 2022 4. 30 Minuten für Diskussion der Vorschläge 2. Grafisch-individuelle Namensschilder für IT4Science-Days 1. Skript auf TeX-Basis, das aus einer CSV

Re: [NTG-context] How to display these characters

2022-08-10 Thread Aditya Mahajan via ntg-context
t > >> would work. > > > > There is a simple LaTeX / plain TeX package [1] for this but I don't > > know if the plain TeX version works with ConTeXt. > > [1] https://www.ctan.org/pkg/dirtree > > That is advertised as “like Windows Explorer”, so I expecte

Re: [NTG-context] How to display these characters

2022-08-09 Thread Henning Hraban Ramm via ntg-context
Am 09.08.22 um 18:57 schrieb Wolfgang Schuster via ntg-context: Henning Hraban Ramm via ntg-context schrieb am 09.08.2022 um 16:51: I actually never really looked into the nodes module, but I guess that would work. There is a simple LaTeX / plain TeX package [1] for this but I don't kn

Re: [NTG-context] How to display these characters

2022-08-09 Thread Wolfgang Schuster via ntg-context
be another approach. I actually never really looked into the nodes module, but I guess that would work. There is a simple LaTeX / plain TeX package [1] for this but I don't know if the plain TeX version works with ConTeXt. [1] https://www.ctan.org/pkg/di

Re: [NTG-context] underbrace under matrix

2022-08-05 Thread Jethro Djan via ntg-context
ntg-context wrote: >> Hello Mikael, >> Thanks for your solution; it works just fine. I am not familiar with how you >> defined the pmatrix. Any links to manuals to learn such definitions? Also, >> this is the second thing I have tried to adapt from typesetting mathematics

[NTG-context] math symbols

2022-08-05 Thread Hans Hagen via ntg-context
Hi, We're curious what math symbols users actually use. There are for instance all kind of variations on '<' and '>' and the quesiton is: how should we group them and are they used differently in different contexts. Traditionally tex sort of groups according

Re: [NTG-context] underbrace under matrix

2022-08-05 Thread Hans Hagen via ntg-context
mathematics in plain TeX that didn’t work. I tried to draw commutative diagrams some time back using \diagram{…} which didn’t work(Got the idea from the book “A beginner’s book of TeX” pg. 161 by Seroul et al ). I guess what I am asking is that, what are the limits of what I can use out-of-the-box

Re: [NTG-context] update

2022-08-05 Thread Hans Hagen via ntg-context
the tex file are newer than the pdf document) .. esp the history documnents are sensitive for experimental features that evolve (i had to comment the fences chapter because we now have neater mechanism) i pushed an update (hopefully better; you shoulkd be able to process the files but math

Re: [NTG-context] underbrace under matrix

2022-08-05 Thread Jethro Djan via ntg-context
Hello Mikael, Thanks for your solution; it works just fine. I am not familiar with how you defined the pmatrix. Any links to manuals to learn such definitions? Also, this is the second thing I have tried to adapt from typesetting mathematics in plain TeX that didn’t work. I tried to draw

Re: [NTG-context] ConTeXt meeting 2022 – please register!

2022-08-04 Thread Henning Hraban Ramm via ntg-context
good place for introductory workshops. I agree, but it’s also a matter of people, timing and other resources. I would have joined you at FrOSCon, but was occupied. And many other interesting conferences I can’t afford – financially and nervally. AFAIK other active ConTeXt users were focused on TeX con

Re: [NTG-context] What exactly is lpath?

2022-08-03 Thread Hans Hagen via ntg-context
n 2005 so much of the lua code had to be written anyway and it also had to be pretty efficient and useable in tex; roberto had an example of a simple xml parser and for xml i started from that but by now it's quite different and way more extensive; we need to be able to handle huge files

[NTG-context] Forbid footnotes from splitting across pages

2022-08-02 Thread Idris Samawi Hamid ادريس سماوي حامد via ntg-context
: TeX document ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl

Re: [NTG-context] String substitution using regular expressions and backreferences

2022-08-01 Thread Wolfgang Schuster via ntg-context
Thangalin via ntg-context schrieb am 01.08.2022 um 21:58: Hi list, I'm looking to perform text replacements. Please don't omit important information, on TeX SE you mentioned you input is XML which means a lot more can be done than your simple TeX based example demonstrates.

Re: [NTG-context] font fallbacks

2022-08-01 Thread Denis Maier via ntg-context
➊ DINGBAT NEGATIVE CIRCLED SANS-SERIF DIGIT ONE > 9 U+0FFFD � REPLACEMENT CHARACTER > stop missing characters > start missing characters: cambriai.ttf > 266 U+0276C ❬ MEDIUM LEFT-POINTING ANGLE BRACKET ORNAMENT > 266 U+0276D ❭ MEDIUM RIGHT-POINTING ANGLE BRACKET ORN

Re: [NTG-context] font fallbacks

2022-08-01 Thread Henning Hraban Ramm via ntg-context
e] \startlines \getbuffer[example] {\ss\getbuffer[example]} \stoplines \tex{abra}\arg{...} \type{kadabra} \type{~~~} \stoptext """ What’s wrong? Hraban ___ If your question is of interest to others as wel

Re: [NTG-context] m-graph label

2022-07-30 Thread John Kitzmiller via ntg-context
t; The format string uses "@" rather then "%", as % is normally scanned as > a comment. > Thank you again, but the "0.0" remains unchanged. The only way I've been able to succeed is with a for loop to label explicitly. See mwe below for things I've attem

[NTG-context] font fallbacks

2022-07-30 Thread Henning Hraban Ramm via ntg-context
RIGHT-POINTING ANGLE BRACKET ORNAMENT stop missing characters \stopbuffer \typebuffer[example] \startlines \getbuffer[example] {\ss\getbuffer[example]} \stoplines \tex{abra}\arg{...} \type{kadabra} \type{~~~} \stoptext ""

Re: [NTG-context] Unwanted blank page before page figures when using non-placed (hidden) heads

2022-07-29 Thread cryo shock via ntg-context
Of course it works, it's the order. For me TeX wouldn't be the same without you. Thank you very much Hans. Hans Hagen via ntg-context schrieb am Mo., 25. Juli 2022, 09:20: > On 7/24/2022 11:35 PM, cryo shock via ntg-context wrote: > > Hey there, > > > > I am ha

[NTG-context] bibliography problem

2022-07-29 Thread Henning Hraban Ramm via ntg-context
ures.tex' publications> adding bib data to set 'dmlig' from source 'dm-ligatures/references.bib' interface > macros > processed mkvi file '/Users/hraban/lmtx/tex/texmf-context/tex/context/base/mkiv/publ-imp-apa.mkvi', delta 94 interface > macr

[NTG-context] barring changes

2022-07-28 Thread Henning Hraban Ramm via ntg-context
\overbar{auf} den \underdot{Unterberg}}}. works only once, afterwards all the underbars are missing. Hraban bartest.tex Description: TeX document ___ If your question is of interest to others as well, please add an

Re: [NTG-context] debugging lmtx and firefox (was: TeXGyre Heros on Firefox)

2022-07-26 Thread Pablo Rodriguez via ntg-context
, many thanks for your reply. I was totally wrong. LuaTeX in LMTX is working fine. It was my fault. I have just discovered that I wasn’t able to generate the format file, because texlive-luatex is a dependency in Fedora. "export PATH=~/context/tex/texmf-linux-64/bin" solves the cla

Re: [NTG-context] debugging lmtx and firefox (was: TeXGyre Heros on Firefox)

2022-07-25 Thread Pablo Rodriguez via ntg-context
iscussion here. I would like to compare the LMTX output with the one from LuaTeX. Sadly, as already reported, LuaTeX doesn’t work on Linux anymore. > https://bugzilla.mozilla.org/show_bug.cgi?id=1781022 From the two questions from Jonathan Kew, HTML with TeX Gyre Heros is displayed fine.

Re: [NTG-context] Unwanted blank page before page figures when using non-placed (hidden) heads

2022-07-25 Thread Hans Hagen via ntg-context
On 7/24/2022 11:35 PM, cryo shock via ntg-context wrote: Hey there, I am having trouble understanding some basic blank page behavior. I hope that somebody of you can point me in the right direction. My primary goal is to create application documents consisting of various .tex components and

[NTG-context] Unwanted blank page before page figures when using non-placed (hidden) heads

2022-07-24 Thread cryo shock via ntg-context
Hey there, I am having trouble understanding some basic blank page behavior. I hope that somebody of you can point me in the right direction. My primary goal is to create application documents consisting of various .tex components and with external PDF pages inserted as well. The second part of

Re: [NTG-context] debugging lmtx and firefox (was: TeXGyre Heros on Firefox)

2022-07-22 Thread Max Chernoff via ntg-context
fference is the cause of the bad display. > > Luckily chrome based browsers shows the fonts without any flaws. Ok, random guess time (so I may be waay off here): I think that this is a hinting problem. The TeX Gyre fonts are all professionally hinted, so what might be happening be tha

Re: [NTG-context] the system not working on Linux 32 with Context-lmtx

2022-07-21 Thread Hans Hagen via ntg-context
d not run/mix lmtx with texlive - we use luametatex as runner for both luametatex and luatex runs - mtxrun.lua and context.lua are both in the bin path (as usual) - mtxrun.exe and context.exe are symlinks to luametatex.exe that is the same for all platforms but in tex live on windows there is

[NTG-context] Bug in startalign

2022-07-21 Thread Stefan Haller via ntg-context
\stopformula \stoptext Error: > tex error > tex error on line 5 in file ./test.tex: Missing number, treated > as zero > > \23C>1 > > \math_next_in_eqalign \math_left_of_eqalign \mathbeginclass \csname > \??mathendclass \the \numexpr \c_math_eqal

Re: [NTG-context] How to setup a headertext in a doublesided document in a cld?

2022-07-20 Thread Willi Egger via ntg-context
od approach. >> >> Does someone of you have experience how to do this correctly? > > What is the desired layout/content for the header? > > You're using monthname and year in your example but do they come from, a > proper minimal example can help here. >

Re: [NTG-context] the system not working on Linux 32 with Context-lmtx

2022-07-20 Thread Jan Mikkelsen via ntg-context
via ntg-context > wrote: > > Le 27/06/2022 à 22:32, Pablo Rodriguez via ntg-context a écrit : >> On 6/27/22 20:00, Henning Hraban Ramm via ntg-context wrote: >>> Am 27.06.22 um 19:10 schrieb Alain Delmotte via ntg-context: >>>> […] >>>> When I run fr

Re: [NTG-context] Count (and limit) glyphs per line?

2022-07-18 Thread Benjamin Buchmuller via ntg-context
Dear Hans, This is the friendly reminder you requested for the "crappyspecs" parbuilder as per your example in early July. With ConTeXt ver: 2022.07.06 21:42 LMTX fmt: 2022.7.8 I get tex error > tex error on line 12 in file ./test-wrapping2.tex: Undefined con

Re: [NTG-context] How to setup a headertext in a doublesided document in a cld?

2022-07-18 Thread Wolfgang Schuster via ntg-context
even necessary to set the header with Lua or can't you use a regular TeX file and load it afterwards as environment file when you process your document (context --environment=mystyle.tex mydocument.cld). Wolfgang

Re: [NTG-context] MP scratch counter

2022-07-13 Thread Hans Hagen via ntg-context
;s there twice - i'll fix that) btw, normally you would use RealPageNumber for such a counter Thank you, I just replaced all occurrences of PageNumber with RealPageNumber, and it works. This seems to have changed within the last few years, though. Not really ... what did change was the gl

[NTG-context] New math additional requirement for font definitions

2022-07-13 Thread Alexandre Christe via ntg-context
fails with the following error message: "tex error on line 16 in file /Users/aleks/Desktop/Test Context/someformulas.tex: Math error: parameter 'limitbelowbgap' with id 36 in style 0 is not set" Libertinus works fine by adding the following two lines \usetypescriptfile[l

[NTG-context] fullhz, kerning and glue

2022-07-12 Thread Henning Hraban Ramm via ntg-context
Hi, I just added an explanation of "fullhz" to the options in https://wiki.contextgarden.net/Command/setupalign. but I’m actually unsure if it’s right. In the sources I found: https://source.contextgarden.net/tex/context/base/mkxl/hand-ini.mkxl %D At some point we can introdu

Re: [NTG-context] Workshop at FrOSCon

2022-07-10 Thread Hans Hagen via ntg-context
guide at: https://github.com/AKielhorn/Context-Intro Just for the record: luametatex is *not* optimized for context, it just provides (rather generic) stuff not present in other engines that we can benefit from. That said: of course after decades of context we know what is missing in tex that we

Re: [NTG-context] Workshop at FrOSCon

2022-07-09 Thread Hans Hagen via ntg-context
ation - Hello word What would you cover? Project structure? Style creation? In my experience, most participants will know LaTeX, i.e. you must tell them to forget everything they believe to know about TeX ;P Oh, and don’t tell them that ConTeXt LMTX is much, much faster than any LaTeX, because tha

Re: [NTG-context] Workshop at FrOSCon

2022-07-09 Thread Henning Hraban Ramm via ntg-context
ation? In my experience, most participants will know LaTeX, i.e. you must tell them to forget everything they believe to know about TeX ;P Oh, and don’t tell them that ConTeXt LMTX is much, much faster than any LaTeX, because that’s a secret ;) (On the German list TeX-D-L some are discussi

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