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

2021-08-22 Thread Hans Hagen via ntg-context
On 8/22/2021 3:42 PM, Gavin wrote: On Aug 22, 2021, at 7:20 AM, Hans Hagen via ntg-context wrote: On 8/22/2021 2:25 PM, Gavin via ntg-context wrote: Hi Mojca, (I mistakenly sent this only to Mojca. I’m sending again to the group.) Is there anything I can do to aid in getting this fixed

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

2021-08-22 Thread Hans Hagen via ntg-context
On 8/22/2021 2:25 PM, Gavin via ntg-context wrote: Hi Mojca, (I mistakenly sent this only to Mojca. I’m sending again to the group.) Is there anything I can do to aid in getting this fixed in the distribution? Can you please try updating and checking again (at least with the "legacy

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

2021-08-22 Thread Hans Hagen via ntg-context
On 8/22/2021 1:27 AM, Bruce Horrocks via ntg-context wrote: 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". if

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

2021-08-22 Thread Hans Hagen via ntg-context
On 8/22/2021 4:32 PM, Gavin wrote: On Aug 22, 2021, at 8:13 AM, Hans Hagen wrote: you haven't post the tex code that fails so no one can check it Hans usemodule[tikz] \usemodule[pgfplots] \usetikzlibrary[pgfplots.polar] \startTEXpage \starttikzpicture \startpolaraxis

Re: [NTG-context] lmtx update

2021-08-19 Thread Hans Hagen via ntg-context
On 8/19/2021 10:07 PM, Aditya Mahajan via ntg-context wrote: 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

Re: [NTG-context] paper dimensions for TEXpage

2021-08-18 Thread Hans Hagen via ntg-context
On 8/17/2021 4:01 PM, Pablo Rodriguez via ntg-context wrote: On 8/17/21 9:30 AM, Hans Hagen via ntg-context wrote: On 8/17/2021 5:56 AM, Pablo Rodriguez via ntg-context wrote: [...] I don’t get the layer in the TEXpage. How could I get it with the TEXpage dimensions? only by first boxing

Re: [NTG-context] Size of root symbol

2021-08-18 Thread Hans Hagen via ntg-context
On 8/18/2021 6:06 PM, Aditya Mahajan via ntg-context wrote: On Wed, 18 Aug 2021, Bruce Horrocks via ntg-context wrote: Is there a simple way to get both root signs in this MWE to be the same size? \starttext \startformula \sqrt[3]{4n} \ne \sqrt[3] {n} \stopformula \stoptext Make the

Re: [NTG-context] lmtx update

2021-08-23 Thread Hans Hagen via ntg-context
On 8/23/2021 12:55 AM, Benjamin Buchmuller via ntg-context wrote: Hi, Here is another thing which worked previously for me: ConTeXt ver: 2021.07.30 00:57 LMTX fmt: 2021.8.8 int: english/english Now: ConTeXt ver: 2021.08.22 11:54 LMTX fmt: 2021.8.22 int: english/english Error: lua

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

2021-08-23 Thread Hans Hagen via ntg-context
On 8/23/2021 12:10 AM, Benjamin Buchmuller via ntg-context wrote: Hi, Thanks for having had a look into the t-vim. At least the document compiles fine (I get a PDF), although multiple complaints from the lua end when I use "$" or "#" in my source, for example #!/usr/bin/bash etc.

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

2021-08-17 Thread Hans Hagen via ntg-context
On 8/17/2021 2:07 AM, Joey McCollum wrote: 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

Re: [NTG-context] paper dimensions for TEXpage

2021-08-17 Thread Hans Hagen via ntg-context
On 8/17/2021 5:56 AM, Pablo Rodriguez via ntg-context wrote: 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

Re: [NTG-context] Footnotes in columns

2021-08-13 Thread Hans Hagen via ntg-context
On 8/13/2021 12:32 AM, Henning Hraban Ramm via ntg-context wrote: Am 13.08.2021 um 00:03 schrieb Hans Hagen via ntg-context : On 8/12/2021 10:01 PM, Jano Kula via ntg-context wrote: Hello Hraban! On Thu, Aug 12, 2021, 15:24 Henning Hraban Ramm via ntg-context mailto:ntg-context@ntg.nl

Re: [NTG-context] Footnotes in columns

2021-08-13 Thread Hans Hagen via ntg-context
On 8/13/2021 8:54 AM, Henning Hraban Ramm via ntg-context wrote: Am 13.08.2021 um 08:43 schrieb Hans Hagen : On 8/13/2021 12:32 AM, Henning Hraban Ramm via ntg-context wrote: Am 13.08.2021 um 00:03 schrieb Hans Hagen via ntg-context : On 8/12/2021 10:01 PM, Jano Kula via ntg-context wrote

Re: [NTG-context] compression for multimedia objects

2021-08-17 Thread Hans Hagen via ntg-context
On 8/17/2021 6:06 AM, Pablo Rodriguez via ntg-context wrote: 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

Re: [NTG-context] lua

2021-08-17 Thread Hans Hagen via ntg-context
On 8/17/2021 3:49 PM, Hans van der Meer via ntg-context wrote: Where is this message on luacondition 733 coming from? I would be glad to get rid of it. The message does not pinpoint the problem location enough for me to find its cause. close source    > level 2, order 7, name

Re: [NTG-context] lua

2021-08-17 Thread Hans Hagen via ntg-context
On 8/17/2021 4:47 PM, Taco Hoekwater via ntg-context wrote: Hi Hans, On 17 Aug 2021, at 16:39, Hans van der Meer via ntg-context wrote: I am still interested in this luacondition 733 allthough the culprit has been spotted. Very nasty typo and hard to spot fo me. The “luacondition 733” is

Re: [NTG-context] lua

2021-08-17 Thread Hans Hagen via ntg-context
On 8/17/2021 4:39 PM, Hans van der Meer via ntg-context wrote: I am still interested in this luacondition 733 allthough the culprit has been spotted. Very nasty typo and hard to spot fo me. Shudder and enjoy: \ifxmlatt{#1}{regime}{xml}\let\Flush\ModuleFlushXML\else\let\FlushModuleFlushTEX\fi

Re: [NTG-context] file to buffer

2021-08-17 Thread Hans Hagen via ntg-context
On 8/17/2021 8:44 PM, Wolfgang Schuster via ntg-context wrote: Hans van der Meer via ntg-context schrieb am 17.08.2021 um 15:15: Is it possible to retrieve the contents of a file directly into a buffer? On the Wiki I could not find such a command. That is, equivalent to something like:

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 context("1. " .. url:match

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] 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:

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] 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[ numbering=file, ]

[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] 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 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] 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

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 to

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

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), then an =

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 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 in

[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] 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 to a filename without the

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 errors to AucTeX.

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]

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]

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

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

[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] 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:

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] metafun doesn't compile \root 3 \of 2

2021-09-03 Thread Hans Hagen via ntg-context
On 9/3/2021 11:48 AM, fv leung via ntg-context wrote: \starttext \m{\root3\of2} \stoptext works. But \starttext \startMPcode   label("\m{\root3\of2}", origin); \stopMPcode \stoptext doesn't. draw thetextext("\m{\root3\of2}",origin); labels are done in the default (normally monospace)

Re: [NTG-context] getting line numbers

2021-09-03 Thread Hans Hagen via ntg-context
On 9/3/2021 12:58 PM, Thierry Horsin via ntg-context wrote: Hi everybody Is there a way to have an automatic access to the current line number of a specific place inside a tex file ? To be more precise, here is what I would like to do. I am currently trying to have some automatic external

Re: [NTG-context] "*.jpg is bugged", previously working

2021-09-01 Thread Hans Hagen via ntg-context
On 9/1/2021 7:22 PM, Henning Hraban Ramm via ntg-context wrote: Hi again, was something changed WRT JPEG images? Since a few versions some images that used to work are denied with the error message "... is bugged". Maybe there *is* something wrong with them, but I don’t see a problem.

Re: [NTG-context] getting line numbers

2021-09-03 Thread Hans Hagen via ntg-context
On 9/3/2021 3:53 PM, Aditya Mahajan via ntg-context wrote: On Fri, 3 Sep 2021, Thierry Horsin via ntg-context wrote: Hi everybody Is there a way to have an automatic access to the current line number of a specific place inside a tex file ? To be more precise, here is what I would like to

[NTG-context] update lmtx

2021-09-03 Thread Hans Hagen via ntg-context
Hi, The end of the week update provides: \starttext \startTEXpage[offset=10pt] \starttabulate[|c|c|c|] \NC 1 \NC second column \NC third column \NC \NR \NC 2 \NC second\NC third\NC \NR \NC 3 r \NS[1][r]second & third \NC \NR \NC 3 c

Re: [NTG-context] "*.jpg is bugged", previously working

2021-09-02 Thread Hans Hagen via ntg-context
On 9/2/2021 12:10 AM, Henning Hraban Ramm via ntg-context wrote: It’s a problem with grph-downsample.lua (or maybe GM), I must research further... gm .. gs .. etc .. always keep the version that works when updating (I think my gm is very old by now .. one seldom need the latest greatest

Re: [NTG-context] getting line numbers

2021-09-04 Thread Hans Hagen via ntg-context
On 9/4/2021 9:01 AM, thierry horsin via ntg-context wrote: Hi and thank you Aditaya and again Hans. By the way, just for fun , is there a(n easy) way to get the linenumber in the tex file ? there has always been \the\inputlineno but it is not always accurate (because content can come from

Re: [NTG-context] Using \vrule within mathmatrix

2021-09-04 Thread Hans Hagen via ntg-context
On 9/4/2021 4:31 AM, fv leung via ntg-context wrote: \definemathmatrix[pmatrix][matrix:parentheses][simplecommand=pMat] \starttext I used to typeset an augmented matrix this way: \m{\pMat{1,7,-6,\vrule,-4;3,-4,7,\vrule,13;4,3,1,\vrule,9}} \m{\pMat{1,7,-6,¦,-4;3,-4,7,¦,13;4,3,1,¦,9}} , i'll

Re: [NTG-context] Use MetaPost to distort images?

2021-09-04 Thread Hans Hagen via ntg-context
On 9/4/2021 2:18 PM, Henning Hraban Ramm via ntg-context wrote: I guess it’s on me to write a wiki page about GM. you can then also add some comparison with im (i.e. what does it offer more than gm) Hans -

Re: [NTG-context] error: (nodes): fuzzy token cleanup in whatsit node

2021-09-07 Thread Hans Hagen via ntg-context
On 9/7/2021 10:38 AM, Sylvain Hubert via ntg-context wrote: Dear List, I think I've just encountered a fragile bug. It is only reproducible with exactly the same layout as the doc below. Any insertion or removal of an item that changes the pagination would let the document compile. nasty border

Re: [NTG-context] transparency stopped working in LMTX

2021-09-07 Thread Hans Hagen via ntg-context
On 9/7/2021 11:02 AM, Henning Hraban Ramm via ntg-context wrote: (Latest LMTX, yesterday’s luametatex binary) The MWE shows no transparency with LMTX, it works with MkIV: ''' \setupexternalfigures[location=default] \definetransparency[light][a=1,t=.05] \definelayer[bg][x=0mm,y=0mm]

Re: [NTG-context] zint barcode module on LMTX/MacOS

2021-09-05 Thread Hans Hagen via ntg-context
On 9/5/2021 5:51 PM, Michal Vlasák via ntg-context wrote: Hello Hraban, "execute" should be a function defined in LuaMetaTeX, that internally calls zint functions. does context libs-imp-zint.mkxl produce something? -

Re: [NTG-context] zint barcode module on LMTX/MacOS

2021-09-05 Thread Hans Hagen via ntg-context
On 9/5/2021 7:53 PM, Michal Vlasák wrote: On Sun Sep 5, 2021 at 7:37 PM CEST, Hans Hagen wrote: On 9/5/2021 5:51 PM, Michal Vlasák via ntg-context wrote: Hello Hraban, "execute" should be a function defined in LuaMetaTeX, that internally calls zint functions. does context

Re: [NTG-context] If you really absolutely need more capacity, you can ask a wizard to enlarge me

2021-09-09 Thread Hans Hagen via ntg-context
On 9/9/2021 12:52 AM, Marcus Vinicius Mesquita via ntg-context wrote: Dear list, In the MWE below, ConTeXt lmtx throws an error with the message in the title: \starttext \startluacode local upperlimit = 9 context.starttabulate({ "|l|l|l|" }) for i=1,upperlimit do context.NC()

Re: [NTG-context] (neo)vim support & Lua

2021-09-09 Thread Hans Hagen via ntg-context
On 9/9/2021 2:08 PM, Saša Janiška via ntg-context wrote: Hello, some months ago there was a 0.5 release (https://neovim.io/news/2021/07) of Neovim which brings support for Lua language to a new level - "Lua as a first-class scripting and configuration language". Moreover, Neovim now it also has

Re: [NTG-context] "*.jpg is bugged", previously working

2021-09-01 Thread Hans Hagen via ntg-context
On 9/1/2021 7:22 PM, Henning Hraban Ramm via ntg-context wrote: Hi again, was something changed WRT JPEG images? Since a few versions some images that used to work are denied with the error message "... is bugged". Maybe there *is* something wrong with them, but I don’t see a problem.

Re: [NTG-context] positioning of metapost figure

2021-09-12 Thread Hans Hagen via ntg-context
On 9/12/2021 6:54 PM, Sylvain Hubert via ntg-context wrote: Dear List, The following code draws a circle at the center of the page, ignoring the "shifted" part. \startuniqueMPgraphic{concept} draw fullcircle scaled 1cm shifted (10cm,10cm); \stopuniqueMPgraphic

Re: [NTG-context] ConTeXt inserts additional dots for Iosevka font

2021-09-12 Thread Hans Hagen via ntg-context
On 9/12/2021 9:45 AM, Wolfgang Schuster via ntg-context wrote: Marcel Fabian Krüger via ntg-context schrieb am 12.09.2021 um 01:12: Hi, On Sun, Sep 12, 2021 at 12:01:08AM +0200, Hans Hagen wrote:   \definefontfeature     [default:test]     [default]     [cv36=2,cv26=6] What

Re: [NTG-context] ConTeXt inserts additional dots for Iosevka font

2021-09-12 Thread Hans Hagen via ntg-context
On 9/12/2021 9:45 AM, Wolfgang Schuster via ntg-context wrote: Marcel Fabian Krüger via ntg-context schrieb am 12.09.2021 um 01:12: Hi, On Sun, Sep 12, 2021 at 12:01:08AM +0200, Hans Hagen wrote:   \definefontfeature     [default:test]     [default]     [cv36=2,cv26=6] What

Re: [NTG-context] LuaMetaTEX as LaTeX to XHTML/ePub transpiler?

2021-09-10 Thread Hans Hagen via ntg-context
On 9/10/2021 1:13 PM, Hugh Fisher via ntg-context wrote: I have documents in LaTeX, and would like to generate XHTML (ePub) output without going through an intermediate DVI or PDF step. Markup to markup, translating or transpiling rather than typesetting. My use case is that I have two

Re: [NTG-context] Default page layout

2021-09-10 Thread Hans Hagen via ntg-context
On 9/10/2021 7:26 AM, kauśika cittūr via ntg-context wrote: Dear List, I am using LMTX 2021.08.30 19:56. I have the following example – \starttext \showlayout \input knuth \stoptext which yields an output (attached here) with a "asymmetric" layout. Am I doing something wrong? Or have I

Re: [NTG-context] If you really absolutely need more capacity, you can ask a wizard to enlarge me

2021-09-10 Thread Hans Hagen via ntg-context
On 9/10/2021 1:45 PM, Marcus Vinicius Mesquita wrote: Hi, After perusing the texmfcnf.lua file, I created a file with the same name in my texmf-local folder, changing the settings for the node memory and step size, but it did not affect the compilation of the original MWE (without the

[NTG-context] update

2021-09-13 Thread Hans Hagen via ntg-context
Hi, I uploaded a new lmtx (had forgotten to to it friday) . There are not that many visible changes but on is that i'm playing with some 'improvements' to inserts. Hopefully there are no side effects but the idea is to have somewhat better (more robust and predictable) support for e.g.

Re: [NTG-context] update

2021-09-13 Thread Hans Hagen via ntg-context
On 9/13/2021 10:37 AM, Henning Hraban Ramm wrote: Am 13.09.2021 um 10:07 schrieb Hans Hagen via ntg-context : Hi, I uploaded a new lmtx (had forgotten to to it friday) . There are not that many visible changes but on is that i'm playing with some 'improvements' to inserts. Hopefully

Re: [NTG-context] LuaMetaTEX as LaTeX to XHTML/ePub transpiler?

2021-09-11 Thread Hans Hagen via ntg-context
On 9/11/2021 1:19 PM, Hugh Fisher wrote: On Fri, 10 Sept 2021 at 21:47, Hans Hagen wrote: [ munch ] in this area there is nothing in luametatex that luatex can't do As in my earlier reply, I'm thinking about replacing Adobe Illustrator with Metapost, and LuaMetaTEX seems to have better

Re: [NTG-context] LuaMetaTEX as LaTeX to XHTML/ePub transpiler?

2021-09-11 Thread Hans Hagen via ntg-context
On 9/11/2021 1:49 PM, Hugh Fisher via ntg-context wrote: It may be unfair, but my impression is that TeX and typesetting / layout systems based on TeX can do more interesting things than say XML or Sphinx. Moving to a more "universal" markup format might broaden my options, but I don't want a

Re: [NTG-context] Weird error when using \startformula inside lua

2021-09-11 Thread Hans Hagen via ntg-context
On 9/11/2021 5:11 AM, Aditya Mahajan via ntg-context wrote: I sometimes define lua functions for showing out worked out calculations. The following minimal example shows that context([[\startformula ... \stopformula]]) fails in LMTX with an error message: tex error > tex error on

Re: [NTG-context] PDF metadata and pdfx keys

2021-09-15 Thread Hans Hagen via ntg-context
On 9/15/2021 1:27 PM, kauśika cittūr via ntg-context wrote: On Wednesday, September 15, 2021 8:08:34 AM IST kauśika cittūr wrote: Dear all, In my documents I use \setupinteraction [ author={AuthorName}, title={MyTitle}, subtitle={MySubtitle}, ] to set the

Re: [NTG-context] update

2021-09-13 Thread Hans Hagen via ntg-context
On 9/13/2021 10:14 PM, Henning Hraban Ramm wrote: Am 13.09.2021 um 11:12 schrieb Hans Hagen : On 9/13/2021 10:37 AM, Henning Hraban Ramm wrote: Am 13.09.2021 um 10:07 schrieb Hans Hagen via ntg-context : Hi, I uploaded a new lmtx (had forgotten to to it friday) . There are not that many

Re: [NTG-context] Implementing a custom authorconversion for bibliographies

2021-09-15 Thread Hans Hagen via ntg-context
On 9/15/2021 7:01 PM, Joey McCollum wrote: Looks like it was just a small oversight on my part; I had to make sure I added a corresponding \s!btx:\s!list:\s!author:invertedfirst setup for list entries. Here's what finally works: ``` \startsetups \s!btx:\s!cite:\s!author:invertedfirst    

Re: [NTG-context] Unable to install lmtx

2021-09-16 Thread Hans Hagen via ntg-context
On 9/15/2021 10:04 PM, Alain Delmotte via ntg-context wrote: Hi! I can't anymore install ConTeXt lmtx and wanted to use PPCHTeX and I always got an error message. So I wanted to run mtxrun --generate, but the access was denied. I then wanted to run the last install.bat (I am on Windows 10)

Re: [NTG-context] cld questions

2021-09-06 Thread Hans Hagen via ntg-context
On 9/6/2021 6:20 PM, Henning Hraban Ramm via ntg-context wrote: Another question: I think I understood the need for function arguments. My macro, defined with interfaces.implement, works while I call "Image" below, but if I call "ClippedImage" (one level of indirection more), I get: """ tex

Re: [NTG-context] \usemodule[chinese] not found

2021-09-06 Thread Hans Hagen via ntg-context
On 9/6/2021 6:51 PM, Sylvain Hubert via ntg-context wrote: Dear List, I'm trying to typeset an item group (itemize) with chinese numbering. It is suggested in multiple older documentations and answers that \startitemize[c] should be used, for which \usemodule[chinese] is required. But I can

Re: [NTG-context] modules not found

2021-09-08 Thread Hans Hagen via ntg-context
On 9/8/2021 12:53 PM, Hans van der Meer via ntg-context wrote: Further investigation seems to indicate that the module files are not found when initiating the context run from another directory. Though previously this was no problem. I have moved the whole ConTeXt machinery from $HOME to

Re: [NTG-context] zint barcode module on LMTX/MacOS

2021-09-06 Thread Hans Hagen via ntg-context
On 9/6/2021 10:34 AM, Henning Hraban Ramm via ntg-context wrote: Am 06.09.2021 um 01:13 schrieb Hans Hagen via ntg-context : On 9/5/2021 7:53 PM, Michal Vlasák wrote: On Sun Sep 5, 2021 at 7:37 PM CEST, Hans Hagen wrote: On 9/5/2021 5:51 PM, Michal Vlasák via ntg-context wrote: Hello

Re: [NTG-context] improve bad habits deduplicate redundant defined values

2021-09-18 Thread Hans Hagen via ntg-context
On 9/18/2021 2:57 PM, Denis Maier via ntg-context wrote: Ok. So in general you deal with diverging demands by creating new environments that you can load selectively? I currently struggle with a similar question: In one project I typeset articles for a journal from XML sources with ConTeXt.

Re: [NTG-context] Exclude bibliographic entries from list even when cited with \cite

2021-09-16 Thread Hans Hagen via ntg-context
On 9/16/2021 8:45 PM, Joey McCollum via ntg-context wrote: Hi, It's taken a couple weeks, but I nearly have a working bibliographic rendering for SBL style ready. I'm hosting the .lua and .mkvi files I have so far, as well as a test .bib and .tex file, on GitHub at

Re: [NTG-context] Unable to install lmtx

2021-09-17 Thread Hans Hagen via ntg-context
On 9/16/2021 11:45 PM, Henning Hraban Ramm via ntg-context wrote: Am 16.09.2021 um 19:45 schrieb Alain Delmotte via ntg-context : I changef my antivirus and now I could install lmtx. Besides that, most antivirus solutions for Windows since 7 aren’t better than the builtins and often even

Re: [NTG-context] improve bad habits deduplicate redundant defined values

2021-09-15 Thread Hans Hagen via ntg-context
On 9/15/2021 8:40 AM, juh via ntg-context wrote: Dear all, these are quite general questions but here they come. I defined modular styles for an organisation so that we can use different layouts with the same look and feel but still have many options to change things in a special document. I

Re: [NTG-context] Implementing a custom authorconversion for bibliographies

2021-09-15 Thread Hans Hagen via ntg-context
On 9/15/2021 5:06 AM, Joey McCollum via ntg-context wrote: All right, I figured out where I needed to make this change for it to take effect. The relevant script is publ-aut.lua. The code I needed to change was for the "oneauthor" function definition, which itself is located in the "btxauthor"

Re: [NTG-context] read PDF metadata from other file

2021-09-11 Thread Hans Hagen via ntg-context
On 9/11/2021 2:35 PM, Pablo Rodriguez via ntg-context wrote: Dear list, I have the following sample: \starttext \setupinteraction [state=start, title={\cldcontext{pdfe.open("b.pdf").Info.Title}}] \null \stoptext From a document composed with \insertpages, I need to

Re: [NTG-context] Axis macro in MetaFun

2021-09-11 Thread Hans Hagen via ntg-context
On 9/11/2021 4:27 PM, kauśika cittūr via ntg-context wrote: My final query: is it possible to specify a co-ordinate transform for any/all of the axes? For instance in my work, I would like to plot the y-axis in the log-scale. Alan is working on that when he is in distraction mode ... we have

Re: [NTG-context] Axis macro in MetaFun

2021-09-11 Thread Hans Hagen via ntg-context
On 9/11/2021 4:27 PM, kauśika cittūr via ntg-context wrote: Dear All, I am truly grateful for the new additions to MetaFun. It has greatly helped me in producing neat drawings for my academic work. In this connection, I have a few queries. Currently I am using PGFPlots (with ConTeXt) to draw

Re: [NTG-context] ConTeXt inserts additional dots for Iosevka font

2021-09-11 Thread Hans Hagen via ntg-context
On 9/11/2021 10:36 PM, Marcel Fabian Krüger via ntg-context wrote: Hi, ConTeXt has some issues with the character variant features of the Iosevka font available at https://github.com/be5invis/Iosevka/releases/download/v10.1.1/super-ttc-iosevka-10.1.1.zip E.g. the following document

Re: [NTG-context] no looseness in LMTX?

2021-09-07 Thread Hans Hagen via ntg-context
On 9/7/2021 11:49 AM, Henning Hraban Ramm via ntg-context wrote: In my magazine and book projects, I sometimes fix pagebreaking by stretching paragraphs with \looseness=1 Unfortunately this works _in my project_ only with MkIV, i.e. \looseness has no effect with LMTX. I tried different

Re: [NTG-context] Use MetaPost to distort images?

2021-09-05 Thread Hans Hagen via ntg-context
On 9/5/2021 9:40 AM, Henning Hraban Ramm via ntg-context wrote: Am 04.09.2021 um 19:06 schrieb Hans Hagen : On 9/4/2021 2:18 PM, Henning Hraban Ramm via ntg-context wrote: I guess it’s on me to write a wiki page about GM. you can then also add some comparison with im (i.e. what does it

Re: [NTG-context] Use MetaPost to distort images?

2021-09-05 Thread Hans Hagen via ntg-context
On 9/5/2021 9:40 AM, Henning Hraban Ramm via ntg-context wrote: OTOH IM offers much more features (e.g. the geometric transformations I inquired about), and you can find lots of interesting examples (including the scripts Bruce mentioned). I couldn’t find another CLI tool that can do most of

Re: [NTG-context] parameters TeX->LuaTeX

2021-09-05 Thread Hans Hagen via ntg-context
On 9/5/2021 10:14 AM, Hans van der Meer via ntg-context wrote: There is something I do not understand in the passing of parameters from TeX to LuaTex. This is my TeX definition: \def\ListSort[#1]#2{\directlua{hvdm.listsort([===[#2]===],[===[#1]===])}} tex haalt de {} rond #2 weg Calling

Re: [NTG-context] cld questions

2021-09-05 Thread Hans Hagen via ntg-context
On 9/5/2021 12:01 PM, Henning Hraban Ramm via ntg-context wrote: Hi again, I’m converting a few macros into Lua (LMTX), but couldn’t find some answers in the docs: * How translates \ifodd\realpageno ? This doesn’t work: if ((tex.getcount("realpageno") mod 2) == 1) then a = 1 end we're

Re: [NTG-context] no looseness in LMTX?

2021-09-07 Thread Hans Hagen via ntg-context
On 9/7/2021 3:13 PM, Henning Hraban Ramm via ntg-context wrote: But \updateparagraphproperties (see Hans’ message) helps, it’s just inconvenient. depends ... if you're in some group before a \par is given you won't get looseness which is way harder to track down, and carrying that on eover

Re: [NTG-context] Different Styles of Typing

2021-07-29 Thread Hans Hagen via ntg-context
On 7/28/2021 10:12 PM, Wolfgang Schuster wrote: 2. Rather than adding a additional argument to \starttyping etc. provide a \startnamedtyping with a mandatory argument with the name of the instance. ok, but i do need to check the before/after wrt setup To save a few lines of code a flag

Re: [NTG-context] How to check if buffer or block has content

2021-08-02 Thread Hans Hagen via ntg-context
On 8/2/2021 4:43 PM, Aditya Mahajan via ntg-context wrote: On Mon, 2 Aug 2021, Benjamin Buchmuller via ntg-context wrote: Hi, How can I check if a buffer or block has content (or is empty) before a \useblocks or \getbuffer statement? I would like to typeset a headline only if the

Re: [NTG-context] using a red frame as an overlay

2021-08-02 Thread Hans Hagen via ntg-context
On 8/2/2021 1:38 PM, Jeong Dal via ntg-context wrote: Hi, I used red frame which is in the metafun manual for long time. But it is not working now. Here is a MWE and a part of the log file. What should I change in the definitions? just update I am using "ConTeXt  ver: 2021.07.10 21:51 LMTX  

Re: [NTG-context] How to check if buffer or block has content

2021-08-03 Thread Hans Hagen via ntg-context
On 8/2/2021 6:31 PM, Wolfgang Schuster via ntg-context wrote: \doifelsebufferempty i go for that one (mkiv and lmtx0 ; btw, \doifelsebuffer is expandable but the empty test not) Hans -

Re: [NTG-context] How to check if buffer or block has content

2021-08-03 Thread Hans Hagen via ntg-context
On 8/2/2021 8:54 PM, Benjamin Buchmuller via ntg-context wrote: That's great, I wikified a Note for testing if a buffer exists or has content (using the \getbuffer[…] approach for the moment). If I was asked, I'd opt for \doifelseemptybuffer (doifemptyelse?) since one could think of similar

Re: [NTG-context] How to check if buffer or block has content

2021-08-03 Thread Hans Hagen via ntg-context
On 8/2/2021 8:54 PM, Benjamin Buchmuller via ntg-context wrote: That's great, I wikified a Note for testing if a buffer exists or has content (using the \getbuffer[…] approach for the moment). If I was asked, I'd opt for \doifelseemptybuffer (doifemptyelse?) since one could think of similar

Re: [NTG-context] img.scan in lmtx?

2021-08-05 Thread Hans Hagen via ntg-context
On 8/5/2021 12:26 PM, Henning Hraban Ramm via ntg-context wrote: Am 08.07.2021 um 23:09 schrieb Hans Hagen : On 7/8/2021 8:31 PM, Henning Hraban Ramm wrote: Am 27.01.2020 um 09:16 schrieb Hans Hagen : On 1/26/2020 11:50 PM, Henning Hraban Ramm wrote: I use the lua function

  1   2   3   4   5   6   7   8   9   10   >