Re: [NTG-context] LMTX crashes with source

2021-07-11 Thread Pablo Rodriguez
On 7/8/21 7:38 PM, Hans Hagen wrote: > On 7/7/2021 6:51 PM, Pablo Rodriguez wrote: >> [...] >> I get a crash when using LMTX, but not with MkIV (in both Windows and >> Linux). I’m afraid it might be a bug. >> > hm, not related to the font .. tricky to trace, the re

[NTG-context] LMTX crashes with source

2021-07-07 Thread Pablo Rodriguez
Dear list, I have the following source: \definefontfamily [malayalam] [rm] [RIT Rachana] %~ [features=malayalam-two] \setupbodyfont [malayalam] \starttext \startTEXpage \tf അദ്ധ്യായം\\ \em അദ്ധ്യായം\\ \em\bf അദ്ധ്യായം\\ \em അദ്ധ്യായം \stopTEXpage \stoptext Using latest

Re: [NTG-context] Proper ligatures in Malayalam

2021-07-07 Thread Pablo Rodriguez
On 7/6/21 7:44 PM, Ajith R wrote: > Hi Pablo, > > Just to be sure that you have the correct ligature, will you please > share a picture or pdf of the rendered text? Hi Ajith, sure, the output from the following source: \setupinteraction[state=start] \setupinteractionscreen[option=max]

Re: [NTG-context] Proper ligatures in Malayalam

2021-07-07 Thread Pablo Rodriguez
On 7/7/21 8:57 AM, Aditya Mahajan wrote: > On Tue, 6 Jul 2021, Ajith R wrote: >> Hi, >> >> I am running Debian 10 and context --version returns >> [...] >> mtx-context | current version: 2018.04.04 00:51 > > This is more than 3 years old! You will need to update. Not sure if > there is a

Re: [NTG-context] Proper ligatures in Malayalam

2021-06-26 Thread Pablo Rodriguez
On 6/25/21 1:17 PM, ajithramay...@yahoo.co.in wrote: > Hi Pablo Hi Ajith, it isn’t clear to me whether you got the right ligatures with the sample included in https://mailman.ntg.nl/pipermail/ntg-context/2021/102635.html. I also wonder whether the feature "malayalam-two" got you the proper

Re: [NTG-context] injectors not working in LMTX?

2021-06-26 Thread Pablo Rodriguez
On 6/25/21 5:15 PM, Hans Hagen wrote: > On 6/24/2021 6:44 PM, Rik Kabel wrote: >> [...] >> In trying to tune a toc, I discovered that this is still an issue. > > fixed in next upload Many thanks for your fix, Hans. And many thanks also to you, Rik, for reporting the pending issue. Pablo --

Re: [NTG-context] Proper ligatures in Malayalam

2021-06-24 Thread Pablo Rodriguez
On 6/24/21 10:25 AM, Ajith R wrote: > Hi, > > I tried to make a document in Malayalam, an Indian language. However, the > ligatures don't form as expected.  > [..] > What setting am I missing? Hi Ajith, I don’t have any idea about Malayalam (or any other Indic language [I can deal with Latin

Re: [NTG-context] Setup output name from within ConTeXt document

2021-06-23 Thread Pablo Rodriguez
On 6/23/21 9:26 AM, Hans Hagen wrote: > On 6/22/2021 1:55 PM, Pascal Pascali wrote: >> Dear ConTeXt community, >> >> Is it possible to set the file name of the output from within the document? > [...] > \startluacode > luatex.wrapup( > function() > os.remove("new.pdf") >

Re: [NTG-context] new upload lmtx

2021-06-23 Thread Pablo Rodriguez
On 6/18/21 11:46 PM, Hans Hagen wrote: > Hi, > > End of the week so time to wrap up. > [...] > (2) (Pablo:) There is some progress with facing floats that Thomas will > check out for real usage. So, still experimental. Excellent news, Hans. Many thanks for your work, Hans and Thomas. Pablo --

Re: [NTG-context] xtable as list item (again)

2021-06-17 Thread Pablo Rodriguez
On 6/16/21 9:56 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 15.06.2021 um 19:57: >>[...] >>\showframe\showstruts >>\starttext >>\startitemize[n][margin=yes] >>\item a >>\item >> \startembeddedxtable[option={stret

[NTG-context] *keep-pdf.pdf files included in latest

2021-06-16 Thread Pablo Rodriguez
Hans, current latest from 2021.06.14 17:16 includes both s-inf-01-pdf-keep.pdf and s-inf-03-pdf-keep.pdf. I wonder whether these files are part of the distribution. Many thanks for your help, Pablo -- http://www.ousia.tk

[NTG-context] xtable as list item (again)

2021-06-15 Thread Pablo Rodriguez
Dear list, I already posted a similar question some time ago (https://mailman.ntg.nl/pipermail/ntg-context/2021/101021.html), but I got no reply. I have the following sample: \showframe\showstruts \starttext \startitemize[n][margin=yes] \item a \item

Re: [NTG-context] new upload

2021-06-14 Thread Pablo Rodriguez
On 6/14/21 5:22 PM, Hans Hagen wrote: > On 6/14/2021 5:13 PM, Pablo Rodriguez wrote: >> [...] >> Sorry, but I have no idea about what I may be doing wrong (or whether >> there is an issue here). > The interface is evolving (so it's not meant for production ...

Re: [NTG-context] new upload

2021-06-14 Thread Pablo Rodriguez
On 6/13/21 7:31 PM, Hans Hagen wrote: > Hi, > > A few things > > (1) Thomas and I picked up the facing floats thread. I will probably > remove the experimental code from mkiv and only work on the lmtx > implementation. The same can be true for streams. Many thanks for the new latest, Hans. I

Re: [NTG-context] new upload / math

2021-06-11 Thread Pablo Rodriguez
On 6/11/21 6:08 PM, Hans Hagen wrote: > Hi, > > In addition the the mentioned integral trickery we can now do this > > \setupbodyfont[newcomputermodern-book] Hi Hans, many thanks for the new upload. I’m afraid that now slanted for New Computer Modern Mono doesn’t work: \mainlanguage[agr]

Re: [NTG-context] upload / some new math stuff

2021-06-11 Thread Pablo Rodriguez
On 6/10/21 11:35 PM, Hans Hagen wrote: > [...] > I made a typescript for the 10pt regular and book (as I see no reason to > configure 8pt). So, assuming that one installs these fonts: > > \setupbodyfont[newcomputermodern-book] > \setupbodyfont[newcomputermodern] > [...] > Happy testing (hopefully

Re: [NTG-context] PDF forms not creating proper children

2021-06-09 Thread Pablo Rodriguez
On 6/9/21 12:28 PM, Leonard Janis Robert König wrote: > On Tue, 2021-06-08 at 23:29 +0100, Adam Reviczky wrote: >> Not sure how good it is, but in the poppler discussion this site was >> mentioned to verify the signature details: >> https://validator.docusign.com/ > > Oh, that's a great tool,

Re: [NTG-context] PDF forms not creating proper children

2021-06-09 Thread Pablo Rodriguez
On 6/8/21 11:07 PM, Leonard Janis Robert König wrote: > On Tue, 2021-06-08 at 17:41 +0200, Pablo Rodriguez wrote: >> [...] >> Try to open a PDF document signed with mupdf-gl in Acrobat (Reader or >> not). You will see that the signature is wrong. > > Hm, I tested with Ok

Re: [NTG-context] PDF forms not creating proper children

2021-06-08 Thread Pablo Rodriguez
mupdf-gl in Acrobat (Reader or not). You will see that the signature is wrong. >> On Sun, May 2, 2021 at 5:50 PM Pablo Rodriguez wrote: >>> [...] >>> From my experience, only Acrobat deals with child objects in >>> signatures >>> generating a valid si

Re: [NTG-context] issue with link (MkIV & LMTX)

2021-06-05 Thread Pablo Rodriguez
On 6/5/21 4:07 PM, Hans Hagen wrote: > On 6/5/2021 11:08 AM, Pablo Rodriguez wrote: >> [...] >> Could anyone confirm the issue? > > a side effect of more detail in final node lists (that make up the lines) > >> Many thanks for your help, > fixed in next uplo

[NTG-context] issue with link (MkIV & LMTX)

2021-06-05 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuppapersize[A10] \setupinteraction[state=start] \enabledirectives[references.border] \unexpanded\def\MyURL#1% {\bgroup\goto{{\tt\hyphenatedurl{#1}}}[url(#1)]\egroup} \starttext \startTEXpage[offset=1ex] \startitemize \item

[NTG-context] different prefixsegments for \in

2021-06-04 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupreferencestructureprefix [default] [prefixsegments=*:*] \starttext \section{One Section} \subsection[sec0]{Subsection} As told in \in[sec0] and \in[sec1]… \section{Another Section} \subsection[sec1]{Subsection} … \stoptext

Re: [NTG-context] new upload

2021-06-04 Thread Pablo Rodriguez
On 6/4/21 7:43 PM, Hans Hagen wrote: > On 6/4/2021 6:18 PM, Pablo Rodriguez wrote: >> On 6/4/21 5:46 PM, Hans Hagen wrote: >>> Hi, >>> >>> I uploaded a new version of lmtx [...] >> Hans, >> >> at least on Linux64, if I compile a source fil

Re: [NTG-context] new upload

2021-06-04 Thread Pablo Rodriguez
On 6/4/21 5:46 PM, Hans Hagen wrote: > Hi, > > I uploaded a new version of lmtx [...] Hans, at least on Linux64, if I compile a source file named "mwe.tex", I get an extra "mwe-pdf-keep.pdf", either with or without invoking the option "--purgeall". This happens both with MkIV (LuaTeX 1.13 7420 +

Re: [NTG-context] Fwd: --luatex option failing

2021-05-29 Thread Pablo Rodriguez
On 5/29/21 2:38 AM, jbf wrote: > Pablo, thanks for the assistance you gave me... it made me look at the > cache inside the lmtx folders and I could see that the entire luatex > folder was missing. I did try your --erase and --generate moves, but > that did nothing to resolve things, so I installed

Re: [NTG-context] --luatex option failing

2021-05-28 Thread Pablo Rodriguez
On 5/28/21 12:00 PM, Hans Hagen wrote: > On 5/28/2021 11:40 AM, jbf wrote: >> [...] >> As this may be an 'ignorant' kind of question, something I should really >> know but don't, about paths and permissions, there may be someone else >> on the list with time (in lockdown like I am) to put me

[NTG-context] wrong link rectagle in LMTX

2021-05-28 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuppapersize[A9] \setupinteraction[state=start] \enabledirectives[references.border] \unexpanded\def\MyURL#1% {\bgroup\goto{{\tt\hyphenatedurl{#1}}}[url(#1)]\egroup} \starttext \startitemize \dorecurse{2}{\item

[NTG-context] styling references

2021-05-28 Thread Pablo Rodriguez
Dear list, I have the following sample: \starttext \startitemize \dorecurse{15} {\item[\recurselevel]whatever} \stopitemize As exposed in \in{item}[9]... \stoptext How can I add style to the item reference (9)? I mean, how can I get “As exposed in item {\em 9}”? Many thanks

Re: [NTG-context] new upload

2021-05-26 Thread Pablo Rodriguez
On 5/25/21 6:20 PM, Hans Hagen wrote: > [...] but for those willing to check the alternative, in > page-ins.mkxl one can uncomment > > % \insertmode\plustwo Many thanks for the new upload, Hans. I’m extremely interested in testing this. How can we enable this feature in a permanent way? I

Re: [NTG-context] \switchtobodyfont issue

2021-05-22 Thread Pablo Rodriguez
On 5/22/21 1:10 PM, Wolfgang Schuster wrote: > [...] > You can't use x and a with \switchtobodyfont, only small and big are > possible. > > \starttext > a > \switchtobodyfont[small] > a > \switchtobodyfont[big] > a > \stoptext Many thanks for your fast reply, Wolfgang. This works fine with

[NTG-context] \switchtobodyfont issue

2021-05-22 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupbodyfont[11.25pt] \starttext a \switchtobodyfont[x] a \switchtobodyfont[a] a \stoptext How can I get both \switchtobodyfont working in both appearances? Many thanks for your help, Pablo -- http://www.ousia.tk

Re: [NTG-context] \setupbackend[space=yes] and hz

2021-05-22 Thread Pablo Rodriguez
On 5/22/21 12:25 PM, Hans Hagen wrote: > On 5/22/2021 11:28 AM, Pablo Rodriguez wrote: >> [...] >> Using SumatraPDF-3.1.2 and current latest (from 2021.05.21 15:07), >> spacing is only right when I disable font expansion. >> >> Would it be possible that spacing

[NTG-context] \setupbackend[space=yes] and hz

2021-05-22 Thread Pablo Rodriguez
Hi Hans, I have the following sample: \definefontfeature [default] [default] [expansion=quality] \setupalign [hz] \setuppapersize[A6] \setupbodyfont[pagella] \setupbackend [space=yes] \starttext \input zapf \stoptext Using SumatraPDF-3.1.2 and current latest

Re: [NTG-context] underscore hyphenation and hz

2021-05-17 Thread Pablo Rodriguez
On 5/10/21 3:35 PM, Pablo Rodriguez wrote: > Hans, > > I’m afraid that underscore hyphenation has issues with font expansion: > [...] Hans, many thanks for the fix in current latest (2021.05.15 22:45). Pablo -- http://

[NTG-context] underscore hyphenation and hz

2021-05-10 Thread Pablo Rodriguez
Hans, I’m afraid that underscore hyphenation has issues with font expansion: \startluacode function document.addfunnyhyphen(tfmdata) local underscore = utf.byte("_") local char = tfmdata.characters[underscore] if not char then return end

Re: [NTG-context] underscore hyphenation not working

2021-05-10 Thread Pablo Rodriguez
On 5/10/21 9:36 AM, Hans Hagen wrote: > [...] > but at the cost of runtime you can try \setupbackend [space=yes] It works perfectly fine, but not with font expansion: \definefontfeature [default] [default] [expansion=quality] \setupalign [hz] \setuppapersize[A6]

Re: [NTG-context] underscore hyphenation not working

2021-05-10 Thread Pablo Rodriguez
On 5/9/21 7:46 PM, Hans Hagen wrote: > [...] > you can also retest the advance It works fine now. A minor issue happens with SumatraPDF-3.1.2 (aside from font advance): \setuppapersize[A6] \definefontfamily[mainface][rm] [TeX Gyre Pagella] \setupbodyfont[mainface] \starttext

Re: [NTG-context] underscore hyphenation not working

2021-05-09 Thread Pablo Rodriguez
On 5/9/21 4:40 PM, Hans Hagen wrote: > On 5/8/2021 7:55 PM, Pablo Rodriguez wrote: > >> I wonder whether this might be caused by a bug or the code should be >> adapted to current latest. > hm, i'll check it ... looks like some lua closure side effect Many thanks for your

[NTG-context] underscore hyphenation not working

2021-05-08 Thread Pablo Rodriguez
Hans, some time ago, you provided me with the following code to hyphenate sha with underscore: \startluacode function document.addfunnyhyphen(tfmdata) local underscore = utf.byte("_") local char = tfmdata.characters[underscore] if not char then return end

Re: [NTG-context] weird word breaking in Win64

2021-05-08 Thread Pablo Rodriguez
On 5/8/21 3:58 PM, denis.ma...@ub.unibe.ch wrote: > Looks like I can confirm this... see below. But it seems to depend on your > PDF viewer. Results in Sumatra and Acrobat differ. Many thanks for your confirmation, Denis. With SumatraPDF 3.1.2, I get lines without spaces between words, too.

[NTG-context] weird word breaking in Win64

2021-05-08 Thread Pablo Rodriguez
Dear list, the following sample breaks some words not right in Win64 (I cannot reproduce it in Linux): \enabledirectives[fonts.injections.method=advance] \setuppapersize[A6] \definefontfamily[mainface][rm] [TeX Gyre Pagella] \setupbodyfont[mainface] \starttext \input zapf

Re: [NTG-context] issue with Public Sans

2021-05-04 Thread Pablo Rodriguez
On 5/4/21 9:51 AM, denis.ma...@ub.unibe.ch wrote: > Hi Pablo > [...] > Confirmed here. > > I've also tried with --luatex, but that doesn't find the font at all. > (Do I have to update the font database for luatex separately?) Many thanks for the confirmation, Denis, --luatex has no problems with

Re: [NTG-context] PDF forms not creating proper children

2021-05-02 Thread Pablo Rodriguez
On 5/2/21 12:20 AM, Adam Reviczky wrote: > Hi, > > I cannot get the signature working either, but almost certain it did > work in February this year, as I have done some with MKIV. > [...] Hi Adam, I’m on a Linux computer, so I’m not able to check this now. If the signature isn’t working, you

Re: [NTG-context] Issue running ConTeXt from TeX Live 2019 on Alpine Linux 3.12

2021-05-01 Thread Pablo Rodriguez
On 4/30/21 8:53 PM, Nicola wrote: > I'd like to run ConTeXt on Alpine Linux (ultimately, to run it on an > iPad with the iSH app). I am currently testing it with Docker. This is > what I have done: > [...] > Anyone running ConTeXt on Alpine? Any idea what is wrong? Hi Nicola, I don’t run Alpine

[NTG-context] issue with Public Sans

2021-05-01 Thread Pablo Rodriguez
Dear listt, I have problems with current latest (from 2021.04.29 23:09) to get proper character spacing using Public Sans (https://public-sans.digital.gov/): \definefontfamily[mainface][rm] [Public Sans] \setupbodyfont[mainface] \starttext \doloopoverlist{\rm,\it,\bf,\bi}

Re: [NTG-context] wrong line break in recent LMTX

2021-04-27 Thread Pablo Rodriguez
On 4/27/21 8:57 AM, Hans Hagen wrote: > [...] > as mentioned in an earlier mail, after decades of utf in tex we should > use the normal symbols instead ... you can disable collapsing with > > \nohyphencollapsing > > but then you need to enable the tlig font feature. In days when often > texts is

Re: [NTG-context] wrong line break in recent LMTX

2021-04-27 Thread Pablo Rodriguez
On 4/26/21 8:10 PM, Hans Hagen wrote: > On 4/26/2021 6:53 PM, Pablo Rodriguez wrote: >> [...] >> For some strange reason, LMTX from 2021.04.18 18:12 introduce a line >> break between the emdash and the point. >> >> LMTX from 2021.04.14 22:58 doesn’t apply horizon

Re: [NTG-context] profies and fonts in current latest (2021.04.26 00:55)

2021-04-27 Thread Pablo Rodriguez
On 4/26/21 8:37 PM, Hans Hagen wrote: > On 4/26/2021 7:04 PM, Pablo Rodriguez wrote: >> [...] >> I’m afraid that Acrobat isn’t able to display the fonts and SumatraPDF >> displays random characters with Cousine, when compiled with current >> latest (from 2021.04.26 00

Re: [NTG-context] Style options and setupinterlinespace

2021-04-26 Thread Pablo Rodriguez
On 4/26/21 12:37 PM, denis.ma...@ub.unibe.ch wrote: > Hi again, > > should I change the wiki or is the current behaviour a bug (that will > eventually be corrected)? Hi Denis, sorry for the delayed reply. I don’t think it’s a bug, but a feature. > > the wiki

[NTG-context] profies and fonts in current latest (2021.04.26 00:55)

2021-04-26 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupbackend [format=PDF/A-3a, intent=sRGB IEC61966-2.1, profile={sRGB, default_gray.icc}, level=0] \setuptagging[state=start] \setupcolors[cmyk=no, pagecolormodel=auto] \definefontfamily[mainface][rm][TeX Gyre Heros]

[NTG-context] wrong line break in recent LMTX

2021-04-26 Thread Pablo Rodriguez
Dear list, I have the following sample: \starttext \startTEXpage[offset=1ex] \hsize\zeropoint b—.\footnote{} \stopTEXpage \stoptext For some strange reason, LMTX from 2021.04.18 18:12 introduce a line break between the emdash and the point. LMTX from 2021.04.14 22:58 doesn’t apply

[NTG-context] braces removed in url

2021-03-26 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start] \starttext \startTEXpage[offset=1em] \def\MyURL#1{\goto{\hyphenatedurl{#1}}[url(#1)]} \MyURL{a={b}}\\ \MyURL{a=\letterleftbrace b\letterrightbrace}\\ \asciimode\MyURL{a={b}}\\ \stopTEXpage \stoptext For all

[NTG-context] injectors not working in LMTX?

2021-03-25 Thread Pablo Rodriguez
Hans, the following sample (from https://pragma-ade.com/general/manuals/workflows-mkiv.pdf#search=resort) doesn’t get right output with LMTX (current latest from 2021.03.25 14:04): \showinjector \setinjector[register][3][\column] \setinjector[list][2][{\blank[3*big]}] \starttext

Re: [NTG-context] PDF custom properties

2021-03-24 Thread Pablo Rodriguez
On 3/23/21 10:12 PM, Alan Bowen wrote: > Hi, Pablo— > > My inquiry concerns the possibility of getting *custom* properties that > I could specify using \setupinteraction in a way that would output in > the PDF file (under Document Info or Document Properties) as: > > Editor (not Author)            

Re: [NTG-context] PDF custom properties

2021-03-23 Thread Pablo Rodriguez
On 3/23/21 8:25 PM, Alan Bowen wrote: > I should like to set the PDf properties so that the Document Info panel has > Editor ... > Title ... > Subtitle ... > Subject ... > Keyword > > The problem is that currently  > \setupinteraction[subtitle=text,] goes to Subject and that there are no >

Re: [NTG-context] Build fails on fresh installs

2021-03-20 Thread Pablo Rodriguez
On 3/20/21 8:11 PM, Thangalin wrote: > [...] > Actual > Build fails. > > resolvers       > lua > loading file > '/home/username/context/tex/texmf-context/tex/context/base/mkxl/spac-hor.lmt' > succeeded > tex error       > tex error on line 25 in file spac-hor.mkxl: Undefined > control sequence >

Re: [NTG-context] Problems with new ConTeXt in Linux

2021-03-20 Thread Pablo Rodriguez
On 3/20/21 2:41 PM, Wolfgang Schuster wrote: > Jairo A. del Rio schrieb am 20.03.2021 um 14:21: >> I deleted the .tma files. I'm still having the same issue. > > You have to wait for newer binaries but you can also try the ones I put > online (will be deleted in a few days): > >

Re: [NTG-context] lmt_followtext and cycle

2021-03-19 Thread Pablo Rodriguez
On 3/19/21 12:15 AM, Hans Hagen wrote: > On 3/18/2021 10:26 PM, Pablo Rodriguez wrote: >> [...] > You can't expect two overlayed graphics to know of each others > independent applied scaling. So you need to do this: Sorry, but version from 2021.03.17 17:46 requires two sc

Re: [NTG-context] Zero size kerns with latest LMTX beta 2020-03-17

2021-03-19 Thread Pablo Rodriguez
On 3/19/21 10:11 PM, Joseph wrote: > Dear list, > > Following MWE aims to reproduce the issue, Hi Joseph, I’m afraid that kerning current latest from 2021.03.17 17:46 isn’t able to deal with the OpenType kern feature (which is enabled by default): \showfontkerns \starttext

[NTG-context] lmt_followtext and cycle

2021-03-18 Thread Pablo Rodriguez
Hans, I’m afraid that lmt_followtext has problems with cycle again. \starttext \startMPcode{doublefun} path p ; p := (0,0)..(3,3.5)..(9,-3.5).. (12,0)..(9,3.5)..(3,-3.5)..cycle; draw p xsized TextWidth ; draw lmt_followtext [ text = "\dorecurse{9}{Just random text · } ", path =

Re: [NTG-context] issue with \in and \xmlrefatt

2021-03-12 Thread Pablo Rodriguez
On 3/12/21 6:19 PM, Hans Hagen wrote: > On 3/11/2021 8:17 PM, Pablo Rodriguez wrote: >> [...] >> I cannot provide a minimal sample and I wonder whether this could be >> enough to find out what is missing. > i need more info I was able to reproduce the issue in Linu

[NTG-context] issue with \in and \xmlrefatt

2021-03-11 Thread Pablo Rodriguez
Hans, after the fix in current latest (2021.03.09 11:42), I get the following error when using \in[\xmlrefatt{#1}{href}] in Windows (Linux has no problems). The error message reads: fatal lua error: run callback [6]: bad argument #2 to 'format' (number expected, got nil) stack traceback:

Re: [NTG-context] bug in \headnumber[section] in LMTX?

2021-03-07 Thread Pablo Rodriguez
On 3/7/21 1:21 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 07.03.2021 um 10:49: >> Dear list, >> >> I have the following sample: >> >>\starttext >> \section{Section} >>\currentheadnumber\\ > > You ne

[NTG-context] --extra=select --once in LMTX

2021-03-07 Thread Pablo Rodriguez
Dear list, I think there is a bug in LMTX with: context --extra=select --selection=15:30 a.pdf --once This gives 16 repetitions of page 30 (with any PDF document). If --once isn’t used or MkIV is deployed, selection is fine. Could anyone confirm the issue? Many thanks for your help, Pablo

Re: [NTG-context] Write to tuc file

2021-03-07 Thread Pablo Rodriguez
On 3/6/21 2:35 PM, Hans Hagen wrote: > On 3/6/2021 1:56 PM, Pablo Rodriguez wrote: >> [...] >> The select style could generate from start-identifier and >> stop-identifier, the result "identifier.pdf". > \startchapter[reference=whatever,title=foo] > \stopchapt

[NTG-context] bug in \headnumber[section] in LMTX?

2021-03-07 Thread Pablo Rodriguez
Dear list, I have the following sample: \starttext \section{Section} \currentheadnumber\\ \headnumbercontent\\ \headnumber[section] \stoptext In LMTX, \headnumber[section] triggers an error message about missing number. BTW, \currentheadnumber outputs 0 in both MkIV

Re: [NTG-context] Write to tuc file

2021-03-06 Thread Pablo Rodriguez
On 3/5/21 11:13 PM, Hans Hagen wrote: > On 3/5/2021 10:38 PM, denis.ma...@ub.unibe.ch wrote: >> Thanks for this as well, Hans. Looks promising. >> So, this is to select pages or page-ranges for processing? > assuming that you have either marked pages or proper refs for chapters > you can use the

Re: [NTG-context] conditional formatting, checking the context (SOLVED)

2021-03-06 Thread Pablo Rodriguez
On 3/5/21 12:06 PM, Henning Hraban Ramm wrote: > Hi, > > in the example below I’m using a custom highlighting macro in > titles. > > Now I don’t want this highlighting in the ToC or in bookmarks (in my > real world example the changes affect bookmarks, not in the MWE). Sorry for the delayed reply,

Re: [NTG-context] looping an overlay

2021-02-24 Thread Pablo Rodriguez
On 2/24/21 7:44 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 24.02.2021 um 19:23: >> [...] >>\starttext >> \startTEXpage[offset=1em] >>\startoverlay >> \dostepwiserecurse{25}{95}{5} >>{{\recurselevel\ }} >

[NTG-context] looping an overlay

2021-02-24 Thread Pablo Rodriguez
Dear list, I have the following sample: \starttext \startTEXpage[offset=1em] \startoverlay \dostepwiserecurse{25}{95}{5} {{\recurselevel\ }} \stopoverlay \stopTEXpage \stoptext Which is the right way to loop an overlay? Many thanks for your help,

Re: [NTG-context] [LMTX] fonts problem (again)

2021-02-23 Thread Pablo Rodriguez
On 2/23/21 6:45 PM, Hans Hagen wrote: > On 2/23/2021 6:15 PM, kaddour kardio wrote: >> Thank you Hans and Pablo, symlinking the font directories to luametatex >> font directory worked as expected. I guess i have to follow the same >> steps after every update.. > no, because texmf-fonts is never

Re: [NTG-context] [LMTX] fonts problem (again)

2021-02-21 Thread Pablo Rodriguez
On 2/21/21 5:05 PM, Hans Hagen wrote: > On 2/21/2021 4:45 PM, kaddour kardio wrote: >> >> Hi! Once again i'm unable to load my system's font which is working well >> with MKIV. >> [...] >> export >> OSFONTDIR=~/.local/share/fonts:/usr/share/fonts:/usr/share/texmf/fonts/opentype/ >> [...] >> This

Re: [NTG-context] path in LuaMetaFun

2021-02-20 Thread Pablo Rodriguez
On 2/20/21 1:28 PM, Hans Hagen wrote: > On 2/20/2021 1:19 PM, Pablo Rodriguez wrote: >> [...] >> On the other side, I’m afraid that cycle has problems with lmt_followtext. > could be, i'm playing a bit with the converter and introduced a issue > but that will be fixed in

Re: [NTG-context] path in LuaMetaFun

2021-02-20 Thread Pablo Rodriguez
On 2/20/21 12:59 PM, Pablo Rodriguez wrote: > [...] > Which is the right way to close the path or what am I missing? I see that cycle is the way to go: \starttext \startmakeup[page][align=middle] \dontleavehmode \startMPcode{doublefun} path p ; p := (0,0)..(3,3.5)..(9,-3.5)..(12,0)..

[NTG-context] path in LuaMetaFun

2021-02-20 Thread Pablo Rodriguez
Dear list, I have the fowllowing sample: \starttext \startmakeup[page][align=middle] \startMPcode{doublefun} draw lmt_followtext [ text = "\feature[+][smallcaps]\bf\samplefile{zapf} ", path = ((0,0)..(3,3.25)..(9,-3.25)..(12,0)..(9,3.25)..(3,-3.25)..(0,0)), autoscaleup = "max",

[NTG-context] issue with references

2021-02-19 Thread Pablo Rodriguez
Hans, I have the following sample: \setuphead[chapter][sectionsegments=chapter] \setuphead[section][sectionsegments=section] \setupreferencestructureprefix [default] [prefixsegments=*:*] \starttext \startTEXpage[offset=1em] \chapter{Chapter} \section[sec]{Section} As

Re: [NTG-context] \blackrule and margin

2021-02-19 Thread Pablo Rodriguez
On 2/19/21 4:02 PM, Ursula Hermann wrote: > Dear List,  > i have the little following example:  > > \setuppapersize[A8,landscape] > \setuplayout[leftmargin=2.5cm, >              leftmargindistance=0.2cm, >              backspace=2.9cm, >              width=4cm] > \showframe > \starttext >

[NTG-context] infinite number of runs

2021-02-17 Thread Pablo Rodriguez
Hans, I have some documents that trigger infinite runs. I want to provide a minimal sample that shows this. But is there some code in the .tuc file (or in the .log file with \tracingall) that shows the need of another run? Many thanks for your help, Pablo -- http://www.ousia.tk

Re: [NTG-context] set fallback in \definefont

2021-02-15 Thread Pablo Rodriguez
On 2/15/21 8:47 PM, Mohammad Hossein Bateni wrote: > Hi, > > Is there a way to set the fallback for fonts when we define them not as > a typescript but using \definefont? > > \definefont[MyFont][Font.otf*MyFeatures] > > Is there a default fallback one can specify? > Is simplefonts module

Re: [NTG-context] LMTX problem with XML

2021-02-15 Thread Pablo Rodriguez
On 2/14/21 10:32 PM, Hans Hagen wrote: > On 2/14/2021 9:24 PM, Pablo Rodriguez wrote: > >> But I‘m afraid it will take some time before I can provide a minimal >> sample showing the issue. > > We have plenty of time in these lock down days. Many thanks for your reply

Re: [NTG-context] LMTX problem with XML

2021-02-14 Thread Pablo Rodriguez
On 2/14/21 5:47 PM, Hans Hagen wrote: > On 2/14/2021 5:25 PM, Pablo Rodriguez wrote: >> On 2/14/21 1:34 PM, Pablo Rodriguez wrote: >>> Hans, >>> >>> the following sample breaks compilation with latest after release from >>> 2021.02.05 17:45: >&

Re: [NTG-context] LMTX problem with XML

2021-02-14 Thread Pablo Rodriguez
On 2/14/21 1:34 PM, Pablo Rodriguez wrote: > Hans, > > the following sample breaks compilation with latest after release from > 2021.02.05 17:45: > [...] > Current latest from 2021.02.13 00:28 complains about argument of \xmlw > having an extra }. Hans, many thanks for your

[NTG-context] LMTX problem with XML

2021-02-14 Thread Pablo Rodriguez
Hans, the following sample breaks compilation with latest after release from 2021.02.05 17:45: \startbuffer[demo] http://www.w3.org/1999/xhtml;> In Body \stopbuffer \startxmlsetups xml:initialize \xmlsetsetup{#1}

Re: [NTG-context] style option not working for headings

2021-02-12 Thread Pablo Rodriguez
On 2/13/21 12:33 AM, Hans Hagen wrote: > On 2/13/2021 12:13 AM, Pablo Rodriguez wrote: >> Dear Hans, >> >> I’m afraid that style doesn’t work for headings in current latest >> (2021.02.12 18:49): >> [...] > can you check again? Many thanks for your fast fix

Re: [NTG-context] style option not working for headings

2021-02-12 Thread Pablo Rodriguez
On 2/13/21 12:13 AM, Pablo Rodriguez wrote: > Dear Hans, > > I’m afraid that style doesn’t work for headings in current latest > (2021.02.12 18:49): Hans, it might be that the style option doesn’t work in other commands (or at all): \setuphead[section][style=\it] \setuplist[se

[NTG-context] style option not working for headings

2021-02-12 Thread Pablo Rodriguez
Dear Hans, I’m afraid that style doesn’t work for headings in current latest (2021.02.12 18:49): \setuphead[chapter][style=\it] \setuphead[section][style=\it] \starttext \chapter{Chapter} \section{Section} \input zapf \stoptext Many thanks for your help, Pablo --

Re: [NTG-context] Table of Content

2021-02-12 Thread Pablo Rodriguez
On 2/12/21 4:40 PM, Hans Hagen wrote: > On 2/12/2021 3:43 PM, Pablo Rodriguez wrote: >> [...] >> "\page\null\page" does the trick in your case. > > \page[left,empty,right] etc Hans, I never thought this were possible: \starttext \page[left,empty,right, left,

[NTG-context] issue printing with Acrobat?

2021-02-12 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuppapersize[A4, landscape] \setupinteractionscreen[option={landscape, paper}] \starttext \dorecurse{2} {\startmakeup[page][pagestate=start, align=middle] \dontleavehmode \scale[width=.8\textwidth]{middle} \stopmakeup} \stoptext

Re: [NTG-context] Table of Content

2021-02-12 Thread Pablo Rodriguez
On 2/11/21 12:11 PM, Ursula Hermann wrote: > Dear List! > > > I did this example, which works perfect. If i would like to  take a new > page after the Table of Content, is \page the right way?  Hi Ursula, "\page\null\page" does the trick in your case. "\setuppagenumber[alternative=doublesided]"

Re: [NTG-context] TEXpage breaks \setupinteractionscreen in LMTX

2021-02-09 Thread Pablo Rodriguez
On 2/9/21 7:30 PM, Hans Hagen wrote: > On 2/9/2021 7:15 PM, Pablo Rodriguez wrote: >> [...] >> Sorry, Hans, the original sample was different, but I removed the offset >> option in order to make it smaller: >> >>\setupinteractionscreen[option=max] >>

Re: [NTG-context] TEXpage breaks \setupinteractionscreen in LMTX

2021-02-09 Thread Pablo Rodriguez
On 2/8/21 11:01 PM, Hans Hagen wrote: >> [...] >> LMTX doesn’t include full page. MkIV compiles it fine. >> >> If I remove the TEXpage, LMTX includes the full page mode. > LMTX is more accurate as \null has zero dimensions an dit's a fitting page > > what you want is > > \startpagemakeup > >

[NTG-context] latest LMTX breaks XML compilation

2021-02-08 Thread Pablo Rodriguez
Hans, using latest from (2021.02.08 17:03) with all my XML sources breaks compilation with the following error: > tex error on line 2 in file : Argument of \xmlw has an extra } How I can detect when ConTeXt uses \xmlw? Latest from 2021.02.08 17:03 doesn’t have this problem. Many thanks for

[NTG-context] TEXpage breaks \setupinteractionscreen in LMTX

2021-02-08 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteractionscreen[option=max] \starttext \startTEXpage \null \stopTEXpage \stoptext LMTX doesn’t include full page. MkIV compiles it fine. If I remove the TEXpage, LMTX includes the full page mode. I’m using latest version from

Re: [NTG-context] font bug in latest from 2021.01.29 19:44?

2021-01-29 Thread Pablo Rodriguez
On 1/29/21 11:24 PM, Hans Hagen wrote: > On 1/29/2021 9:59 PM, Pablo Rodriguez wrote: > >> Could anyone confirm this bug? > hm, some overload protection side effect ... i'll fix it Many thanks for the fix, Hans. Pablo -- http

[NTG-context] font bug in latest from 2021.01.29 19:44?

2021-01-29 Thread Pablo Rodriguez
Dear list, this sample cannot be compiled with latest LMTX (2021.01.29 19:44). \enableexperiments[fonts.compact] \definefontfamily [mainface] [rm] [TeX Gyre Pagella] \definefontfamily [mainface] [mm] [TeX Gyre Pagella Math] \setupbodyfont

[NTG-context] rscale not working

2021-01-24 Thread Pablo Rodriguez
Hans, rscale doesn’t work with latest from 2021.01.24 16:07: \definefontfamily[mainface][rm][Latin Modern Serif] \definefontfamily[mainface][tt][Latin Modern Sans][rscale=2] \setupbodyfont[mainface, 60pt] \starttext \dorecurse{26}

Re: [NTG-context] new font trickery

2021-01-24 Thread Pablo Rodriguez
On 1/24/21 5:51 PM, Hans Hagen wrote: >> [...] >> I only get black cows and black squares for bitmap images. >> >> I think this isn’t intended. > Works ok here ... so are the images found? Buggy pdf viewer? Many thanks for your reply, Hans. Images are found, but not with "directory=default", but

Re: [NTG-context] new font trickery

2021-01-24 Thread Pablo Rodriguez
On 1/24/21 4:44 PM, Hans Hagen wrote: > \starttext > > \setupexternalfigure[directory={global,default}] > > \startsetups box:demo:103 > \externalfigure[cow-brown.pdf][height=12pt] > \stopsetups > > \startsetups box:demo:104 > \externalfigure[cow-black.pdf][height=10pt] > \stopsetups > >

Re: [NTG-context] lmtx-20210118 | Corruption with rotated floats

2021-01-23 Thread Pablo Rodriguez
On 1/23/21 10:43 PM, Hans Hagen wrote: > On 1/23/2021 12:10 PM, Pablo Rodriguez wrote: >> [...] >> LMTX misplaces next paragraph on next page with both 90 and 270. >> [...] > The code is not different from mkiv but instead we swap dimens using a > primitive. When you set

Re: [NTG-context] lmtx-20210118 | Corruption with rotated floats

2021-01-23 Thread Pablo Rodriguez
On 1/23/21 8:59 AM, Richard Mahoney wrote: > [...] > \placetable[here,90] > > results in the trashing of all subsequent body text in the PDF. > [...] > This error has been occurring for some time now, and unfortunately, > while I would like to keep up the recent releases of LMTX, it is > essential

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