Re: [NTG-context] getting path and filename from url

2021-08-27 Thread Hans Hagen via ntg-context
On 8/27/2021 8:53 PM, Pablo Rodriguez via ntg-context wrote: Dear list, I have the following sample: \starttext \startluacode url = "../a/b/cb/ce.b/ca.b/c/dabc.pdf" context(url) context("0 ok. " .. url:match "^(.*).pdf$") -- name and path

[NTG-context] Different authorconversion for citation alternatives and bibliographic entries

2021-08-27 Thread Joey McCollum via ntg-context
I dealt with this issue at length in a separate thread (“Different author rendering in entry citation vs. list”) a couple months after you asked about this, so for the benefit of anyone who has been following this thread specifically, I’ll describe the solution I found here. There are (at least) a

Re: [NTG-context] Different author rendering in entry citation vs. list

2021-08-27 Thread Joey McCollum via ntg-context
I didn't even know they exist. > Thanks for sharing your discovery! > > Agoston > > Am Fr., 27. Aug. 2021 um 05:09 Uhr schrieb Joey McCollum via > ntg-context : > > > > Nevermind, it looks like there's an even more deliberate and succinct > way to handle this! In publ-i

Re: [NTG-context] getting path and filename from url

2021-08-27 Thread Tomas Hala via ntg-context
nsion context("2c. " .. (url:match "[^/]+[^.]+$") :match ".+[.]") -- name with period Best wishes, Tomáš Fri, Aug 27, 2021 ve 08:53:52PM +0200 Pablo Rodriguez via ntg-context napsal(a): # Dear list, # # I have the following sample: # # \starttext # \startlu

[NTG-context] prefixstarter in captions

2021-08-28 Thread Adam Reviczky via ntg-context
Hi, There was a question on the list before on prepending to the numberpart of a caption with the 'numberstarter' command, which works just fine ( https://mailman.ntg.nl/pipermail/ntg-context/2017/089142.html). I wanted to try the same but for prepending to the entire prefix (not just the number

[NTG-context] Incorrect rendering in Devanagari forms in some fonts

2021-09-01 Thread kauśika cittūr via ntg-context
Dear All, I have encountered a strange problem using certain Devanagari fonts for the Sanskrit languagein ConTeXt, wherein the rakaar ligatures are not rendered properly in some glyphs/conjuncts. The problem is not too easy to describe so please pardon this long email. The fonts I am using

[NTG-context] colors and contours in luametafun

2021-09-01 Thread Jacob Kauffmann via ntg-context
Dear list, I am a huge fan of the new metafun interface. Hans asked for luametafun requests, so here are a few. - color by value in lmt_surface We want to show a surface plot of a function where the color indicates the function value (instead, or in addition to a light source). The easiest

[NTG-context] No formula in the pdf

2021-09-01 Thread Ursula Hermann via ntg-context
Dear List I have the following example. \setuppapersize[A4] \mainlanguage[de] \starttext Wir können sogar die gesamte Matrix A über ihre Einträge mit Hilfe der Indizes definieren, indem wir schreiben \startformula A_{ij}=5i \stopformula \starttext Why is there no formula in the pdf? And

Re: [NTG-context] No formula in the pdf

2021-09-01 Thread Hans Hagen via ntg-context
On 9/1/2021 12:30 PM, Ursula Hermann via ntg-context wrote: Dear List I have the following example. \setuppapersize[A4] \mainlanguage[de] \starttext Wir können sogar die gesamte Matrix A über ihre Einträge mit Hilfe der Indizes definieren, indem wir schreiben \startformula   A_{ij}=5i

Re: [NTG-context] MetaPost Examples

2021-09-01 Thread Hans Hagen via ntg-context
On 9/1/2021 2:19 PM, Henning Hraban Ramm via ntg-context wrote: Hi, I’m trying to “translate” the documentation of “fiziko”* from LaTeX to ConTeXt and would like to avoid the doubling of MP code like: \startMP path p; p := (0,0){dir(30)}..(5cm, 0)..{dir(30)}(10cm, 0); draw brush

Re: [NTG-context] No formula in the pdf

2021-09-01 Thread Ursula Hermann via ntg-context
Dear Hans, thank you. Uschi Von: ntg-context im Auftrag von Hans Hagen via ntg-context Gesendet: Mittwoch, 1. September 2021 13:07 An: Ursula Hermann via ntg-context Cc: Hans Hagen Betreff: Re: [NTG-context] No formula in the pdf On 9/1/2021 12:30 PM

Re: [NTG-context] No formula in the pdf (Ursula Hermann)

2021-09-01 Thread Thierry Horsin via ntg-context
Hi Ursula, I tried your formula. The reason might be because you have two \starttext... Thierry ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

Re: [NTG-context] Vector Brushes for MetaFun?

2021-09-01 Thread Hans Hagen via ntg-context
On 9/1/2021 12:48 PM, Henning Hraban Ramm via ntg-context wrote: Hi, since Jacob started the pony mode, here’s one I’d like to ride: MetaPost pens are constant, i.e. they never change over the length of a path. Commercial vector graphics apps have “vector brushes”, e.g. Adobe Fresco: https

Re: [NTG-context] Passing colors to Metafun and TeX's bitmapimage macros

2021-09-01 Thread Hans Hagen via ntg-context
On 9/1/2021 1:08 PM, Jairo A. del Rio via ntg-context wrote: Hi, list! I want to know if there's a handy way to pass predefined colors, either RGB or CMYK, e.g. those in svg or crayola, to Metafun's bitmapimage. Say, something like: \startMPpage % svg's gold definition draw bitmapimage(2

Re: [NTG-context] No formula in the pdf (Ursula Hermann)

2021-09-01 Thread Ursula Hermann via ntg-context
Dear Thierry! The reason was, that i forgot \stoptext at the end Uschi Von: ntg-context im Auftrag von Thierry Horsin via ntg-context Gesendet: Mittwoch, 1. September 2021 14:01 An: ntg-context@ntg.nl Cc: Thierry Horsin Betreff: Re: [NTG-context] No formula

Re: [NTG-context] line numbering restarts every page

2021-09-01 Thread Hans Hagen via ntg-context
On 9/1/2021 6:01 PM, Henning Hraban Ramm via ntg-context wrote: Hi again, if a "typing" environment with line numbering goes over a page break, the line numbers start at 1 again on the new page. It doesn’t happen with \start/stoplinenumbering. MWE: \setuptyping[ numb

Re: [NTG-context] line numbering restarts every page

2021-09-01 Thread Wolfgang Schuster via ntg-context
Henning Hraban Ramm via ntg-context schrieb am 01.09.2021 um 18:01: Hi again, if a "typing" environment with line numbering goes over a page break, the line numbers start at 1 again on the new page. It doesn’t happen with \start/stoplinenumbering. MWE: \setuptyping[ numb

Re: [NTG-context] Incorrect rendering in Devanagari forms in some fonts

2021-09-01 Thread kauśika cittūr via ntg-context
On Wednesday, September 1, 2021 1:43:56 PM IST kauśika cittūr wrote: > Dear All, > > I have encountered a strange problem using certain Devanagari fonts for the > Sanskrit languagein ConTeXt, wherein the rakaar ligatures are not rendered > properly in some glyphs/conjuncts. The problem is not too

[NTG-context] Different author rendering in entry citation vs. list

2021-08-25 Thread Joey McCollum via ntg-context
Hi, I'm trying to implement a custom bibliography rendering where in-text citations (specifically, citations with alternative=entry) are not identical to the entries in the bibliography list. Following a pattern I've seen in publ-imp-chicago.mkvi, I've been able to implement most of the features

[NTG-context] Indexing redux

2021-08-25 Thread Rik Kabel via ntg-context
List, I am trying to create an index with both "see" and "see also" cross-reference entries.[1] At this point, ConTeXt provides basic support for "see" entries via the \seeREGISTER command (it does not properly support references to sub-entries) and it provides no support at all for "see

Re: [NTG-context] Why does HerosBold give bold italic?

2021-08-25 Thread Wolfgang Schuster via ntg-context
Bruce Horrocks via ntg-context schrieb am 25.08.2021 um 23:15: On 25 Aug 2021, at 13:56, Wolfgang Schuster wrote: Bruce Horrocks via ntg-context schrieb am 25.08.2021 um 14:28: Why does HerosBold give bold italic instead of just bold? \definefont[TestA][name:Heros at 14pt] \definefont[TestB

[NTG-context] new upload

2021-08-24 Thread Hans Hagen via ntg-context
On 8/24/2021 6:12 PM, Bruce Horrocks wrote: Thanks. I'll wait for your upload and try again. i uploaded new bins just for fun (yesterday i needed a distraction) i also added some basic mechanism for repeatable random numbers (i can add more if needed) (the usual tex / lua / mp interfaces)

Re: [NTG-context] numbered exercises

2021-08-24 Thread Wolfgang Schuster via ntg-context
Henning Hraban Ramm via ntg-context schrieb am 24.08.2021 um 21:26: Am 24.08.2021 um 21:17 schrieb Wolfgang Schuster via ntg-context : Henning Hraban Ramm via ntg-context schrieb am 24.08.2021 um 20:31: Hi, I’m typesetting a textbook that contains numbered and indented exercises. They must

Re: [NTG-context] numbered exercises

2021-08-24 Thread Aditya Mahajan via ntg-context
On Tue, 24 Aug 2021, Henning Hraban Ramm via ntg-context wrote: > > Am 24.08.2021 um 21:17 schrieb Wolfgang Schuster via ntg-context > > : > > > > Henning Hraban Ramm via ntg-context schrieb am 24.08.2021 um 20:31: > >> Hi, I’m typesetting a textbook th

Re: [NTG-context] numbered exercises

2021-08-24 Thread Wolfgang Schuster via ntg-context
Henning Hraban Ramm via ntg-context schrieb am 24.08.2021 um 20:31: Hi, I’m typesetting a textbook that contains numbered and indented exercises. They must not float. Which structure should I use for them? There must be an easy answer, but I draw a blank. Use an enumeration. Wolfgang

[NTG-context] TOC labeltext and no partlabel

2021-08-24 Thread Adam Reviczky via ntg-context
Hi, I have asked this question before, but now I cannot get it working again. https://ntg-context.ntg.narkive.com/lvvdNOQz/the-appendices-envrionment-and-title-in-toc I want to set partlabels in my TOC but not in the document itself. The desired output would be: --- Contents Chapter 1 Bodypart

[NTG-context] Control of Titles appearing in \completelistoftables and \completelistoffigures

2021-08-24 Thread Richard Mahoney via ntg-context
List, I've been wondering if there is some syntax that one can use in: \placetable or \placefigure to control the Table of Figure Title appearing in: \completelistoftables and \completelistoffigures At the moment one can do this for the output of: \completecontent with something such as

Re: [NTG-context] lmtx update/t-vim (again)

2021-08-24 Thread Aditya Mahajan via ntg-context
On Mon, 23 Aug 2021, Aditya Mahajan via ntg-context wrote: > On Mon, 23 Aug 2021, Benjamin Buchmuller via ntg-context wrote: > > > This is the setup I have been using, but I'm unsure if the problem could be > > related to the other problem I had. (Not scaled to a MWE, but sho

Re: [NTG-context] Control of Titles appearing in \completelistoftables and \completelistoffigures

2021-08-25 Thread Taco Hoekwater via ntg-context
Hi, There is \startplacefigure / \startplacetable , which has a ‘list’ key https://wiki.contextgarden.net/Command/_startplacefloat Best wishes, Taco > On 25 Aug 2021, at 05:20, Richard Mahoney via ntg-context > wrote: > > List, > > I've been wondering if there is some s

Re: [NTG-context] Indexing redux

2021-08-26 Thread Taco Hoekwater via ntg-context
Hi Rik, > On 26 Aug 2021, at 03:14, Rik Kabel via ntg-context > wrote: > > List, > > I am trying to create an index with both "see" and "see also" cross-reference > entries.[1] At this point, ConTeXt provides basic support for "see&quo

Re: [NTG-context] Curiosity about math.random in LuaTeX

2021-08-23 Thread Hans Hagen via ntg-context
On 8/23/2021 5:24 PM, Hans van der Meer via ntg-context wrote: I guess the underlying library calls are from Lua5.4? Then it is perhaps useful to know that between 5.3 and 5.4 there is mentioned a new implementation for math.random. Perhaps it changes the sequence of random values generated

Re: [NTG-context] Curiosity about math.random in LuaTeX

2021-08-23 Thread Thierry Horsin via ntg-context
Hi everybody. I wonder how does math.random() work in context. I found that this subject was discussed more than ten years ago by Otared and Taco and Thomas. It is clear to me how to obtain new results upon typesetting the same file by changing the value of math.randomseed (with os.time()).

Re: [NTG-context] Curiosity about math.random in LuaTeX

2021-08-23 Thread Hans Hagen via ntg-context
On 8/23/2021 4:46 PM, Thierry Horsin via ntg-context wrote: Hi everybody. I wonder how does math.random() work in context. I found that this subject was discussed more than ten years ago by Otared and Taco and Thomas. It is clear to me how to obtain new results upon typesetting the same file

Re: [NTG-context] Curiosity about math.random in LuaTeX

2021-08-23 Thread Henri Menke via ntg-context
On Mon, 2021-08-23 at 16:46 +0200, Thierry Horsin via ntg-context wrote: > Hi everybody. > > I wonder how does math.random() work in context. I found that this > subject was discussed more than ten years ago by Otared and Taco and > Thomas. It is clear to me how to obtain n

Re: [NTG-context] Curiosity about math.random in LuaTeX

2021-08-23 Thread Henri Menke via ntg-context
On Mon, 2021-08-23 at 17:24 +0200, Hans van der Meer via ntg-context wrote: > I guess the underlying library calls are from Lua5.4? Then it is > perhaps useful to know that between 5.3 and 5.4 there is mentioned a > new implementation for math.random. Perhaps it changes the sequence of

[NTG-context] Bug with mathalignment and columns

2021-08-23 Thread Jack Hill via ntg-context
Hi, When a mathalignment is started at the end of a multi-column page ConTeXt places it at the start of the previous second column instead of placing it on a new page. Here's my code to test: \starttext \startcolumns[n=4] \startluacode lorum = "Lorum ipsum dolor sit amet. " for i = 1, 98, 1

Re: [NTG-context] error in mtxrun.lua line 4548 in August 24th update

2021-08-25 Thread Hans Hagen via ntg-context
On 8/25/2021 11:18 AM, mf via ntg-context wrote: Hello, here's the error I get: lua error : function call: ...si/context/lmtx-latest/tex/texmf-linux-64/bin/mtxrun.lua:4548: bad argument #2 to 'lpegmatch' (string expected, got nil) BTW I was trying to compile lowlevel-expansion.tex in tex

Re: [NTG-context] TOC labeltext and no partlabel

2021-08-25 Thread Wolfgang Schuster via ntg-context
Adam Reviczky via ntg-context schrieb am 25.08.2021 um 02:02: Hi, I have asked this question before, but now I cannot get it working again. https://ntg-context.ntg.narkive.com/lvvdNOQz/the-appendices-envrionment-and-title-in-toc I want to set partlabels in my TOC but not in the document itself

Re: [NTG-context] error in mtxrun.lua line 4548 in August 24th update

2021-08-25 Thread Hans Hagen via ntg-context
On 8/25/2021 1:20 PM, mf via ntg-context wrote: Il 25/08/21 13:06, Hans Hagen ha scritto: On 8/25/2021 11:18 AM, mf via ntg-context wrote: Hello, here's the error I get: lua error : function call: ...si/context/lmtx-latest/tex/texmf-linux-64/bin/mtxrun.lua:4548: bad argument #2

[NTG-context] Why does HerosBold give bold italic?

2021-08-25 Thread Bruce Horrocks via ntg-context
Why does HerosBold give bold italic instead of just bold? \definefont[TestA][name:Heros at 14pt] \definefont[TestB][name:HerosBold at 14pt] \definefont[TestC][name:HerosItalic at 14pt] \starttext \TestA {The quick brown} \TestB {fox jumps over} \TestC {the lazy dog} \stoptext — Bruce Horrocks

Re: [NTG-context] Why does HerosBold give bold italic?

2021-08-25 Thread Wolfgang Schuster via ntg-context
Bruce Horrocks via ntg-context schrieb am 25.08.2021 um 14:28: Why does HerosBold give bold italic instead of just bold? \definefont[TestA][name:Heros at 14pt] \definefont[TestB][name:HerosBold at 14pt] \definefont[TestC][name:HerosItalic at 14pt] \starttext \TestA {The quick brown} \TestB {fox

Re: [NTG-context] TOC labeltext and no partlabel

2021-08-25 Thread Adam Reviczky via ntg-context
Thank you very much Wolfgang for the explanation, Both solutions make sense now and work great. Regards, Adam On Wed, Aug 25, 2021 at 11:46 AM Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Adam Reviczky via ntg-context schrieb am 25.08.2021 um 02:02: > > Hi,

[NTG-context] Test for displaying a header

2021-08-26 Thread Fabrice Couvreur via ntg-context
Hi, I know I asked the question a few years ago, but I don't remember ! The idea is to test whether the document contains only one page or not. If it contains only one page, the header is enabled. If it contains several pages, the header is enabled only on the first page but not on the others.

Re: [NTG-context] layer disappears when showframe is set

2021-08-26 Thread Wolfgang Schuster via ntg-context
juh via ntg-context schrieb am 26.08.2021 um 14:46: Hi, this sample shows that the image in a layer in header disappears if showframe is set. \setupexternalfigures[location=default] \definelayer[Cow] [x=0, y=0] \setlayer[Cow] [x=10em, y=0mm] {\externalfigure[cow][height=\lineheight

Re: [NTG-context] Test for displaying a header

2021-08-26 Thread Taco Hoekwater via ntg-context
Hi, > On 26 Aug 2021, at 16:07, Fabrice Couvreur via ntg-context > wrote: > > Hi, > I know I asked the question a few years ago, but I don't remember ! > The idea is to test whether the document contains only one page or not. Perhaps not the nicest soluti

Re: [NTG-context] Best way to apply a fill-pattern to a closed shape?

2021-08-29 Thread Hans Hagen via ntg-context
On 8/29/2021 4:48 AM, Ramkumar KB wrote: Hans, Thank you for the snippets. These are super helpful (I am assuming commands like `withpatternscale` are MetaFun extensions and Wow!). yes, just metafun, already there for a while ... (often examples show up first in the test suite) (if folks

[NTG-context] "$==$ this" producing = with another = through the t

2021-08-29 Thread Paul Dostert via ntg-context
My Minimal: \starttext $==$ this $f(x)= x^2$ \switchtobodyfont[times] $==$ this $f(x)= x^2$ \switchtobodyfont[modern] $==$ this $f(x)= x^2$ \stoptext This is producing an =, a large space (about two characters wide), then an = through the start of the word "this". See pdf here:

Re: [NTG-context] Handling of negative values in the statistical-charts?

2021-08-28 Thread Ramkumar KB via ntg-context
Hi, I have added an 'advanced' type for line & bar graphs to handle the use case for -ve y-values / 4th quadrant graphs. It works similar to 'basic' but works for -ve y-values (i.e. for the 4th quadrant). PFA the amended lua file (zip file) and sample of line graph.

Re: [NTG-context] Best way to apply a fill-pattern to a closed shape?

2021-08-28 Thread Ramkumar KB via ntg-context
://wiki.contextgarden.net/MetaFun_-_MetaPost_in_ConTeXt Thanks again! best regards, Ramkumar On Sat, Aug 28, 2021 at 7:02 PM Hans Hagen wrote: > On 8/28/2021 11:33 AM, Ramkumar KB via ntg-context wrote: > > Hello List, > > > > I have a use case to apply a particular pattern to a closed shape. I

Re: [NTG-context] "$==$ this" producing = with another = through the t

2021-08-29 Thread Hans Hagen via ntg-context
On 8/29/2021 3:21 PM, Paul Dostert via ntg-context wrote: My Minimal: \starttext $==$ this $f(x)= x^2$ \switchtobodyfont[times] $==$ this $f(x)= x^2$ \switchtobodyfont[modern] $==$ this $f(x)= x^2$ \stoptext This is producing an =, a large space (about two characters wide

Re: [NTG-context] Best way to apply a fill-pattern to a closed shape?

2021-08-30 Thread Hans Hagen via ntg-context
On 8/30/2021 6:35 AM, Ramkumar KB wrote: Hans, Thank you! Yes, it would be great to learn more about MetaFun - if you can point me to the test suite, then I can document a few good tutorial level examples in the Wiki (beginner & intermediate). MetaFun's turbo charged capabilities are

Re: [NTG-context] Gradient fill in embedded pdf disappear in externalfigure (on regular pages)

2021-08-30 Thread Benjamin Buchmuller via ntg-context
How odd; Then it must be related to my viewer here ... I was just surprised to literally see two different outcomes with the \startTEXpage and without. Maybe it has to do with some sort of "nesting" in the PDF that is not handled correctly at the PDF viewer's end. I'll test again on a

Re: [NTG-context] Gradient fill in embedded pdf disappear in externalfigure (on regular pages)

2021-08-30 Thread Benjamin Buchmuller via ntg-context
like to do eventually) both gradients disappear. However, when I use \startTEXpage ... \stopTEXpage around the \externalfigure, everything looks and prints fine. > On Aug 30, 2021, at 08:54, Hans Hagen wrote: > > On 8/30/2021 7:03 AM, Benjamin Buchmuller via ntg-context wrote: >&

Re: [NTG-context] Best way to apply a fill-pattern to a closed shape?

2021-08-29 Thread Ramkumar KB via ntg-context
Hans, Thank you! Yes, it would be great to learn more about MetaFun - if you can point me to the test suite, then I can document a few good tutorial level examples in the Wiki (beginner & intermediate). MetaFun's turbo charged capabilities are awesome! One idea I am thinking (maybe for a student

[NTG-context] Gradient fill in embedded pdf disappear in externalfigure (on regular pages)

2021-08-29 Thread Benjamin Buchmuller via ntg-context
Hello list, I have noticed that some gradients get lost when embedding an external figure from a pdf (Preview and Acrobat DC and in printer), although the original pdf works fine for me. It seems to occur with color-to-color gradients (but not all), but not with color-to-alpha ones. While

Re: [NTG-context] Gradient fill in embedded pdf disappear in externalfigure (on regular pages)

2021-08-30 Thread Hans Hagen via ntg-context
On 8/30/2021 7:03 AM, Benjamin Buchmuller via ntg-context wrote: Hello list, I have noticed that some gradients get lost when embedding an external figure from a pdf (Preview and Acrobat DC and in printer), although the original pdf works fine for me. you have to be a bit more precise

Re: [NTG-context] problem with MkIV/TeXlive/TEXMFCACHE

2021-08-30 Thread luigi scarso via ntg-context
On Mon, Aug 30, 2021 at 11:49 AM Rainer J.H. Brandt via ntg-context < ntg-context@ntg.nl> wrote: > Hello Luigi, > > you asked: > > On Fri, Aug 27, 2021 at 10:35 AM Rainer J.H. Brandt via ntg-context < > > ntg-context@ntg.nl> wrote: > > > > > Dear

Re: [NTG-context] problem with MkIV/TeXlive/TEXMFCACHE

2021-08-30 Thread Arthur Rosendahl via ntg-context
On Mon, Aug 30, 2021 at 12:48:05PM +0200, Rainer J.H. Brandt via ntg-context wrote: > But, as I said, my texmf.cnf sets TEXMFCACHE to $TEXMFSYSVAR;$TEXMFVAR, > and TEXMFSYSVAR is /var/opt/texlive. Why is that ignored? Do you have write permission on that directory?

Re: [NTG-context] problem with MkIV/TeXlive/TEXMFCACHE

2021-08-30 Thread Aditya Mahajan via ntg-context
On Mon, 30 Aug 2021, Rainer J.H. Brandt via ntg-context wrote: > But, as I said, my texmf.cnf sets TEXMFCACHE to $TEXMFSYSVAR;$TEXMFVAR, > and TEXMFSYSVAR is /var/opt/texlive. Why is that ignored? mtxrun (and context MKIV and LMTX) do not read texmf.cnf rather read values from contextc

[NTG-context] new upload

2021-08-30 Thread Hans Hagen via ntg-context
Hi, new in this upload are some features in tabulate (not all enabled yet), like \starttabulate[|lG{.}|cG{,}|rG{=}|cG{x}|] \NC 1.1 \NC 2,2 \NC 3=3 \NC a 0xFF \NC \NR \NC 11.11 \NC 22,22 \NC 33=33 \NC b 0xFFF \NC \NR \NC 111.111 \NC 222,222 \NC 333=333 \NC c 0x \NC \NR

Re: [NTG-context] problem with MkIV/TeXlive/TEXMFCACHE

2021-08-30 Thread luigi scarso via ntg-context
On Mon, Aug 30, 2021 at 12:48 PM Rainer J.H. Brandt via ntg-context < ntg-context@ntg.nl> wrote: > luigi scarso via ntg-context writes: > > > > On Fri, Aug 27, 2021 at 10:35 AM Rainer J.H. Brandt via ntg-context < > > > > ntg-context@ntg.nl> wrote: &

[NTG-context] compatibility with AucTeX (was: result saved in file: ./file.pdf)

2021-08-16 Thread Peter Münster via ntg-context
On Mon, Aug 16 2021, Peter Münster via ntg-context wrote: > that breaks the error-checker of AucTeX. No, sorry. It's something else, that breaks it: lines, that begin like "4:5: [glue]<1: ...". Such lines look like errors to AucTeX. What does "4:5" mean? Is

Re: [NTG-context] result saved in file: ./file.pdf

2021-08-16 Thread Hans Hagen via ntg-context
On 8/16/2021 1:46 PM, Peter Münster via ntg-context wrote: Hi, The latest version of ConTeXt writes "result saved in file: ./file.pdf" instead of "saved in file: file.pdf", that breaks the error-checker of AucTeX. Is this wanted? Or are you going to change it back t

[NTG-context] Strange behavior of a macro

2021-08-16 Thread Fabrice Couvreur via ntg-context
Hello, I don't understand why this macro works with this simple example but return the following error if I use it for chapters in my book. Thanks Fabrice \setupbodyfont [newcomputermodern-book,11pt] \unexpanded\def\N{\math{\mathbb{N}}\autoinsertnextspace} \defineenumeration [test]

[NTG-context] '--noconsole' or '--batchmode` still logs to console? | 1.04 Aug-10 version

2021-08-16 Thread Ramkumar KB via ntg-context
Hi, I noticed that (in the latest version) that context command with '--batchmode' or '--noconsole` still logs to the console? Not sure if this is a regression issue. I am using the 1.04 Aug-10 version. best regards, Ramkumar

Re: [NTG-context] compatibility with AucTeX (was: result saved in file: ./file.pdf)

2021-08-16 Thread Hans Hagen via ntg-context
On 8/16/2021 2:18 PM, Peter Münster via ntg-context wrote: On Mon, Aug 16 2021, Peter Münster via ntg-context wrote: that breaks the error-checker of AucTeX. No, sorry. It's something else, that breaks it: lines, that begin like "4:5: [glue]<1: ...". Such lines look like err

[NTG-context] result saved in file: ./file.pdf

2021-08-16 Thread Peter Münster via ntg-context
Hi, The latest version of ConTeXt writes "result saved in file: ./file.pdf" instead of "saved in file: file.pdf", that breaks the error-checker of AucTeX. Is this wanted? Or are you going to change it back to a filename without the "./"? TIA, -- Peter

Re: [NTG-context] Strange behavior of a macro

2021-08-16 Thread Hans Hagen via ntg-context
On 8/16/2021 4:28 PM, Fabrice Couvreur via ntg-context wrote: Hello, I don't understand why this macro works with this simple example but return the following error if I use it for chapters in my book. Thanks Fabrice \setupbodyfont    [newcomputermodern-book,11pt] \unexpanded\def\N

[NTG-context] Adjustment in the table of contents

2021-08-16 Thread Fabrice Couvreur via ntg-context
Hi, I wish to have the table of contents as the attached image. The result is almost as expected except for the margin of the subsection. \setuplist [chapter,section,subsection] [width=fit,distance=\spaceamount] \setuplist [chapter] [alternative=b] \setuplist

Re: [NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-16 Thread Fabrice Couvreur via ntg-context
Le dim. 15 août 2021 à 19:03, Wolfgang Schuster via ntg-context < ntg-context@ntg.nl> a écrit : > Pablo Rodriguez via ntg-context schrieb am 15.08.2021 um 18:33: > > On 8/15/21 6:02 PM, Fabrice Couvreur via ntg-context wrote: > >> A small note : this method works if I comp

Re: [NTG-context] new upload/issue with t-vim?

2021-08-13 Thread Aditya Mahajan via ntg-context
On Mon, 9 Aug 2021, Hans Hagen wrote: > On 8/8/2021 11:53 PM, Aditya Mahajan via ntg-context wrote: > > On Sun, 8 Aug 2021, Hans Hagen via ntg-context wrote: > > > > > On 8/8/2021 1:13 PM, Benjamin Buchmuller via ntg-context wrote: > > > > I'm not

Re: [NTG-context] Adjustment in the table of contents

2021-08-16 Thread Wolfgang Schuster via ntg-context
Fabrice Couvreur via ntg-context schrieb am 16.08.2021 um 11:24: Hi, I wish to have the table of contents as the attached image. The result is almost as expected except for the margin of the subsection.  \setuplist    [chapter,section,subsection]  [width=fit,distance=\spaceamount

Re: [NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-16 Thread Wolfgang Schuster via ntg-context
Fabrice Couvreur via ntg-context schrieb am 16.08.2021 um 12:18: Hi Wolfgang, Pablo's solution works, but I tried yours without success. Here are the main lines of my project begin project \startproject[terminale-environment] \environment[terminale-style]  ... \stopproject end

Re: [NTG-context] Failure when loading variable font

2021-08-14 Thread Hans Hagen via ntg-context
On 8/14/2021 5:56 PM, Marcel Krüger via ntg-context wrote: Hi, the latest ConTeXt version fails for the following document: \definefontfeature [default:test] [default] [axis={Weight=100}] \definefont [SomeFont] [file:Fraunces.ttf*default:test

[NTG-context] Failure when loading variable font

2021-08-14 Thread Marcel Krüger via ntg-context
Hi, the latest ConTeXt version fails for the following document: \definefontfeature [default:test] [default] [axis={Weight=100}] \definefont [SomeFont] [file:Fraunces.ttf*default:test] \starttext \SomeFont Abcdef \stoptext and the font from

[NTG-context] different preffixsegments for different reference formats

2021-08-21 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \starttext \definereferenceformat[itsc][in] \setupreferencestructureprefix[itsc][default] [prefixsegments=section] \chapter{Chapter} \section[b]{Section} \itsc[b] and \in[b] \stoptext How can I get that \itsc gets

Re: [NTG-context] pgfplots module needs update from December

2021-08-21 Thread Mojca Miklavec via ntg-context
Dear Gavin, On Sat, 21 Aug 2021 at 06:05, Gavin via ntg-context wrote: > > The module pgfplots has a bug that produces an error for polar plots, and > perhaps in other situations. > > Is there anything I can do to aid in getting this fixed in the distribution? Can you plea

Re: [NTG-context] pgfplots module needs update from December

2021-08-21 Thread Hans Hagen via ntg-context
On 8/21/2021 1:26 PM, Mojca Miklavec via ntg-context wrote: Dear Gavin, On Sat, 21 Aug 2021 at 06:05, Gavin via ntg-context wrote: The module pgfplots has a bug that produces an error for polar plots, and perhaps in other situations. Is there anything I can do to aid in getting this fixed

[NTG-context] Handling of negative values in the statistical-charts?

2021-08-21 Thread Ramkumar KB via ntg-context
Dear List, I have been exploring the use of the awesome statistical-charts module. So first of all, a big thanks to the authors of the same. I seem to have hit a snag when it comes to handling of -ve values. In my example (attached tex & pdf), the

Re: [NTG-context] Strange new behaviour of the mailing list

2021-08-21 Thread Bruce Horrocks via ntg-context
> On 1 Aug 2021, at 15:16, Bruce Horrocks via ntg-context > wrote: > >> >> On 31 Jul 2021, at 22:02, Henning Hraban Ramm via ntg-context >> wrote: >> >>> >>> Am 31.07.2021 um 21:19 schrieb Bruce Horrocks : >>> >>> On 3

Re: [NTG-context] Unicode normalization and Hebrew in ConTeXt

2021-08-18 Thread Hans Hagen via ntg-context
On 8/17/2021 9:46 PM, Joey McCollum wrote: Thankfully, it looks like this was just a problem with my implementation of the OpenType feature and not with ConTeXt's handling of it! (I worried that it might be ConTeXt when I saw that XeLaTeX was handing the feature correctly.) Hans graciously

Re: [NTG-context] lmtx update

2021-08-19 Thread Aditya Mahajan via ntg-context
On Thu, 19 Aug 2021, Hans Hagen via ntg-context wrote: > Hi, > > Here are the highlights of todays update: > > - somewhat more compact tuc files, not for all documents, but it can > accumulate; also less memory used then; i could bring down an extreme > 2000 page 5 col

[NTG-context] lmtx update

2021-08-19 Thread Hans Hagen via ntg-context
Hi, Here are the highlights of todays update: - somewhat more compact tuc files, not for all documents, but it can accumulate; also less memory used then; i could bring down an extreme 2000 page 5 column doc tuc file down to 5% -- it was 70 MB; for the luametatex manual it reducec the tuc

Re: [NTG-context] paper dimensions for TEXpage

2021-08-19 Thread Pablo Rodriguez via ntg-context
On 8/18/21 4:25 PM, Hans Hagen via ntg-context wrote: > On 8/17/2021 4:01 PM, Pablo Rodriguez via ntg-context wrote: >> [...] >> In this case, \getfiguredimensions would work, but I don’t know how to >> deal with a pure text box. >> >> BTW, is there a way to h

[NTG-context] Progressively encouraging page/column breaks at \blank with penalties

2021-08-14 Thread Joey McCollum via ntg-context
Hi, I'm trying to implement a section break marker in a grid layout. At a section break, two lines of space should separate the subsequent segments of text (just plain paragraphs, in this case), and a symbol (in the example below, "X") should be set in the middle of these two lines. For my

Re: [NTG-context] Progressively encouraging page/column breaks at \blank with penalties

2021-08-14 Thread Aditya Mahajan via ntg-context
On Sun, 15 Aug 2021, Joey McCollum via ntg-context wrote: > Hi, > > I'm trying to implement a section break marker in a grid layout. At a > section break, two lines of space should separate the subsequent segments > of text (just plain paragraphs, in this case), and a symbol

Re: [NTG-context] Unicode normalization and Hebrew in ConTeXt

2021-08-16 Thread Joey McCollum via ntg-context
Hans, Sorry to bring this up after over a year, but I just noticed something that doesn't seem right. I implemented some contextual substitutions in my own fork of the Keter YG Hebrew font (.ttf file attached) under the "dlig" feature that should do the following two things: 1. If a *shin

[NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-15 Thread Fabrice Couvreur via ntg-context
Hello, Wolfgang created a heading https://mailman.ntg.nl/pipermail/ntg-context/2021/102870.html for the chapters of my book. How can I prevent this header from appearing on the page with the table of contents ? Thanks Fabrice

[NTG-context] paper dimensions for TEXpage

2021-08-16 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \definelayer[hi][x=.5\paperwidth, y=.5\paperheight] \setupbackgrounds[page][background=hi] \starttext \setlayer[hi]{hi} \startTEXpage[offset=10em] \null \stopTEXpage \stoptext I don’t get the layer in the TEXpage. How could I get it with

[NTG-context] compression for multimedia objects

2021-08-16 Thread Pablo Rodriguez via ntg-context
Hi Hans, some days ago (after the patch from https://mailman.ntg.nl/pipermail/ntg-context/2021/103011.html), I included two mp4 files in a PDF document. They where so generated, that they could be compressed in a zip file from 254MB into less than 25MB. The resulting PDF file was less than 25MB.

Re: [NTG-context] MKIV ansi/ansilog

2021-08-25 Thread Hans Hagen via ntg-context
On 8/25/2021 6:05 PM, Adam Reviczky via ntg-context wrote: Hi, I have been using the ansi and ansilog flags in the past and they work fine with lmtx, but do not seem to make a difference with luatex/mkiv. (There was a thread back in 2019: https://mailman.ntg.nl/pipermail/ntg-context/2019

[NTG-context] MKIV ansi/ansilog

2021-08-25 Thread Adam Reviczky via ntg-context
Hi, I have been using the ansi and ansilog flags in the past and they work fine with lmtx, but do not seem to make a difference with luatex/mkiv. (There was a thread back in 2019: https://mailman.ntg.nl/pipermail/ntg-context/2019/095666.html) I am trying just a simple hello world: \starttext

Re: [NTG-context] lmtx update/t-vim (again)

2021-08-23 Thread Hans Hagen via ntg-context
On 8/23/2021 7:42 PM, Aditya Mahajan wrote: On Mon, 23 Aug 2021, Benjamin Buchmuller via ntg-context wrote: This is the setup I have been using, but I'm unsure if the problem could be related to the other problem I had. (Not scaled to a MWE, but short enough.) I figured the issue by removing

Re: [NTG-context] lmtx update/t-vim (again)

2021-08-23 Thread Aditya Mahajan via ntg-context
On Mon, 23 Aug 2021, Benjamin Buchmuller via ntg-context wrote: > This is the setup I have been using, but I'm unsure if the problem could be > related to the other problem I had. (Not scaled to a MWE, but short enough.) > I figured the issue by removing some of the lines. I get the s

Re: [NTG-context] Curiosity about math.random in LuaTeX

2021-08-23 Thread Thierry Horsin via ntg-context
Hi again, Many thanks to Hans and Hans and Henri. The solution (going to low level) provided by Hans works fine. Best Thierry Le Monday 23 Aug 2021 à 17:13:00 (+0200), Hans Hagen a écrit : > On 8/23/2021 4:46 PM, Thierry Horsin via ntg-context wrote: > > Hi everybody. > > > &

[NTG-context] Losing a character during line break at a hyphen

2021-08-21 Thread Bruce Horrocks via ntg-context
Not sure whether this is a ligature problem or a hyphenation problem or both!In the following MWE, the line breaks at the hyphen following "Diffe", but oneof the f's is lost so the PDF shows "Dife-".Latest LMTX, version 2021.08.19 19:48\starttextTwenty years after receiving it as a Christmas

Re: [NTG-context] Losing a character during line break at a hyphen

2021-08-21 Thread Bruce Horrocks via ntg-context
> On 22 Aug 2021, at 00:12, Bruce Horrocks via ntg-context > wrote: > > Not sure whether this is a ligature problem or a hyphenation problem or both! Smaller MWE - it's not hyphenation: \starttext Diffe \stoptext gives "Dife". — Bruce

Re: [NTG-context] Control of Titles appearing in \completelistoftables and \completelistoffigures

2021-08-25 Thread Richard Mahoney via ntg-context
, which has a ‘list’ key   https://wiki.contextgarden.net/Command/_startplacefloat Best wishes, Taco > On 25 Aug 2021, at 05:20, Richard Mahoney via ntg-context > wrote: > > List, > > I've been wondering if there is some syntax that one can use in: > > \pl

[NTG-context] Something broke between 2021.07.23 and 2021.08.19

2021-08-23 Thread Bruce Horrocks via ntg-context
I re-processed a previous issue of a journal and found that it no longer compiled. It worked fine in versions up to and including 2021.07.23 but fails by version 2021.08.19 19:48. It may have failed a little earlier than this - I don't always refresh every release. The error in the console log

Re: [NTG-context] Why does HerosBold give bold italic?

2021-08-25 Thread Bruce Horrocks via ntg-context
> On 25 Aug 2021, at 13:56, Wolfgang Schuster > wrote: > > Bruce Horrocks via ntg-context schrieb am 25.08.2021 um 14:28: >> Why does HerosBold give bold italic instead of just bold? >> >> \definefont[TestA][name:Heros at 14pt] >> \definefont[TestB][na

<    1   2   3   4   5   6   7   8   9   10   >