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

2022-08-25 Thread Max Chernoff via ntg-context
On Fri, 2022-08-26 at 07:40 +0200, Hans Hagen wrote: > On 8/26/2022 3:00 AM, Max Chernoff wrote: > > Is there a way to make this produce a nice little "error" PDF as soon as > > the error occurs just like using "\undefined" does? > > Only If I add it as option (directive driven, must find some goo

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

2022-08-25 Thread Hans Hagen via ntg-context
On 8/26/2022 3:00 AM, Max Chernoff wrote: Hi Hans, On Thu, 2022-08-25 at 08:57 +0200, Hans Hagen wrote: On 8/25/2022 2:19 AM, Max Chernoff via ntg-context wrote: But ... you can already do \enabledirectives[logs.errors=*] or \enabledirectives[logs.errors=missing modules] Didn't know about

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

2022-08-25 Thread Max Chernoff via ntg-context
Hi Hans, On Thu, 2022-08-25 at 08:57 +0200, Hans Hagen wrote: > On 8/25/2022 2:19 AM, Max Chernoff via ntg-context wrote: > But ... you can already do > > \enabledirectives[logs.errors=*] > > or > > \enabledirectives[logs.errors=missing modules] Didn't know about that, thanks. However, this s

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

2022-08-25 Thread Thangalin via ntg-context
I've attempted to apply Wolfgang's subtle suggestion of using Lua to parse the input document using a regular expression via lpeg.replacer. The replacement itself works fine; however, in doing so the XML document structure is converted to text, which means that it is no longer possible to "flush" t

Re: [NTG-context] CLD setupheadertexts

2022-08-25 Thread Willi Egger via ntg-context
Hello! based on the answer Hans posted on my question how to correctly setup header texts in a ConTeXt Lua Document I added a section on the Wiki: https://wiki.contextgarden.net/CLD#Setting_up_Header_Texts Kind regards Willi > On 25 Aug 2022, at 19:45, Hans Hagen wrote: > > On 8/25/2022 7:3

Re: [NTG-context] C with macron

2022-08-25 Thread Hans Hagen via ntg-context
On 8/25/2022 8:01 PM, Pablo Rodriguez via ntg-context wrote: On 8/25/22 19:04, Hans Hagen via ntg-context wrote: On 8/25/2022 7:00 PM, Pablo Rodriguez via ntg-context wrote: On 8/24/22 21:07, Hans Hagen via ntg-context wrote: [...] just run the attached Many thanks, it works fine. the one i

Re: [NTG-context] C with macron

2022-08-25 Thread Pablo Rodriguez via ntg-context
On 8/25/22 19:04, Hans Hagen via ntg-context wrote: > On 8/25/2022 7:00 PM, Pablo Rodriguez via ntg-context wrote: >> On 8/24/22 21:07, Hans Hagen via ntg-context wrote: >> [...] >>> just run the attached >> >> Many thanks, it works fine. > the one in the update is more interesting I tried, but I

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

2022-08-25 Thread Cron Daemon via ntg-context
receiving incremental file list ./ ctan.lsr document-2.htm download-1.htm download-2.htm logo-ade.png logo-cts.png logo-pod.png rss.xml show-fil.pdf context/latest/ context/latest/cont-mpd.zip context/latest/cont-ppc.zip context/latest/cont-sci.zip context/latest/cont-tmf.zip contex

Re: [NTG-context] CLD setupheadertexts

2022-08-25 Thread Willi Egger via ntg-context
Hans! Thank you so much for your help and quick answer. Indeed now all header texts appear as expected :-) I will wikify this of course! Kind regards Willi > On 25 Aug 2022, at 19:45, Hans Hagen wrote: > > On 8/25/2022 7:32 PM, Willi Egger via ntg-context wrote: >> Hello! >> I have a ConTeXt

Re: [NTG-context] faltal error: return code: 1

2022-08-25 Thread Pablo Rodriguez via ntg-context
On 8/25/22 19:41, Hans Hagen via ntg-context wrote: > [...] > you're missing an \egroup > > \starttext > \doloopoverlist{\tf,\ss,\tt} >{\bgroup > \recursestring > \doloopoverlist{\tf,\it,\bf,\bi,\sc} >{\bgroup > \recursestring\dorecurse{26} >

Re: [NTG-context] CLD setupheadertexts

2022-08-25 Thread Hans Hagen via ntg-context
On 8/25/2022 7:32 PM, Willi Egger via ntg-context wrote: Hello! I have a ConTeXt Lua Document where I need to have headertexts. When running the enclosed file I get 6 pages where only page 1 and 2 have header texts and the others none. — Why is that? Thanks for hints! you use a function but h

Re: [NTG-context] faltal error: return code: 1

2022-08-25 Thread Hans Hagen via ntg-context
On 8/25/2022 7:21 PM, Pablo Rodriguez via ntg-context wrote: Hans, using latest from today (and the previous one) with the following source: \starttext \doloopoverlist{\tf,\ss,\tt} {\bgroup\recursestring% \doloopoverlist{\tf,\it,\bf,\bi,\sc} {\bgroup\recursest

[NTG-context] CLD setupheadertexts

2022-08-25 Thread Willi Egger via ntg-context
Hello! I have a ConTeXt Lua Document where I need to have headertexts. When running the enclosed file I get 6 pages where only page 1 and 2 have header texts and the others none. — Why is that? Thanks for hints! Kind regards Willi Test-headertexts.pdf Description: Adobe PDF document Test-h

Re: [NTG-context] metafun paralleled does not give a parallel path

2022-08-25 Thread Hans Hagen via ntg-context
On 8/25/2022 6:05 PM, Bruce Horrocks via ntg-context wrote: I'm seeing the line + arcs behaviour here. fixed in upload (we had a bug in mplib .. direction is now a primitive so that one was wrong) Hans -

[NTG-context] faltal error: return code: 1

2022-08-25 Thread Pablo Rodriguez via ntg-context
Hans, using latest from today (and the previous one) with the following source: \starttext \doloopoverlist{\tf,\ss,\tt} {\bgroup\recursestring% \doloopoverlist{\tf,\it,\bf,\bi,\sc} {\bgroup\recursestring\dorecurse{26} {\character{\recurselevel}̱ }\par}\eg

Re: [NTG-context] C with macron

2022-08-25 Thread Hans Hagen via ntg-context
On 8/25/2022 7:00 PM, Pablo Rodriguez via ntg-context wrote: On 8/24/22 21:07, Hans Hagen via ntg-context wrote: On 8/24/2022 8:45 PM, Pablo Rodriguez via ntg-context wrote: On 8/24/22 18:11, Thangalin via ntg-context wrote: Another nice solution, Pablo, thank you. The macron is shifted a lit

Re: [NTG-context] C with macron

2022-08-25 Thread Pablo Rodriguez via ntg-context
On 8/24/22 21:07, Hans Hagen via ntg-context wrote: > On 8/24/2022 8:45 PM, Pablo Rodriguez via ntg-context wrote: >> On 8/24/22 18:11, Thangalin via ntg-context wrote: >>> Another nice solution, Pablo, thank you. >>> >>> The macron is shifted a little too far to the left >> >> I don’t know how Con

[NTG-context] new uplaod

2022-08-25 Thread Hans Hagen via ntg-context
Hi, I uploaded a new lmtx. Again some updated math of which details will be revealed later. Apart from some details we added suport for fourier notations. There are no high level definitions yet as we have to invent names but this is how it works (private unicode slots might change): \setupb

Re: [NTG-context] metafun paralleled does not give a parallel path

2022-08-25 Thread Bruce Horrocks via ntg-context
I'm seeing the line + arcs behaviour here. ConTeXt ver: 2022.08.05 11:44 LMTX fmt: 2022.8.5 int: english/english > On 25 Aug 2022, at 13:03, Fabrice L via ntg-context > wrote: > > Hi, > >> Le 24 août 2022 à 22:50, fv leung via ntg-context a >> écrit : >> >> The following used to produc

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

2022-08-25 Thread Cron Daemon via ntg-context
receiving incremental file list ./ ctan.lsr document-2.htm download-1.htm download-2.htm logo-ade.png logo-cts.png logo-pod.png rss.xml show-fil.pdf context/latest/ context/latest/cont-mpd.zip context/latest/cont-ppc.zip context/latest/cont-sci.zip context/latest/cont-tmf.zip contex

Re: [NTG-context] metafun paralleled does not give a parallel path

2022-08-25 Thread Fabrice L via ntg-context
Hi,Le 24 août 2022 à 22:50, fv leung via ntg-context a écrit :The following used to produce three parallel lines.Now it produces one straight line and two arcs.\starttext\startMPcode  z0 = origin;  z1 = 72dir(45);  dotlabel.bot("z0", z0);  draw z0--z1;  draw (z0--z1) paralleled

[NTG-context] Question to footnote settings

2022-08-25 Thread Tomáš Hála via ntg-context
Hi all, I am struggling with the width of a footnote number area. I would like to ask how can I set it dynamically based on the width of the largest number on a given page. Without width I get two different footnote texts widths (compare #9+10). With width there is a redundant space on the left

[NTG-context] underbar aligns badly

2022-08-25 Thread juh+ntg-context--- via ntg-context
Dear all, I fear I hit a bug or missed a change. \starttext \underbar{First line}\\ Second line. \stoptext With lmtx from 2022.07.24 the lines align fine. With current lmtx the first line has a small indent. Ciao! juh _