[NTG-context] Re: List of invalid symbols

2025-08-05 Thread Max Chernoff via ntg-context
Hi juh, On Mon, 2025-08-04 at 20:12 +0200, juh+ntg-context--- via ntg-context wrote: > I am looking for a list of symbols that cause problems. > > There are several symbols that cause problems, eg. | --> \| > > I have to write a small script that converts all these symbols to avoid > errors in a a

[NTG-context] Re: Pre-loading libraries by making custom format

2025-07-29 Thread Max Chernoff via ntg-context
Hi Andrei, Hans, Hraban, On Sun, 2025-07-27 at 17:59 +0300, and...@borisov.dev wrote: > We’ve been working on adding LuaMetaTeX and ConTeXt standalone support > for the Markdown package (https://github.com/Witiko/markdown/pull/557) > and encountered an interesting issue. > > The package loads quit

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

2025-07-25 Thread Max Chernoff via ntg-context
Hi Hans, On Fri, 2025-07-25 at 08:54 +0200, Hans Hagen via ntg-context wrote: > I've actually been thinking of > filtering: only add files to the database that matter for context which > leaves out complete subtrees. That seems like a good idea to me, and should also speed up the filename databas

[NTG-context] Re: Line breaks within TABLE cells

2025-07-22 Thread Kip Warner
On Mon, 2025-07-14 at 08:21 +0200, Hans Hagen wrote: > This \\ for linebreak is sort of a historic feature and not the in > terms of 'indicating intentions' ... that said, you can just > \breakhere which seem to work as intended. It makes no sense to > create a \\ alias for that. Apologies for the

[NTG-context] Re: SPR: was Re: Re: language in tagging and export

2025-07-15 Thread Max Chernoff via ntg-context
Hi Jim, On Tue, 2025-07-15 at 10:06 -0300, Jim wrote: > Might I ask you > (a) To confirm that your PDF reader does, indeed, do SPR? > (I.e., not just everything else on your system.) > and Ah, good point, I should have checked first. Using the following test file: \loadtypescriptfile

[NTG-context] Re: language in tagging and export

2025-07-15 Thread Max Chernoff via ntg-context
Hi Jim, On Mon, 2025-07-14 at 12:47 -0300, Jim wrote: > It does (far) better > font rendering than any of the other Linux programs (excluding web > browsers) that I know about. The day someone figures out how to add > sub-pixel rendering to any of the other Linux PDF readers might be the day > th

[NTG-context] Line breaks within TABLE cells

2025-07-13 Thread Kip Warner
Hello list, I am trying to insert a manual line break inside of a TABLE cell, but can't seem to get it to work. I'm typesetting some mathematical formulae. See below minimal: \starttext \placetable[here,split,none][table:appendix_notation]{} { \bTABLE[split=repeat,option=stretch] \setupT

[NTG-context] Re: Docker images

2025-07-12 Thread Max Chernoff via ntg-context
Hi Hraban, Hans, On Sat, 2025-07-12 at 18:56 +0200, Henning Hraban Ramm wrote: > I don’t even need modules in this case – I don’t > think all of them are included in TeX live, need to check… Most of them should be included in TeX Live, but if there are any important ones that aren't, let me or Ta

[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 > – use Debian

[NTG-context] Re: testing tagging for UA-2

2025-07-12 Thread Max Chernoff via ntg-context
Hi Hans, On Thu, 2025-07-10 at 10:54 +0200, Hans Hagen via ntg-context wrote: > On 7/10/2025 9:08 AM, Max Chernoff via ntg-context wrote: > > - I had to manually tag every paragraph with > >\startparagraph/\stopparagraph, which was annoying. > > well, that also depends on the concept of paragr

[NTG-context] Re: testing tagging for UA-2

2025-07-10 Thread Max Chernoff via ntg-context
Hi Pablo, (resending since my attachments were too large for the mailing list the first time) I did some experiments yesterday, and I was able to produce a file (PDF and source attached) that validates as PDF/UA-2 with veraPDF and that Ulrike Fischer and David Carlisle (who work on the LaTeX acce

[NTG-context] Re: upload

2025-06-14 Thread Max Chernoff via ntg-context
Hi Hans, On Sat, 2025-06-14 at 11:45 +0200, Hans Hagen wrote: > > in this past week. Even the perpetually-stable pdfTeX had a few bugs > > earlier this year. > > oh ... i thought that pdftex was very stable and admit that i never > check mkii with that (i just assume that when we can make a mkii f

[NTG-context] Re: upload

2025-06-14 Thread Max Chernoff via ntg-context
Hi Hans, On Sat, 2025-06-14 at 09:41 +0200, Hans Hagen wrote: > On 6/14/2025 8:47 AM, Max Chernoff via ntg-context wrote: > i wonder if a too frequent texlive sync is good, as it sounds pretty beta My thinking was that if it's stable enough for the users of the Standalone Distribution (many of wh

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

2025-06-11 Thread Max Chernoff via ntg-context
Hi juh, On Tue, 2025-06-03 at 11:41 +0200, juh+ntg-context--- via ntg-context wrote: > in ConTeXt ver: 2025.04.28 14:29 LMTX fmt: 2025.6.3 > the color profile ISO Coated v2 300% (ECI) is not found anymore The file currently in the Standalone Distribution appears to be corrupted: $ exiftoo

[NTG-context] Re: ConTeXt in TeX Live

2025-06-09 Thread Max Chernoff via ntg-context
Hi Hans, On Mon, 2025-06-09 at 08:27 +0200, Hans Hagen wrote: > one can just get > > wget http://lmtx.pragma-ade.nl/install-lmtx/context-freebsd-amd64.zip > wget http://lmtx.pragma-ade.nl/install-lmtx/context-linux.zip > wget http://lmtx.pragma-ade.nl/install-lmtx/context-linux-64.zip > wget http:

[NTG-context] Re: ConTeXt in TeX Live

2025-06-08 Thread Max Chernoff via ntg-context
Hi Mojca, On Mon, 2025-06-09 at 07:56 +0200, Mojca Miklavec wrote: > On Mon, 9 Jun 2025, 00:27 Max Chernoff wrote: > > For macOS, the Standalone Distribution uses separate aarch64 and x86_64 > > binaries, but TeX Live uses a single universal binary. For those, I'm > > installing the binaries from

[NTG-context] Re: ConTeXt in TeX Live

2025-06-08 Thread Max Chernoff via ntg-context
Hi Mojca On Sun, 2025-06-08 at 17:44 +0200, Mojca Miklavec wrote: > On Sun, 8 Jun 2025 at 02:10, Max Chernoff via tex-live wrote: > > I've taken over packaging ConTeXt for CTAN and TeX Live. > > Thanks a lot for this, but I have one question: what's the plan with > luametatex binaries? Would the b

[NTG-context] ConTeXt in TeX Live

2025-06-07 Thread Max Chernoff via ntg-context
Hi all, Previously, ConTeXt was imported into TeX Live once per year, via a TDS archive from CTAN. There were a few problems with this: 1. To handle this import, the TeX Live maintainers had to create lots of custom scripts, and even then, the import still needed lots of manual effort.

[NTG-context] Re: update

2025-04-03 Thread Max Chernoff via ntg-context
Hi all, On Tue, 2025-04-01 at 13:47 +0200, Hans Hagen wrote: > A recent post on the list indicated that some > installations default to letter size paper format, which one canconsider > a bad idea but let's put that aside. Yeah, I added that code back in April 2023. I argued that the layout of a

[NTG-context] Re: Problem with: 0.222 222 222_3

2025-03-25 Thread Max Chernoff via ntg-context
Hi Pablo, On Tue, 2025-03-25 at 18:03 +0100, Pablo Rodriguez via ntg-context wrote: > On 3/25/25 14:50, Ursula Hermann wrote: > > \setuppapersize[A4] > > Portrait A4 is the default in ConTeXt (unless I have been missing > something for decades). If you're using the ConTeXt from TeX Live, the defa

[NTG-context] Re: Can context automatically italicize foreign words?

2025-03-20 Thread Max Chernoff via ntg-context
Hi Joel, On Thu, 2025-03-20 at 16:28 +, Joel via ntg-context wrote: > Is there any way in ConTeXt to just give it a list of words, and it > will italicize them wherever they are found in the text, no matter they > are in the body, some index, etc.? You should be able to use either \translatei

[NTG-context] Re: Negative font slant broken with compact fonts

2025-03-19 Thread Max Chernoff via ntg-context
Hi Pablo, On Wed, 2025-03-19 at 18:00 +0100, Pablo Rodriguez via ntg-context wrote: > Weird, I use LuaMetaTeX 2.11.07 20250226 Ah, my binaries must have not updated properly since I still had 2.11.06. I deleted the binaries and reran the updater, so I now have 2.11.07. I also deleted the system a

[NTG-context] Negative font slant broken with compact fonts

2025-03-19 Thread Max Chernoff via ntg-context
Hi, Using the latest ConTeXt (2025.02.19), negative slants are broken with compact fonts. Example document: \definefontfeature[default][default][Slant=-1] \startTEXpage Hello, world! \stopTEXpage When compiled with "context", I get the error message tex error > te

[NTG-context] Fwd: Re: [tlbuild] TL25 rebuild please

2025-03-06 Thread Max Chernoff via ntg-context
Hi Hans, Someone posted on the tlbuild mailing list that LuaMetaTeX segfaults whenever making the ConTeXt format on OpenBSD. I'm all out of ideas for how to fix this, so hopefully you have some suggestions? The original thread started at https://tug.org/pipermail/tlbuild/2025q1/005651.html T

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

2025-03-05 Thread Christoph Hintermüller via ntg-context
Dear Hans [Inline Response to message by Hans Hagen, Di, 2025-03-04 17:44 +0100: Answers and comments below corresponding cited paragraphs.] > On 3/4/2025 5:14 PM, Christoph Hintermüller via ntg-context wrote: > > Dear Hans, Dear all > > > > Once angain me trying to convert my lecture notes into

[NTG-context] Re: automatic character comparison

2025-03-04 Thread Max Chernoff via ntg-context
Hi Pablo, On Tue, 2025-03-04 at 19:26 +0100, Pablo Rodriguez via ntg-context wrote: > What I want to achieve is automatic text comparison between versions of > the same text (in different subcolumnsets). > > The first line shows different versions text. I wonder whether there > would be an automat

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

2025-03-04 Thread Christoph Hintermüller via ntg-context
Dear Hans [Inline Response to message by Hans Hagen, Di, 2025-03-04 17:44 +0100: Answers and comments below corresponding cited paragraphs.] > On 3/4/2025 5:14 PM, Christoph Hintermüller via ntg-context wrote: > > Dear Hans, Dear all > > > > Once angain me trying to convert my lecture notes into

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

2025-03-04 Thread Christoph Hintermüller via ntg-context
Dear Hans, Dear all Once angain me trying to convert my lecture notes into epub. At first: finally switching after some installation hassle to really latests context disttibution  mtx-context | Cmtx-context | ConTeXt Proce

[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 on the TeX

[NTG-context] Re: New Mac Mini Font Issue

2025-02-05 Thread Max Chernoff via ntg-context
Hi Mike On Wed, 2025-02-05 at 13:18 -0800, Mike Urban wrote: > I have re-installed texlive 2024 and context on my Mac Mini. Things > are generally working OK; but I am seeing these error messages: > > mathematics > initializing > font 'LatinModernMath-Companion.otf' doesn't > exist > mathemat

[NTG-context] Re: Nāgarī for Academics

2024-08-05 Thread Richard Mahoney | Indica et Buddhica via ntg-context
Hello Jürgen, Are you after a Context version of something such as  Xetex Devanagari? https://github.com/wujastyk/xetex-devanagari Best, Richard -- T +6433121699  M +64210640216 rmaho...@indica-et-buddhica.org https://indica-et-buddhica.com/ Indica et Buddhica Littledene  Bay Road  Oxford  

[NTG-context] Re: Letter module broken?

2024-06-26 Thread Kip Warner
On Wed, 2024-06-26 at 08:31 +0200, Henning Hraban Ramm wrote: Hey Henning, > I’ve no problems with the module in LMTX 2024.06.18 or 2024.06.21, > neither with my usual letters nor with the example. > > Usually, there should be some log lines that tell you about the > loading of the module: > >

[NTG-context] Re: URL in footnote citation

2024-06-20 Thread Kip Warner
On Thu, 2024-06-20 at 15:20 +0200, Alan Braslau wrote: > Putting the URL as a hyperlink on the cite title is possible. Note > that > is is not what APA specifies. > > To do this, you need to modify the rendering definitions. Thanks Alan. I've tried in the past but I really struggle with the ConT

[NTG-context] URL in footnote citation

2024-06-19 Thread Kip Warner
Hello list, I am trying to get my references that have URLs to automatically set the entry title to the URL and not print the URL after it. Here is a minimal: \startbuffer[testdata] @Article{wikipedia2024_depeche_mode_sounds_of_the_universe, author= {{Wikipedia contributors}},

[NTG-context] Re: Upgrading from 2021.03.05.20230120 -> 2023.05.05.20230730 breaks BibTeX footnotes

2024-06-19 Thread Kip Warner
On Wed, 2024-06-19 at 09:24 +0200, Hans Hagen wrote: > so best update then ... a while ago we had some addition for > references and that involved an extra argument someplace which is > what you see ... seems to be solved in the meantime, if not i'll look > at it > > (i assume you use the installe

[NTG-context] Re: Upgrading from 2021.03.05.20230120 -> 2023.05.05.20230730 breaks BibTeX footnotes

2024-06-17 Thread Kip Warner
On Tue, 2024-06-18 at 00:54 +0200, Hans Hagen wrote: > complete example needed > > - tex file > - bib file Hello Hans, While trying to prepare a minimal for you I noticed that now all of my footnotes disappear. Here is a minimal using the buffer method so there is only one file: \startbuffer

[NTG-context] Upgrading from 2021.03.05.20230120 -> 2023.05.05.20230730 breaks BibTeX footnotes

2024-06-17 Thread Kip Warner
Hello list, I recently upgraded my distro release to Ubuntu Noble on one of my machines. The ConTeXt packages that were previously for 2021.03.05.20230120 were upgraded to 2023.05.05.20230730. Since the upgrade I've noticed my BibTeX footnotes that previously looked like this:    https://imgur.c

[NTG-context] Re: Cite-proc Lua - Following up

2024-06-12 Thread Max Chernoff
Hi, On Tue, 2024-06-11 at 11:38 +, hdanielhix...@gmail.com wrote: > There is a LaTeX package called citation-style-language, backed by > some software called citeproc-lua. The github page for the software is > here: https://github.com/zepinglee/citeproc-lua > I'm just wondering if there is mo

[NTG-context] Re: get measures as dimension in Lua

2024-06-09 Thread Max Chernoff
Hi Hraban, On Sun, 2024-06-09 at 22:12 +0200, Henning Hraban Ramm wrote: > when I define a measure on the TeX side, I used to get at the value in > Lua with tex.getdim, like: > > \definemeasure[Bleed][3mm] > > tex.getdimen("Bleed") > > But now I get "incorrect dimen name". > I need it as a dimensi

[NTG-context] Re: Number in a circle

2024-06-04 Thread Kip Warner
On Tue, 2024-06-04 at 18:19 +0100, Bruce Horrocks wrote: > 1) I installed Ubuntu 14.04 It comes with context pre-installed but > it's broken. Hey Bruce. Just an FYI, but Trusty Tahr (14.04) is over a decade old. -- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com s

[NTG-context] Re: Number in a circle

2024-05-30 Thread Kip Warner
On Thu, 2024-05-30 at 23:20 +0100, Bruce Horrocks wrote: > I'd be able to maintain a Context PPA but there already seems to be > one: > I think that's just the source used in Ubuntu. This is called a "source package" in the Debian parlance: https:

[NTG-context] Re: Number in a circle

2024-05-30 Thread Kip Warner
On Thu, 2024-05-30 at 18:26 +0200, Thomas A. Schmitz wrote: > Is this a message "I'm volunteering to maintain such a ppa" or a > message "wouldn't it be nice if someone went out of their way to make > my life easier"? Just out of curiosity. Right now it's the latter due to time constraints. Althou

[NTG-context] Re: Number in a circle

2024-05-30 Thread Kip Warner
On Thu, 2024-05-30 at 17:22 +0200, Henning Hraban Ramm wrote: > Am 28.05.24 um 23:50 schrieb Kip Warner: > > On Tue, 2024-05-28 at 17:47 +0200, Pablo Rodriguez wrote: > > > fw is a new dimensio unit only available in LMTX (not in LuaTeX). > > > > > > Just in case it might help, > > > > Thanks Pab

[NTG-context] Re: BibTeX choking on comments in database

2024-05-29 Thread Kip Warner
On Wed, 2024-05-29 at 06:49 -0600, Alan Braslau wrote: > 1) You appear to be using the long-frozen mkii bibliography code. I think you are right! I just realized that. I'm using in my Environment file... % \BIBTEX macro... \usemodule[abr-02] % Setup bibliography... % Refer

[NTG-context] Re: BibTeX choking on comments in database

2024-05-28 Thread Kip Warner
On Tue, 2024-05-28 at 17:00 -0600, Alan Braslau wrote: > The Context publications reference subsystem reads BibTeX databases > but does not use BibTeX at all. I am not sure what your quoted > statement means exactly. I see. The first few lines of my BibTeX file just contains a copyright notice tha

[NTG-context] Re: Number in a circle

2024-05-28 Thread Kip Warner
On Tue, 2024-05-28 at 15:02 -0700, Kip Warner wrote: > On Tue, 2024-05-28 at 17:38 +0200, Wolfgang Schuster wrote: > > Add > > > > framecolor=colour_text, > > > > to the frame settings. > > Thanks Wolfgang. That does work. > > But another problem I've found is the font and circle are not >

[NTG-context] Re: BibTeX choking on comments in database

2024-05-28 Thread Kip Warner
On Wed, 2024-05-29 at 00:45 +0200, Aditya Mahajan wrote: > Hard to say without looking at the bib file, but % is not a comment > character in bibtex. So, if your file starts with The first few lines of the file is just a copyright notice, with each line beginning with %. If that's not an appropria

[NTG-context] Re: Number in a circle

2024-05-28 Thread Kip Warner
On Tue, 2024-05-28 at 17:47 +0200, Pablo Rodriguez wrote: > fw is a new dimensio unit only available in LMTX (not in LuaTeX). > > Just in case it might help, Thanks Pablo. I'm using the context package for Ubuntu Mantic which is version 2021.03.05.20230120+dfsg-2. I'm assuming that doesn't suppor

[NTG-context] Re: Number in a circle

2024-05-28 Thread Kip Warner
On Tue, 2024-05-28 at 08:17 +0200, Henning Hraban Ramm wrote: > Am 27.05.24 um 19:20 schrieb Kip Warner: > > On Mon, 2024-05-27 at 07:09 +0200, Ryszard Kubiak wrote: > > > Hi Kip, > > > > > > You may try characters with Unicode slots from U+2460 upto > > > U+2469. > > > They mean circled digits an

[NTG-context] BibTeX choking on comments in database

2024-05-27 Thread Kip Warner
Hello list, I am using BibTeX under ConTeXt to typeset a publication. I noticed while building the publication ConTeXt raises the following non-fatal warning: ... This is BibTeX, Version 0.99d (TeX Live 2023/Debian) The top-level auxiliary file: Secret_Sauce.aux The style file: cont-a

[NTG-context] Re: Number in a circle

2024-05-27 Thread Kip Warner
On Mon, 2024-05-27 at 19:28 +0200, Wolfgang Schuster wrote: > TeX complains about the value ".5fw" for the radius key. Hans added > last year the function to add new units to ConTeXt and I used it to > set the radius to half of the width of the framed box. > > Use the following version of the setu

[NTG-context] Re: Number in a circle

2024-05-27 Thread Kip Warner
On Mon, 2024-05-27 at 05:43 -0400, seyal zavira wrote: > if you don't want to use metapost you can also use svg for background > for example: > > \startuniqueMPgraphic{centered_svg} >   draw lmt_svg [ >     filename = "badge.svg", >     width  = OverlayWidth, >     y      = OverlayHeight/2,  ] ; >

[NTG-context] Re: Number in a circle

2024-05-27 Thread Kip Warner
On Mon, 2024-05-27 at 07:09 +0200, Ryszard Kubiak wrote: > Hi Kip, > > You may try characters with Unicode slots from U+2460 upto U+2469. > They mean circled digits and are available in many fonts. Thanks Ryszard. Those would be perfect, except I can't get them to work in ConTeXt. I tried using t

[NTG-context] Re: How to use fonts without typescripts?

2024-05-15 Thread Henri Menke via ntg-context
On Wed, 2024-05-15 at 20:03 +0530, Shiv Shankar Dayal wrote: > Hi, > > Defining typescripts to use a font is very painful. How can I use a > font > without using a typescript? Use \definefontfamily which is essentially the successor of the old simplefonts module. https://wiki.contextgarden.net/C

[NTG-context] Re: unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua

2024-04-14 Thread Martin Hasoň
Hi Denis, I made a similar solution for docker image [minidocks/context](https://hub.docker.com/r/minidocks/context): [https://github.com/minidocks/context/commit/9b3ccc1eb62e556cada29b5b761207a526bca52e](https://github.com/minidocks/context/commit/9b3ccc1eb62e556cada29b5b761207a526bca52e). You c

[NTG-context] Re: PDF, runner, and TikZ patches

2024-03-15 Thread Max Chernoff
Hi Aditya, Jim, On Fri, 2024-03-15 at 01:53 +0100, Aditya Mahajan wrote: > On Thu, 14 Mar 2024, Jim wrote: > > were you hoping the ConTeXt distribution would ship its own > > pgfutil-context.def, or were you hoping that someone could convince Henri > > to put the RGB change in? > > We can patch so

[NTG-context] PDF, runner, and TikZ patches

2024-03-14 Thread Max Chernoff
Hi all, I've had a few patches applied to my installation for a little while now, so I figured that I should send them in. There's a diff at the end of the email, and the modified files are attached [but rejected by the mailing list, so sent separately to Hans] * In the definition of "featurecre

[NTG-context] Re: \intertext and highlighting with \alignhere/\breakhere

2024-03-13 Thread Max Chernoff
Hi Hans, On Tue, 2024-03-12 at 15:21 +0100, Hans Hagen wrote: > the next upload will support the attached ... so no ugly hacky code needed "\texthere[inbetween]" looks perfect, thanks! The "\definebar[...][inlined]" doesn't look quite right though -- the issue that I'm having is that I can't fig

[NTG-context] Re: LuaMetaTeX code

2024-01-19 Thread Henri Menke via ntg-context
On Fri, 2024-01-19 at 13:56 +0530, Shiv Shankar Dayal wrote: > Dear Hans, > > I saw the C code of LuaMetaTeX and I saw a lot of gotos which is not > good > coding practice. These potions of code which have goto should be > refactored. https://xkcd.com/292/ > I am a C programmer, but I know very

[NTG-context] Re: Different behavior of \clf_lastypos vs \clf_lastxpos

2023-09-17 Thread Max Chernoff
Hi Aditya, > For some reason, there is an extra \relax written to file after > `\the\numexp\clf_lastypos\relax` (there is no such relax after > `\the\numexpr\clf_lastxpos\relax`). The test.pgf file is: > > \macro {A}{23930350}{43358454.0\relax } \macro {B}{39564274.0\relax > }{14083538} > > An

[NTG-context] Re: TOC with sections titles and page numbers like a paragraph beneath chapter

2023-09-04 Thread Max Chernoff
Hi Julian, > I am attempting to get a TOC that looks like the following (in other > words with section titles and their relative page numbers in a block > below the chapter): > Has > anyone put together a TOC of this kind and might be able to give me a > hint to follow? This is fairly clos

[NTG-context] Re: Fallbacks for design sizes in the current typescripts regime

2023-08-22 Thread Vincent Hennebert
On Tue, 2023-08-22 at 15:45 +, Hamid,Idris wrote: > On Aug 22, 2023, 2:06 AM -0600, Hans Hagen via ntg-context cont...@ntg.nl>, wrote: > > On 8/22/2023 6:31 AM, Hamid,Idris wrote: > > I'm not going to look into this until there is a complete test case > > for > > this which means: > > > > - f

[NTG-context] Re: Optical scaling in Latin Modern

2023-08-17 Thread Vincent Hennebert
On Tue, 2023-08-15 at 18:22 +0200, Hans Hagen wrote: > On 8/15/2023 5:33 PM, Hamid,Idris wrote: > > > > so [\s!designsize=\s!auto] means there is no explicit call to lmroman8-regular etc.? Interesting.. > > > check the lfg file ... On that note, there seems to be an inconsistency in the desig

[NTG-context] How to override parts of a typescript

2023-08-11 Thread Vincent Hennebert
Say I want to use the Adobe Source font family in my document. They are installed on my system, but the file names are different to what’s in the typescript file provided with the ConTeXt distribution. If I do this: \starttypescript [serif] [source] [name] \definefontsynonym [Serif]

[NTG-context] lpdf.registerfontmethod

2023-07-06 Thread Max Chernoff
Hi Hans, In lpdf-emb.lmt, there's a commented-out definition of lpdf.registerfontmethod that I'd like to use. I've uncommented this in my installation and it's worked pretty well for me, so can you please uncomment/enable this by default in the distribution? If you want further background, this i

Re: [NTG-context] Super slow installation

2023-05-30 Thread Max Chernoff via ntg-context
Hi all, I think that this is all resolved now, but if not, maybe this extra info will help? I'm using this script to test: #!/bin/sh for x in \ "https://speed.cloudflare.com/__down?bytes=$(echo '50*1024^2' | bc)" \ "https://speedtest1.mnd.bulk.iss.as9143.net:8080/random50

[NTG-context] Can ConTeXt write its pdf to a different directory?

2023-05-26 Thread Max Chernoff via ntg-context
Hi Peter, > My .tex file is in a directory within my working directory. I would like > ConTeXt to write its output in the same directory as my .tex file. But it > writes to the working directory. > > This was asked 10 years ago: > `tex.stackexchange.com/questions/67928/how-to-set-output-directo

[NTG-context] Noto Emoji COLRv1

2023-05-23 Thread Max Chernoff via ntg-context
Hi Hans, I tried using the code from [1] for Noto Emoji in COLRv1 format [2]: \startTEXpage \definefontfeature[colored][default][colr=9] \definedfont[Noto-COLRv1.ttf*colored] 🦆 % U+1F986 \stopTEXpage but ConTeXt gives the following error: fonts > otf loading > l

Re: [NTG-context] SVG ViewBox figure battle

2023-05-20 Thread Max Chernoff via ntg-context
Hi, > Any ideas on how to force that setting without modifying grph-con.lua? This seems to work: \startluacode function figures.converters.svg.pdf(oldname, newname) figures.programs.inkscape.runner { format = "filename", resolution = "600", crop

Re: [NTG-context] LuaMetaTeX doesn't find files when symlinked

2023-04-28 Thread Max Chernoff via ntg-context
Hi Lynx, > Today, I created a separate "user command" within TeXstudio, and it > points to "/usr/local/ConTeXt_Standalone/context-linux-64/bin/mtxrun" > This command generates the same log output as the example at > https://gitlab.com/islandoftex/images/texlive/-/issues/30. This is probably no

[NTG-context] LuaMetaTeX doesn't find files when symlinked

2023-04-27 Thread Max Chernoff via ntg-context
Hi Hans, With the LuaMetaTeX-based ConTeXt wrapper, it's not generally possible to run ConTeXt from a symlinked binary in another directory. This shows up if someone makes symlinks in "/usr/bin" so that they can avoid adding anything to their $PATH. If you make run a symlink to the LuaMetaTeX-bas

Re: [NTG-context] update

2023-04-27 Thread Max Chernoff via ntg-context
Hi Lynx, > * How can I be sure that the standalone version is the one being > implemented? It depends on what your $PATH is set to. On Linux/macOS, you can run $ type -ap context to list all the ConTeXts in your $PTAH. The first one in that list is the one that will be ran by default

Re: [NTG-context] update

2023-04-26 Thread Max Chernoff via ntg-context
Hi Lynx, Aditya, > > New to conTeXt, have not performed a specific update prior to this. > > > > My conTeXt installation is part of TeXlive-2023 (under Linux OS). Will > > the updates to ConTeXt be handled by tlmgr ? > > No. Usually, texlive updates context once a year. This is correct in g

[NTG-context] attempt to index nil value with bidi math in hbox

2023-04-02 Thread Max Chernoff via ntg-context
Hi Hans, This test file: \setupdirections[bidi=global,method=one] \starttext \hbox{$\varepsilon$-TeX} \stoptext gives the following error: callback error: ...ext/tex/texmf-context/tex/context/base/mkxl/typo-duc.lmt:618: attempt to index a nil value (local 'before') s

Re: [NTG-context] tikz error upgrading to texlive version (artix)

2023-04-02 Thread Max Chernoff via ntg-context
Hi Xavier, On Sun, 2023-04-02 at 11:00 +, Xavier B. wrote: > Max, when I use context minimals, I get: > > modules > 'pgfrcs' is not found > modules > 'pgfmat' is not found > modules > 'tikz' is loaded > open source > level 3, order 4, name > '/home/xan/bin/context

Re: [NTG-context] characters.tex.toutf bug

2023-03-30 Thread Max Chernoff via ntg-context
Hi Hans, > it is more side effect of removing the (declared obsolete some years > ago) `` '' input which catched it later > > i tend to remove > > for k, v in next, ligaturemapping do > hash[k] = v > end > > in favor of an explicit 'tquo' feature that one can enab

Re: [NTG-context] tikz error upgrading to texlive version (artix)

2023-03-30 Thread Max Chernoff via ntg-context
Hi Xavier, > During the texlive package, I get this error: > I simply run context to this file: > > \usemodule[tikz] > > \starttext > {\bf a} \tikz (0,0) -- (1,0); > \stoptext > So, the problem is not the package or the distro, it's something more > basic which causes the error. Someone else r

[NTG-context] characters.tex.toutf bug

2023-03-29 Thread Max Chernoff via ntg-context
Hi Hans, "characters.tex.toutf" only works if there is a backslash somewhere in its input string. This leads to some really surprising behaviour in the following example: \definefontfeature[default][tlig=no, trep=no] \startbuffer[test-bib] @article{one, author = {``Author---\v

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

2023-02-26 Thread Max Chernoff via ntg-context
Hi Paul, > I added a stanza to the appropriate interface file: > > --- begin stanza added to i-database.xml --- > > I modeled that after the stanza for the argument `strip`. I think > that's the only thing I need to do in the interface file. I'd recommend completely ignoring the interface i-*.x

Re: [NTG-context] pgfplots module wrecks in latest

2023-01-16 Thread Henri Menke via ntg-context
On Mon, 2023-01-16 at 11:56 -0500, Aditya Mahajan wrote: > > On Mon, 16 Jan 2023, Hans Hagen via ntg-context wrote: > > > just load tikz first so that the right loader helpers are there > > > > \usemodule[tikz] > > \usemodule[pgfplots] > > > > \starttext > > Hello > > \stoptext > > > > seems t

[NTG-context] Unwanted space with \startframedtext

2022-12-21 Thread Max Chernoff via ntg-context
Hi Hans, There's an uncommented linebreak in the definition of \pack_framed_text_start that's introducing an unwanted space just before \startframedtext. Minimal example: \showmakeup[space] \starttext \hbox{.\startframedtext.\stopframedtext} \stoptext Patch: --- texmf-contex

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

2022-12-16 Thread Richard Mahoney | Indica et Buddhica via ntg-context
Alan, I'm attaching the two master files used for the following (also ran cross refs between each vol.): Murugaiyan, Appasamy & Parlier-Renault, Édith (2021) (Eds) Whispering of Inscriptions: South Indian Epigraphy and Art History: Papers from an International Symposium in memory of Professor Nob

Re: [NTG-context] Achieving different \cite styles

2022-12-09 Thread Max Chernoff via ntg-context
Hi Jethro, > I am interested in being able to cite in different ways. By analogy, I > refer to the \texcite{}, \parencite{} and other options available with > biblatex in LaTeX. How do I achieve something like \textcite{} in > ConTeXt? Page 34 of the publications manual lists the various styles:

Re: [NTG-context] thousand separator space

2022-11-21 Thread Max Chernoff via ntg-context
Hi Jan, > Why is there an additional space after the thousand separator in math mode? Because something like ${\mathbb N} = \{1,2,3,4,\dots\}$ would look quite bad without any space between the numbers. (The technical reason is that commas have the math class \mathpunct, meaning that T

[NTG-context] Font expansion enabled by default with the latest upload

2022-11-21 Thread Max Chernoff via ntg-context
Hi Hans, Font expansion (hz) seems to be enabled by default with the latest upload. If I compile this document locally with ConTeXt "2022.11.18 13:22": \showframe % \definefontfeature[default][default][expansion=quality] % \usetypescript[modern-base] % \setupbodyfont[reset,moder

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

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

[NTG-context] node.setglue broken in LuaMetaTeX

2022-11-07 Thread Max Chernoff via ntg-context
Hi Hans, Using node.setglue in LuaMetaTeX sets all of the glue components to zero. This example: \startluacode local stretch_order = "stretch_order" local shrink_order = "shrink_order" if status.luatex_engine == "luametatex" then stretch_order = "stretchorder"

[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 > tex error on li

Re: [NTG-context] Missing parinitskips in \normalizelinemode=0

2022-10-26 Thread Max Chernoff via ntg-context
Hi Hans, > i'll bypass that warnign when the mode is zero I saw that you made that change in the latest upload, thanks. Unfortunately, I'm still getting the same output: luatex warning > linebreak: list seems already prepared luatex warning > linebreak: [ leftinit | rightinit | leftfill

[NTG-context] Missing parinitskips in \normalizelinemode=0

2022-10-18 Thread Max Chernoff via ntg-context
Hi Hans, When running in \normalizelinemode=0, the \parinitleftskip and \parinitrightskip nodes are either nonexistant or invisible from Lua, causing tex.linebreak to not work correctly. This sample file: \enabledirectives[system.callbacks.permitoverloads] \normalizelinemode=0

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/context/tex/texmf-linux-64/bin/mtxrun.l

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 --luaonly "/opt/context/tex/texmf

Re: [NTG-context] How to make something appear to the right of every paragraph?

2022-10-13 Thread Max Chernoff via ntg-context
Hi Joel, > When I use the code given, it compiles and displays fine. But when I > try replacing \everypar with \EveryPar, it halts during compiling It looks like \EveryPar is a macro and not a token list. > These both work great, but do that for the whole document? Is there a > way to restrict it

Re: [NTG-context] atan2 function

2022-10-12 Thread Max Chernoff via ntg-context
Hi, > How is atan2 called? I rolled my own as follows: > Is atan with two parameters supposed to behave like atan2? At mp-math.mpxl:167 there is: vardef atan primary x = angle(1,x) enddef ; The MetaPost manual says: The angle operator takes a pair and computes the two-arg

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

2022-10-11 Thread Max Chernoff via ntg-context
Hi Leah, > > Leah and I are zooming in on the issue. It might relate to wrong font > > matrix default behavior in the pdf printer driver, and GS got a fix > > for that long ago, so maybe old printers with not-updated drivers can > > be affected. > > > > Once we're confident that we can catch it L

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 empty). > I've never had

Re: [NTG-context] How to make something appear to the right of every paragraph?

2022-10-09 Thread Max Chernoff via ntg-context
Hi Joel, > I'd like to add some area for readers to write in the margins of some > text. This would leave three lines, like this to the right of the > text. Is it okay if there are rules continuously down the right column? If so, this is fairly simple to do with layers/backgrounds + MetaFun. If

Re: [NTG-context] Spacing in \unit

2022-10-09 Thread Max Chernoff via ntg-context
Hi Alan, > I would very strongly argue that the space between the number and the > following units be UNBREAKABLE. Perhaps a thin space (preference), but > most certainly non-breakable. > > Similarly around the times in scientific notation. > > I further cannot imagine that a line break be accep

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

2022-10-08 Thread Max Chernoff via ntg-context
Hi all, > I use LuaMetaTeX 2.10 20220918 + ConTeXt LMTX 2022.09.11. > > Here's a tiny test document, I disabled PDF compression but it also > doesn't work with the default settings. > > \setupbackend[level=0,compresslevel=0] > \starttext > Just a line of text. > \stoptext > > When I print this

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

2022-10-08 Thread Max Chernoff via ntg-context
Hi, > Has the handling for the apostrophe character entity changed recently? > > In the following example, the \xmltexentity for apostrophe is ignored, > resulting in a straight apostrophe instead of a curled one: > Any ideas on how to fix it? (see also https://tex.stackexchange.com/a/661002/27

  1   2   3   4   5   6   7   8   9   10   >