[NTG-context] issue with variable font

2022-10-23 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample (using current latest from 22022.10.22 11:23): \definefontfeature [book] [axis={weight=700}] \definefontfamily[mainface][rm] [Commissioner][features={default, book}] \setupbodyfont[mainface, 25pt] \starttext \startTEXpage[offset=1ex,

Re: [NTG-context] Setting the size of \small

2022-10-21 Thread Pablo Rodriguez via ntg-context
On 10/21/22 00:59, Leah Neukirchen via ntg-context wrote: > Hi, > > playing around with \definebodyfontenvironment with latest LMTX, > I found this possibly buggy behavior: > > \definebodyfontenvironment[12pt][small=6pt] % x=6pt works here > \setupbodyfont[12pt] > \starttext > normal {\tx tx}

[NTG-context] \showstruts displaces text in LMTX

2022-10-19 Thread Pablo Rodriguez via ntg-context
Dear list, compiling the following sample with current latest (2022.10.15 10:37): \showframe \showstruts \setuppapersize[A6] \setupnotation[footnote] [alternative=serried] \starttext a\footnote{\input zapf} \stoptext I get the text in the footnote is displaced. It only

Re: [NTG-context] Suboptimal German hyphenation

2022-10-19 Thread Pablo Rodriguez via ntg-context
On 10/19/22 16:47, Leah Neukirchen via ntg-context wrote: >> [...] >> Many prefixes have two letters, so changing the default may be >> reasonable. But there are more experienced German typographers on >> this list who can chime in. > > After some research, I found the recommendation in >

Re: [NTG-context] new upload

2022-10-18 Thread Pablo Rodriguez via ntg-context
On 10/17/22 22:40, Hans Hagen via ntg-context wrote: > On 10/17/2022 7:12 PM, Pablo Rodriguez via ntg-context wrote: >> […] >> The problem is clearly not the speed of the internet connection. I use >> internet with the standard speed. >> >> There are two things

Re: [NTG-context] new upload

2022-10-17 Thread Pablo Rodriguez via ntg-context
On 10/15/22 11:28, Hans Hagen via ntg-context wrote: > […] > just run twice as the script will pick up Hi Hans, I have tried updating ConTeXt in Windows this morning and I’m afraid it hasn't worked. Until I can manage this, I think I will download (to the extend that is possible [and if this

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

2022-10-16 Thread Pablo Rodriguez via ntg-context
On 7/25/22 14:00, juh+ntg-context--- via ntg-context wrote: > [...] > They hint to LuaMetaTex as the cause of the problem. You can follow the > discussion here. > > https://bugzilla.mozilla.org/show_bug.cgi?id=1781022 Hi juh, this should have been fixed in current latest. So I think it may be

Re: [NTG-context] list not following "focus=standard"

2022-10-16 Thread Pablo Rodriguez via ntg-context
On 10/16/22 13:28, Pablo Rodriguez via ntg-context wrote: > [...] > So, line 40 of that file ("local cheat = true") needs a conditional that > I’m not able to provide (I have no idea how it would read). > > Basically, if \setupinteraction[focus=standard], please don

Re: [NTG-context] list not following "focus=standard"

2022-10-16 Thread Pablo Rodriguez via ntg-context
On 10/14/22 23:24, Pablo Rodriguez via ntg-context wrote: > Hi Hans, > > I have the following sample: > > \setupinteraction[state=start, > focus=standard] > \starttext > \completecontent > \section{section} > a\footnote{\contextversion} > \stopte

Re: [NTG-context] new upload

2022-10-15 Thread Pablo Rodriguez via ntg-context
On 10/15/22 09:41, Hans Hagen via ntg-context wrote: > On 10/14/2022 4:14 PM, Pablo Rodriguez via ntg-context wrote: >> [...] >> Many thanks for the new version, Hans. >> >> I have discovered that it includes in >> tex/texmf-context/source/luametatex what should

[NTG-context] list not following "focus=standard"

2022-10-14 Thread Pablo Rodriguez via ntg-context
Hi Hans, I have the following sample: \setupinteraction[state=start, focus=standard] \starttext \completecontent \section{section} a\footnote{\contextversion} \stoptext With version from 2022.09.11 20:44, the link from the TOC reads in the PDF file: 4 0 obj << /D [ 1 0 R

Re: [NTG-context] issues with current latest

2022-10-14 Thread Pablo Rodriguez via ntg-context
On 10/14/22 16:34, Alain Delmotte via ntg-context wrote: > Hi! Hi Alain, many thanks for your help. > For me it works! And > > also for this! I’m afraid that I cannot make latest from 2022.10.14 10:16 with LuaTeX. I’m on Linux64. I hope I may make it work with Win64. As for the issue with

Re: [NTG-context] ToC filler dots not aligned

2022-10-14 Thread Pablo Rodriguez via ntg-context
On 10/14/22 17:29, Schister, Roman via ntg-context wrote: > Hi, > > If I typeset a table of contents with the latest version of ConTeXt > on my computer (2022.09.11 20:44 LMTX), the filler dots used in list > alternative C aren’t aligned [...] Hi Roman, I compiled your code with version from

[NTG-context] issues with current latest

2022-10-14 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \setuppapersize[A7] \setupinteraction[state=start, color=darkred, contrastcolor=darkred, focus=standard] \starttext \completecontent \startsection[title={sec}, list=(before \&\ now), reference=a] \page \in[a] (after 2022.10.14

Re: [NTG-context] new upload

2022-10-14 Thread Pablo Rodriguez via ntg-context
On 10/14/22 10:21, Hans Hagen via ntg-context wrote: > Hi, > > I uploaded a new version. Apart from a few fixes / extensions already > mentioned here (or known to those who wanted it) the main changes are in > the math goodie files (work in progress, we will clean them up later) as > part of

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

2022-10-13 Thread Pablo Rodriguez via ntg-context
On 10/13/22 00:50, Max Chernoff via ntg-context wrote: > On Wed, 2022-10-12 at 13:14 +0200, Leah Neukirchen wrote: >> [...] >> The last version of font-cff.lua should also copy the hinting-related >> values of the CFF properly (/BlueScale, /StemSnap[HV] etc). >> We fixed that on the side. ;) > >

Re: [NTG-context] Help test a LMTX bug fix: tweaks in PDF generation

2022-10-10 Thread Pablo Rodriguez via ntg-context
On 10/9/22 17:33, Leah Neukirchen via ntg-context wrote: > [...] > So please: Try to preview and then try to print the attached PDF; > and report back if either preview or printout does not look like > the attached reference PNG image (i.e. something is missing, > the fonts look different, or have

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

2022-10-05 Thread Pablo Rodriguez via ntg-context
On 10/3/22 20:57, Leah Neukirchen via ntg-context wrote: >> [...] >> \setupbackend[level=0,compresslevel=0] >> \starttext >> Just a line of text. >> \stoptext >> [...] > > On Acrobat DC on macOS, there is a visible difference between the two files: Hi Leah, this issue also happens with PDF.js

Re: [NTG-context] Missing letters and numbers in printout

2022-09-29 Thread Pablo Rodriguez via ntg-context
On 9/29/22 15:54, Angel M Alganza via ntg-context wrote: > On Wed, Sep 28, 2022 at 03:59:07PM +0200, Hans Hagen via ntg-context wrote: > [...] >> but lmtx is and will stay as default > > Too bad the default won't work as expected (it did before or, at least > with TeXLive distribution,) sometimes,

[NTG-context] strange issue with hyphens

2022-09-28 Thread Pablo Rodriguez via ntg-context
Dear list, I’m experiencing a weird issue with hyphenation: \setuphyphenation [method=traditional] \starttext \hyphenatedword{a-legibility-c} \sethyphenationfeatures [strict] \hyphenatedword{a-legibility-c} \stoptext I need the setup hyphenation commands to get underscore

Re: [NTG-context] TOC colors and in-page anchors

2022-09-28 Thread Pablo Rodriguez via ntg-context
On 9/28/22 12:20, Sylvain Hubert via ntg-context wrote: > Thanks for the pointers, but unfortunately I cannot reproduce the second > fix with either the system pdf viewer or the browser one. Hi Sylvain, it seems that ConTeXt is basically ignoring "focus=standard" in lists. Compare both links

Re: [NTG-context] Missing letters and numbers in printout

2022-09-28 Thread Pablo Rodriguez via ntg-context
On 9/28/22 15:30, Angel M Alganza via ntg-context wrote: > On Tue, Sep 27, 2022 at 04:03:06PM +0200, Pablo Rodriguez via > ntg-context wrote: >> [...] >> I think that this PDF document will be fine with your printer. > > It was. I printed it this morning without any pr

Re: [NTG-context] Missing letters and numbers in printout

2022-09-27 Thread Pablo Rodriguez via ntg-context
On 9/26/22 23:04, Angel M Alganza via ntg-context wrote: > On Mon, Sep 26, 2022 at 10:44:55PM +0200, Hans Hagen via ntg-context wrote: > >> mtxrun --script pdf --info oeps.pdf > [...] > mtx-pdf | creation date > D:20220920071929+02'00' > mtx-pdf | modification date >

Re: [NTG-context] Missing letters and numbers in printout

2022-09-27 Thread Pablo Rodriguez via ntg-context
On 9/26/22 20:26, Angel M Alganza via ntg-context wrote: > On Mon, Sep 26, 2022 at 07:10:40PM +0200, Pablo Rodriguez via ntg-context > wrote: > [...] >> There might be a workaround (or a way of testing this), compiling the >> PDF document with LuaTeX instead of with Lua

Re: [NTG-context] new hash for buffer (as file)

2022-09-26 Thread Pablo Rodriguez via ntg-context
On 9/26/22 02:05, Max Chernoff via ntg-context wrote: > > Hi Pablo, > >> But now I don’t understand is the following issue: if the saved file >> contains "\r\n", why does basic Notepad the new lines? >> >> "\r\n" are the chars to get new lines in Windows. Or what am I missing here? > > I'm not too

Re: [NTG-context] PDF viewer

2022-09-26 Thread Pablo Rodriguez via ntg-context
On 9/26/22 16:44, Willi Egger via ntg-context wrote: > Hi Pablo, > > Hraban refers to Paulo Ney de Souza from US. He recently joined the > ConTeXt meeting and indeed he mentioned that TUG had a fund raising > campaign which was successful. Many thanks for your replies, Hraban and Willi. Pablo

Re: [NTG-context] Missing letters and numbers in printout

2022-09-26 Thread Pablo Rodriguez via ntg-context
On 9/26/22 16:06, Angel M Alganza via ntg-context wrote: > Hello, Hi Ángel, > [...] > I tried printing the same file (from the same USB drive) into a > different printer, this time connected to a computer, and sending the > file from it, which worked just fine. My guess is that the first >

Re: [NTG-context] new hash for buffer (as file)

2022-09-25 Thread Pablo Rodriguez via ntg-context
On 9/23/22 17:06, Pablo Rodriguez via ntg-context wrote: > On 9/23/22 06:01, Max Chernoff via ntg-context wrote: >> […] >>return utilities.sha2.hash256( >>str:gsub(string.char(0x0D), string.char(0x0A)) >>) > […] > thi

Re: [NTG-context] PDF viewer

2022-09-25 Thread Pablo Rodriguez via ntg-context
On 9/25/22 17:24, juh via ntg-context wrote: > Am Thu, Sep 22, 2022 at 06:47:50PM -0600 schrieb Max Chernoff via ntg-context: >> I think that pdf.js (the Firefox PDF viewer) meets most of these >> requirements. There are a few requirements that it doesn't meet, but >> it's open source and written

Re: [NTG-context] line numbering for \setuptyping

2022-09-25 Thread Pablo Rodriguez via ntg-context
On 9/24/22 19:56, Pablo Rodriguez via ntg-context wrote: > [...] > Which \setuplinenumbering is applied to typing fragments? > > Just in case my question isn’t clear: how can I get "step=3" in the > sample above? Hi there, I reply this question myself: "s

[NTG-context] line numbering for \setuptyping

2022-09-24 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \setuplinenumbering[typing] [step=3] \starttext \starttyping[numbering=line] Line Line Line \stoptyping \stoptext Which \setuplinenumbering is applied to typing fragments? Just in case my question isn’t clear: how can I get

Re: [NTG-context] PDF viewer

2022-09-23 Thread Pablo Rodriguez via ntg-context
On 9/23/22 12:18, Max Chernoff via ntg-context wrote: >> Unfortunately, Firefox doesn’t register itself as a PDF viewer (at >> least on MacOS), that means I can’t use it easily to open a PDF >> from the command line (e.g. in scripts). > > That's odd. You can set it as the default PDF viewer on

Re: [NTG-context] PDF viewer

2022-09-23 Thread Pablo Rodriguez via ntg-context
On 9/22/22 20:07, Henning Hraban Ramm via ntg-context wrote: > […] > I suggest we’ll discuss funding in the context group board, but there > was also a discussion about fundraising at the 2022 meeting that I > didn’t follow – I think Paulo said he had experience in fundraising? Hi Hraban, sorry

Re: [NTG-context] new hash for buffer (as file)

2022-09-23 Thread Pablo Rodriguez via ntg-context
On 9/23/22 06:01, Max Chernoff via ntg-context wrote: > […] > The SHA calculation isn't working properly because of a weird newline > issue. Try this: > […] >function sha256(str) >return utilities.sha2.hash256( >str:gsub(string.char(0x0D), string.char(0x0A)) >

[NTG-context] new hash for buffer (as file)

2022-09-22 Thread Pablo Rodriguez via ntg-context
Dear list, playing with buffer contents, I have the following file: \setupinteraction[state=start] \setupinteractionscreen[option={attachment}] \startbuffer[test] just a test and another one \stopbuffer \starttext \ctxlua{require("util-sha")} \def\shabuffer#1%

Re: [NTG-context] hash for buffer contents

2022-09-22 Thread Pablo Rodriguez via ntg-context
On 9/22/22 00:26, Max Chernoff via ntg-context wrote: > Hi Pablo, > >> Is there any way to get "utilities.sha2.hash512" with the contents of >> the "abc" buffer? > > You can use "buffers.getcontent" or "buffers.raw": Many thanks for your reply, Max. This is exactly what I needed. >

[NTG-context] hash for buffer contents

2022-09-21 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \ctxlua{require("util-sha")} \starttext \startbuffer[abc] samples \stopbuffer \cldcontext{utilities.sha2.hash512("buffer-name")} \stoptext Is there any way to get "utilities.sha2.hash512" with the contents of the "abc" buffer? Many

Re: [NTG-context] cannot update ConTeXt to 2022.09.16

2022-09-21 Thread Pablo Rodriguez via ntg-context
On 9/21/22 09:36, Hans Hagen via ntg-context wrote: > On 9/21/2022 9:03 AM, Marco Patzer via ntg-context wrote: >> Pablo Rodriguez via ntg-context wrote: >> >>> Could anyone confirm the issue? >> >> I can confirm. On a fresh install I'm getting >&

Re: [NTG-context] cannot update ConTeXt to 2022.09.16

2022-09-20 Thread Pablo Rodriguez via ntg-context
On 9/19/22 18:23, Otared Kavian via ntg-context wrote: > Hi Pablo, > > I had the same issue and, as this was discussed a few years or months > ago, after removing the three files with extension « .tma » the > update goes through normally.> On my machine, running MacOS X, I had to > remove the

Re: [NTG-context] cannot update ConTeXt to 2022.09.16

2022-09-19 Thread Pablo Rodriguez via ntg-context
On 9/19/22 18:23, Otared Kavian via ntg-context wrote: > Hi Pablo, > > I had the same issue and, as this was discussed a few years or months > ago, after removing the three files with extension « .tma » the > update goes through normally. On my machine, running MacOS X, I had > to remove the

[NTG-context] axis values (other than weight) for a variable font

2022-09-19 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \definefontfeature [book] [axis={weight=400}] \definefontfamily [mainface] [rm] [Recursive] [features={default, book}] \setupbodyfont[mainface] \starttext \input zapf \stoptext This is for Recursive a

[NTG-context] cannot update ConTeXt to 2022.09.16

2022-09-19 Thread Pablo Rodriguez via ntg-context
Dear list, after updating to latest from 2022.09.11 20:44 (altough LMTX was tagged as 20220918), I’m afraid I cannot update ConTeXt to 2022.09.16 (current latest according to https://www.pragma-ade.com/download-1.htm). This happens to me with both Windows and Linux (both 64bit). I guess this

Re: [NTG-context] Hyphenation in multi-language projects

2022-09-14 Thread Pablo Rodriguez via ntg-context
On 9/14/22 16:54, Denis Maier via ntg-context wrote: >> [...] >> Isn’t there a way to list exceptions that will work in *all* >> languages? > > I thought that \hyphenation would work like that, or \startexceptions > without a language code. Apparently that's not the case. \hyphenation only works

Re: [NTG-context] [secure site not available]

2022-09-14 Thread Pablo Rodriguez via ntg-context
On 9/14/22 16:43, Floris van Manen via ntg-context wrote: > When trying to download the context distribution for linux and 64 > > https://lmtx.pragma-ade.nl/install-lmtx/context-linux-64.zip > > i get a warning about missing security: > [...] > Is there a (simple) solution? Hi Florian, I only

Re: [NTG-context] searching in the source browser

2022-09-05 Thread Pablo Rodriguez via ntg-context
On 9/5/22 20:28, Henning Hraban Ramm via ntg-context wrote: > Hi, this is probably for Taco: > > Is there a possibility in the source browser to search for macros > (\something) or anything containing dots (logs.errors)? > Because neither “simple” nor with Lua patterns I get any results. > > E.g.

Re: [NTG-context] How to make a reference go to an exact point of a section on a page?

2022-09-01 Thread Pablo Rodriguez via ntg-context
On 9/1/22 14:36, amano.kenji via ntg-context wrote: > I just created a reference to a \section with \in. > > Clicking the \in reference doesn't go to the \section, but to the > page that has the \section. > > Does ConTeXt lack the ability to go to an exact point of a numbered > element on a page?

[NTG-context] SHA added to wiki

2022-08-29 Thread Pablo Rodriguez via ntg-context
Dear list, I added https://contextgarden.net/SHA. I know that my composition is minimal and maybe the sample is poor. Just in case anyone might want to improve it. Best, Pablo ___ If your question is of interest

Re: [NTG-context] SHA calculation

2022-08-28 Thread Pablo Rodriguez via ntg-context
On 8/28/22 12:41, Hans Hagen via ntg-context wrote: > On 8/28/2022 12:25 PM, Hans van der Meer via ntg-context wrote: >> [...] >> Where to look? > have a look at > > l-sha.lua Hans, I wonder whether https://github.com/Egor-Skriptunoff/pure_lua_SHA may be interesting for ConTeXt. I mean, it is

Re: [NTG-context] SHA calculation

2022-08-28 Thread Pablo Rodriguez via ntg-context
On 8/28/22 12:25, Hans van der Meer via ntg-context wrote: > > With \directlua{context(md5.hex([===[#1]===]))} I can calculate the MD5 > checksum.  > I thought there was another call for the calculation of the SHA > checksum, but I could not find it in the documentation or on the context > garden. 

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 upd

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

[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}̱

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 fa

Re: [NTG-context] C with macron

2022-08-24 Thread Pablo Rodriguez via ntg-context
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 ConTeXt handles it internally, but placement to main character differs with each letter: \starttext

Re: [NTG-context] C with macron

2022-08-24 Thread Pablo Rodriguez via ntg-context
On 8/24/22 02:23, Thangalin via ntg-context wrote: > Hi again, > > Re: https://tex.stackexchange.com/q/364024/2148 > > > How do you typeset a C with a macron below? According to https://en.wikipedia.org/wiki/Macron_below, this works in ConTeXt:

Re: [NTG-context] Clipping multiple PDFs

2022-08-23 Thread Pablo Rodriguez via ntg-context
On 8/23/22 19:12, Jethro Djan via ntg-context wrote: > Hello, > > [...] I have also been searching for stuff about “low-level” stuff in > ConTexT like the \doloopoverlist command. https://wiki.contextgarden.net/System_Macros/Loops_and_Recursion should contain \doloopoverlist. I have just added

Re: [NTG-context] Clipping multiple PDFs

2022-08-23 Thread Pablo Rodriguez via ntg-context
On 8/23/22 17:27, Aditya Mahajan via ntg-context wrote: > [...] > For a more low-level interface to finding the number of pages, see: > > https://adityam.github.io/context-blog/post/include-multi-page-pdf/ Hi Aditya, I wonder whether your final definition should be rewritten as:

Re: [NTG-context] Clipping multiple PDFs

2022-08-23 Thread Pablo Rodriguez via ntg-context
On 8/22/22 17:46, Jethro Djan via ntg-context wrote: > Thanks for the solution Pablo. It works well. Glad to read it worked for you, Jethro. > I wanted to add more pdfs (which also has many pages) and found it > was easier for me to reason in the lua side of things. This is what I > have at the

Re: [NTG-context] Clipping multiple PDFs

2022-08-21 Thread Pablo Rodriguez via ntg-context
On 8/18/22 02:13, jethro Reuel via ntg-context wrote: > Hello, > > I am trying to put multiple PDF’s that were typeset differently into > one document without modifying the individual files themselves. > [...] > The problem is the original page numbers show and I’d prefer that it > did not. So I

[NTG-context] sync text streams in facing pages

2022-08-15 Thread Pablo Rodriguez via ntg-context
Dear list, adapting a the sample from mkxl/page-str.mkxl (and code from the list), I came with the following sample: \setuppapersize[A6] \showgrid %\setuplayout[grid=yes] \starttext \input tufte \startoutputstream[es] \dorecurse{25} {\startlanguage[es]\input

Re: [NTG-context] issue with lpath

2022-08-04 Thread Pablo Rodriguez via ntg-context
On 8/4/22 17:32, Taco Hoekwater via ntg-context wrote: > [...] > PS This sort of confusing filtering is why I do most of my xml > processing from the lua end, where it is much clearer to me what is > what. Many thanks for clarifying the issue, Taco. BTW, according to the last slide from

Re: [NTG-context] issue with lpath

2022-08-04 Thread Pablo Rodriguez via ntg-context
On 8/4/22 12:22, Taco Hoekwater via ntg-context wrote: >> On 3 Aug 2022, at 15:54, Pablo Rodriguez via ntg-context >> wrote: >> BTW, is there any way to rephrase "{h3 + blockquote}" in proper Lua? > > I was wondering about that as well, and I really had no c

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

2022-08-03 Thread Pablo Rodriguez via ntg-context
On 8/3/22 16:39, Denis Maier via ntg-context wrote: > [...] > Just like Pablo, I'm from time to time reading through the xml-mkiv > manual, and I was just wondering if there other places where I can > other examples or explanations. (If it were a more general Lua thing > for example...) Hi

Re: [NTG-context] issue with lpath

2022-08-03 Thread Pablo Rodriguez via ntg-context
On 8/3/22 09:09, Taco Hoekwater via ntg-context wrote: >> On 2 Aug 2022, at 21:14, Pablo Rodriguez via ntg-context >> wrote: >> [...] >> I need an lpath to select the h3 node above, but only the one with "h3 + >> blockquote" as a CSS selector (which c

Re: [NTG-context] Forbid footnotes from splitting across pages

2022-08-03 Thread Pablo Rodriguez via ntg-context
On 8/3/22 03:05, Idris Samawi Hamid ادريس سماوي حامد via ntg-context wrote: > Dear gang, > > Objectives: > > i) Prevent footnotes from splitting across a page or pagebreak Dear Idris, I wonder whether a \framed[offset=none, frame=off, width=\textwidth] would make sense here. At least, it would

[NTG-context] issue with lpath

2022-08-02 Thread Pablo Rodriguez via ntg-context
Dear list, I have this sample: \startbuffer[demo] One Standard paragraph Quoted text Two Direct quote \stopbuffer \startxmlsetups xml:initialize \xmlsetsetup{#1} {p|blockquote} {xml:*}

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

2022-07-26 Thread Pablo Rodriguez via ntg-context
On 7/25/22 20:19, luigi scarso via ntg-context wrote: > On Mon, Jul 25, 2022 at 7:52 PM Pablo Rodriguez via ntg-context > wrote: > > Sadly, as already reported, LuaTeX doesn’t work on Linux anymore. > > hm at least luatex on x86-64 is still ok, as far as  I know. L

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

2022-07-25 Thread Pablo Rodriguez via ntg-context
On 7/25/22 14:00, juh+ntg-context--- via ntg-context wrote: > > I reported the bug to Mozilla and they answered very fast. > > Sadly up too now without a good solution. Many thanks for the bug report. > They hint to LuaMetaTex as the cause of the problem. You can follow the > discussion here. I

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

2022-07-22 Thread Pablo Rodriguez via ntg-context
On 7/22/22 12:37, juh+ntg-context--- via ntg-context wrote: > Dear all, > > the firefox pdf viewer has problems with at least two sans serif fonts. > [...] > > Where Libreoffice has type "Type 1", lmtx has "CID Type 0C". > > Where Libreoffice has encoding "Builtin", lmtx has "Identity-H". > > I

Re: [NTG-context] formula reference link undefined

2022-07-21 Thread Pablo Rodriguez via ntg-context
On 7/21/22 19:48, Alan via ntg-context wrote: > On Fri, 15 Jul 2022 09:10:07 +0200 > Hans Hagen via ntg-context wrote: > >> there will be an update as soon as the mac intel bins are generated > > (still broken) Sorry, Alan, but I get from

Re: [NTG-context] two issues with \sciteinlinebuffer

2022-07-09 Thread Pablo Rodriguez via ntg-context
On 7/9/22 08:42, Hans Hagen via ntg-context wrote: > On 7/8/2022 7:51 PM, Pablo Rodriguez via ntg-context wrote: >> [...] >> Excuse my ignorance, but it is \sciteinlinebuffer the misbehaving >> command in my code. > \unexpanded\def\module_scite_buffer_inline[#1][#2

Re: [NTG-context] two issues with \sciteinlinebuffer

2022-07-08 Thread Pablo Rodriguez via ntg-context
On 7/7/22 23:30, Hans Hagen via ntg-context wrote: > On 7/7/2022 6:19 PM, Pablo Rodriguez via ntg-context wrote: >> [...] >> 1. Margin is applied to \sciteinlinebuffer. >> >> 2. An extra unwanted space is added after \sciteinlinebuffer. >> >> Isn’t it i

[NTG-context] two issues with \sciteinlinebuffer

2022-07-07 Thread Pablo Rodriguez via ntg-context
Hi Hans, many thanks for the new release. I experience two issues with scite buffers: \usemodule[scite] \setuptyping[margin=yes] \starttext \startbuffer[b]b\stopbuffer \startTEXpage[offset=1em] no margin a \sciteinlinebuffer[none][b] a a \typeinlinebuffer[b][option] a

Re: [NTG-context] Auto width and height on table cells

2022-06-30 Thread Pablo Rodriguez via ntg-context
On 6/30/22 18:10, Angel M Alganza via ntg-context wrote: > [...] > No, you aren't, and it almost does it, except when the fixed width > column is other than the first one, I'm afraid. Hi Ángel, there might be a way to get it, as long as you don’t define height directly, such as in: \starttext

Re: [NTG-context] Auto width and height on table cells

2022-06-30 Thread Pablo Rodriguez via ntg-context
On 6/30/22 09:46, Angel M Alganza via ntg-context wrote: > [...] > How about the auto row height? That'd be the only thing I'm missing. Hi Ángel, I’m not sure whether I’m totally missing your point, but I think this is a way that might achieve what you want: \starttext \showframe

[NTG-context] indent in \setuptyping

2022-06-29 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \showframe \setuppapersize[A8] \setuptyping [align={right,broad}, strip=yes, lines=yes, blank=halfline] \starttext \startXML content content content content content content content content

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

2022-06-27 Thread Pablo Rodriguez via ntg-context
On 6/27/22 20:00, Henning Hraban Ramm via ntg-context wrote: > Am 27.06.22 um 19:10 schrieb Alain Delmotte via ntg-context: >> […] >> When I run from the console: >> context sanstitre-2.tex >> mtxrun  | unknown script 'context.lua' or 'mtx-context.lua' >> […] >> What should I do? > […] >

Re: [NTG-context] not working "mtxrun --scripts cache --erase"

2022-06-27 Thread Pablo Rodriguez via ntg-context
On 6/27/22 11:35, Hans Hagen via ntg-context wrote: > On 6/27/2022 12:38 AM, Max Chernoff via ntg-context wrote: >>> I’m afraid that I have just found out that "mtxrun --scripts cache >>> --erase" doesn’t delete a single file from the cache. >> [...] >> If I change line 81 of >> >>    

[NTG-context] "mtxrun --scripts cache --erase" not working?

2022-06-26 Thread Pablo Rodriguez via ntg-context
Dear list, as reported some months ago (https://mailman.ntg.nl/pipermail/ntg-context/2022/105420.html), "mtxrun --scripts cache --erase" doesn’t erase the cache at all. Could anyone confirm this issue (which I experience on both Linux64 and Win64)? Many thanks for your help, Pablo

[NTG-context] headings in line numbering

2022-06-18 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \setuppapersize[A6] \definelinenote[otherlinenote] \setupnote[otherlinenote] [compress=yes] \startsetups[line:notes] \setupinterlinespace[line=2.9ex] \stopsetups \setupnote[linenote] [paragraph=yes, compress=yes,

Re: [NTG-context] \setuplist only for bodypart

2022-06-18 Thread Pablo Rodriguez via ntg-context
On 6/17/22 18:33, Wolfgang Schuster via ntg-context wrote: > [...] > To create separate styles for chapters within the frontmatter and > bodymatter you have to create a new section command where you can apply > different list settings. Many thanks for your reply, Wolfgang. Now I have learnt that

Re: [NTG-context] \setuplist only for bodypart

2022-06-17 Thread Pablo Rodriguez via ntg-context
On 6/16/22 22:36, Henning Hraban Ramm via ntg-context wrote: > Am 16.06.22 um 21:19 schrieb Pablo Rodriguez via ntg-context: > >>\startsectionblockenvironment[bodypart] >> ... >>\stopsectionblockenvironment > > This should work according to documentatio

[NTG-context] \setuplist only for bodypart

2022-06-16 Thread Pablo Rodriguez via ntg-context
Dear list, sorry for the very basic question, but I cannot find the way to do it. Imagine I have the following command: \setuplist [chapter] [alternative=d] But I only want for sectionblock bodypart (nof for frontpart, backpart or the appendices). I have enclosed in:

Re: [NTG-context] Typesetting modern Greek (UTF8) with ConTeXt

2022-06-08 Thread Pablo Rodriguez via ntg-context
On 6/8/22 16:38, Henning Hraban Ramm via ntg-context wrote: > Am 07.06.22 um 19:30 schrieb Pablo Rodriguez via ntg-context: >> On 6/7/22 18:32, Henning Hraban Ramm via ntg-context wrote: >>> [...] >>> AFAI understand, "el" should be modern greek (pos

Re: [NTG-context] Typesetting modern Greek (UTF8) with ConTeXt

2022-06-07 Thread Pablo Rodriguez via ntg-context
On 6/7/22 18:32, Henning Hraban Ramm via ntg-context wrote: > [...] > \installlanguage >[\s!gr] >[\s!patterns=\s!agr] % ok? > > \installlanguage [\s!greek] [\s!gr] > > So it seems that is wrong / incomplete. > > AFAI understand, "el" should be modern greek (post 1982, monotonic), > "grc"

Re: [NTG-context] Typesetting modern Greek (UTF8) with ConTeXt

2022-06-07 Thread Pablo Rodriguez via ntg-context
On 6/6/22 22:59, Henning Hraban Ramm via ntg-context wrote: > Am 06.06.22 um 19:14 schrieb Pablo Rodriguez via ntg-context: > >> \language[gr], but beware since it uses patterns for ancient Greek. > > That is documented in the manual languages-mkiv.pdf. This was news to me b

[NTG-context] pages with facing text

2022-06-06 Thread Pablo Rodriguez via ntg-context
Dear list, mixing the info that Wolfgang posted on this list some time ago (https://mailman.ntg.nl/pipermail/ntg-context/2016/087629.html), I tried to create a sample for facing pages with different streams: \showframe\showgrid\showstruts \starttext \startoutputstream[one]

Re: [NTG-context] Typesetting modern Greek (UTF8) with ConTeXt

2022-06-06 Thread Pablo Rodriguez via ntg-context
On 6/6/22 02:19, Gerben Wierda via ntg-context wrote: > For Russian I have: > > \setuplanguage[ru][patterns={ru}]\mainlanguage[ru] > \definefallbackfamily >   [archimate] >   [ss] >   [Helvetica] >   [preset=range:cyrillic, >    tf=style:light, >    it=style:lightoblique, >    bf=style:regular, >

Re: [NTG-context] \sciteinlinebuffer inherits margin properties

2022-06-04 Thread Pablo Rodriguez via ntg-context
On 6/4/22 16:13, Otared Kavian via ntg-context wrote: > Hi Pablo, > > Typesetting your two examples, I can reproduce on MacOS and Context > version 2022.05.11 11:36 what you are reporting. Many thanks for your help, Otared. Would you be so kind to confirm the first issue I reported earlier

[NTG-context] \sciteinlinebuffer inherits margin properties

2022-06-04 Thread Pablo Rodriguez via ntg-context
Dear list, I have my third sample with scite: \usemodule[scite] \setuptyping[margin=yes] \starttext \startbuffer[b]b\stopbuffer \startTEXpage[offset=1em] a \sciteinlinebuffer[none][b] a\par a \typeinlinebuffer[b][option] a \stopTEXpage \stoptext I’m on Linux64 and using

[NTG-context] extra space after \sciteinlinebuffer

2022-06-04 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample (running current latest from 2022.05.11 11:36 on Linux64): \usemodule[scite] \starttext \startbuffer[b]b\stopbuffer \startTEXpage[offset=1em] a \sciteinlinebuffer[none][b] a\par a \typeinlinebuffer[b][option] a \stopTEXpage \stoptext I get

[NTG-context] issue with scite module

2022-06-04 Thread Pablo Rodriguez via ntg-context
Dear list, I have this minimal sample (with current latest from 2022.05.11 11:36 on Linux64): \usemodule[scite] \starttext \startXML ñ\stopXML \stoptext Commenting out the first line avoids compilation error. Replacing ñ with n also allows compilation. I think there may be an error in

Re: [NTG-context] issue with scite module

2022-06-04 Thread Pablo Rodriguez via ntg-context
On 6/3/22 00:52, Max Chernoff via ntg-context wrote: >> For the sake of consistency (with buff-imp-xml.lua), I think the patch >> should read > > [...] >> +local alsoname = lpatterns.utf8two + lpatterns.utf8three + >> lpatterns.utf8four > > I think that that pattern is a little too broad,

Re: [NTG-context] issue with scite module

2022-06-02 Thread Pablo Rodriguez via ntg-context
On 6/2/22 17:36, Pablo Rodriguez via ntg-context wrote: > On 6/1/22 23:58, Max Chernoff via ntg-context wrote: >> >> local name = (R("az","AZ","09") + S("_-.") + >> lpeg.utfchartabletopattern(characters.csletters))^1 > > I’m

Re: [NTG-context] issue with scite module

2022-06-02 Thread Pablo Rodriguez via ntg-context
On 6/1/22 23:58, Max Chernoff via ntg-context wrote: >> Now, I still don’t understand LPEG and don’t know if there’s a general >> “character” class that doesn’t need a list... Many thanks for your reply, Hraban. > The easiest way that I found was to just cheat and use everything with > a TeX

Re: [NTG-context] issue with scite module

2022-06-01 Thread Pablo Rodriguez via ntg-context
On 6/1/22 18:58, Henning Hraban Ramm via ntg-context wrote: > Am 01.06.22 um 18:47 schrieb Pablo Rodriguez via ntg-context: >> [...] >> Could anyone confirm the issue? > > Hi Pablo, > > with LMTX version 2022.05.11, both elements are displayed, but the first &

[NTG-context] issue with scite module

2022-06-01 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \usemodule[scite] \starttext \startTEXpage[offset=1ex] \type[option=xml]{} \type[option=xml]{<áñß/>} \stopTEXpage \stoptext Using scite, I don’t get the second element right. Without scite, both elements are displayed right. In both Geany

Re: [NTG-context] stacking of marginals

2022-05-31 Thread Pablo Rodriguez via ntg-context
On 5/31/22 19:09, Henning Hraban Ramm via ntg-context wrote: > If you have many marginals, they tend to conflict. > > The option stack=yes should enhance the situation. > > I don’t expect wonders – if there’s not enough space, then ConTeXt can’t > solve it. But it used to work better, as I can see

[NTG-context] issue with compress in linenote

2022-05-31 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \setuppapersize[A6] \setuplinenumbering [width=margin, location=outer, align=middle] \setupnote[linenote] [paragraph=yes, compress=yes, compressmethod=separator] \setupnotation[linenote] [alternative=serried, width=broad]

[NTG-context] parallel page streams (pag-str.mkxl)

2022-05-28 Thread Pablo Rodriguez via ntg-context
Dear list, I have this sample: \starttext \input tufte \startoutputstream[es] \dorecurse{25} {\input cervantes-es\par\pushoutputstream} \enableoutputstream[en] \dorecurse{25} {\input zapf\par\pushoutputstream} \disableoutputstream \stopoutputstream

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