[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

Re: [NTG-context] web server

2021-01-23 Thread Pablo Rodriguez
On 1/23/21 3:43 AM, Hans Hagen wrote: > On 1/23/2021 1:38 AM, Jairo A. del Rio wrote: >> So, is it still broken? > [...] > but ... i need to quit now in order not to get into a too bad mood but > updating ... lmtx should work (well, it does here) .. tomorrow i'll play > a bit more (we're locked

Re: [NTG-context] web server

2021-01-22 Thread Pablo Rodriguez
On 1/22/21 1:46 PM, Hans Hagen wrote: > Hi, > > I'm moving the webserver to another ip address so there can be some > temnporary hickups (dns and such) Many thanks for your info, Hans. This explains why I’m not able to update LMTX now. Pablo -- http://www.ousia.tk

Re: [NTG-context] issue with doublesided layer

2021-01-19 Thread Pablo Rodriguez
On 1/19/21 6:43 PM, Hans Hagen wrote: > On 1/19/2021 5:46 PM, Pablo Rodriguez wrote: >> Dear list, >> >> I have the following sample: >> >>\definelayer[layer] >> [doublesided=yes] >> [...] >> Simply defining a doublesided layer breaks c

[NTG-context] issue with doublesided layer

2021-01-19 Thread Pablo Rodriguez
Dear list, I have the following sample: \definelayer[layer] [doublesided=yes] \setlayer[layer] {layer} \setupbackgrounds[text] [background={layer}] \starttext \null \stoptext Simply defining a doublesided layer breaks compilation in LMTX. It works fine with MkIV. I’m

[NTG-context] extra width in cropbox and trimbox

2021-01-12 Thread Pablo Rodriguez
Dear list, I have already reported this before (https://mailman.ntg.nl/pipermail/ntg-context/2020/099636.html). I have the following sample: \setupinteractionscreen [width=fit] \starttext \null \stoptext Mediabox is fine: [ 0 0 595.2756 841.8898 ] But cropbox and trimbox

[NTG-context] xtable as list item

2021-01-12 Thread Pablo Rodriguez
Dear list, I have the following sample: \starttext \startitemize[n][margin=yes] \item a \item \startembeddedxtable[option={stretch, width}] \dorecurse{25}{\startxrow \startxcell \Characters{\recurselevel}\stopxcell \startxcell \characters{\recurselevel}\stopxcell

Re: [NTG-context] \definefontfeature and script

2021-01-06 Thread Pablo Rodriguez
On 1/6/21 1:41 PM, Hans Hagen wrote: > On 1/5/2021 6:53 PM, Pablo Rodriguez wrote: >> [...] >> GFS Heraklit >> (https://greekfontsociety-gfs.gr/_assets/fonts/GFS_Heraklit.zip [direct >> link].) defines Greek c2sc and smcp for grek{dflt} (as displayed by >> Fo

Re: [NTG-context] \definefontfeature and script

2021-01-05 Thread Pablo Rodriguez
On 1/5/21 5:11 PM, Hans Hagen wrote: > On 1/5/2021 4:46 PM, Pablo Rodriguez wrote: >> [...] >> If script=auto, current latest (2021.01.05 10:45) works fine. If it is >> set to Latin (as above), I don’t get small caps. >> >> Besides the potential issue in ConTeX

[NTG-context] \definefontfeature and script

2021-01-05 Thread Pablo Rodriguez
Hans, this sample shows an issue with script: \definefontfeature [default] [default] [script=latn] \definefontfeature [onumsmcp] [onum=yes, smcp=yes, c2sc=yes] \setupbodyfont [pagella] \starttext \feature[+][onumsmcp]\tfb abc123ABC \stoptext If

Re: [NTG-context] lmtx upload

2021-01-05 Thread Pablo Rodriguez
On 1/5/21 11:01 AM, Hans Hagen wrote: > Hi, > > A new version has been uploaded. This one has: > >\enableexperiments[fonts.compact] > > for the brave to test. Hi Hans, many thanks for your new release with the experimental feature. I get a compilation time decrease from 64s to 58s in one of

Re: [NTG-context] adding url as a footnote in the caption of figure

2020-12-29 Thread Pablo Rodriguez
On 12/29/20 8:23 PM, Jeong Dal wrote: > [...] > I am trying to add a url as a footnote in the caption. > There is no error, but it is written in two lines in the footnote. > I also try \hyphenatedurl, \letterslash in the wiki, but it is no use. > I am using "ConTeXt  ver: 2020.12.22 22:14 LMTX”.

Re: [NTG-context] RE : HZ broken with latest 2020-12-27 LMTX

2020-12-28 Thread Pablo Rodriguez
On 12/28/20 1:03 AM, Hans Hagen wrote: > [...] > ok, found .. somehow i deleted a line Hi Hans, does current latest (from 2020.12.28 01:41) contain the missing line? Sorry, but hz isn’t working and I don’t know whether current latest should fix it. Many thanks for your help, Pablo --

Re: [NTG-context] HZ broken with latest 2020-12-27 LMTX

2020-12-27 Thread Pablo Rodriguez
On 12/27/20 5:47 PM, Joseph wrote: > Dear list, > > Following MWE allows to reproduce the problem. Text right margin looks > completely misaligned. Hi Hans, I was about to report the same issue, when I found the report by Joseph. Another MWE, just in case it might help: \showframe\showgrid

Re: [NTG-context] issue with defined font feature

2020-12-26 Thread Pablo Rodriguez
On 12/26/20 6:36 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 26.12.2020 um 12:58: >> I have the following sample: >> [...] >> I’m not being able to get both lnum and no en-dashes: the defined font >> feature seems to require the default and I cannot get

[NTG-context] issue with defined font feature

2020-12-26 Thread Pablo Rodriguez
Dear list, I have the following sample: \definefontfeature [standarddigits] [lnum=yes, tlig=no] \definefontfamily [anothermpface] [rm] [Gabriola] [features={default}] \definefontfamily [anothermpface] [ss] [Gabriola]

Re: [NTG-context] MetaFun labels and xsized

2020-12-25 Thread Pablo Rodriguez
On 12/25/20 10:09 PM, Hans Hagen wrote: >> [...] > \startMPcode > path p ; p := ( > ( 1, 1) -- > ( 1, 5) -- > (10, 10) -- > (14, 4) -- > cycle) xsized .75TextWidth; > > draw p ; > > freelabel("\strut α",point 0 of p,center p) ; >

Re: [NTG-context] MetaFun labels and xsized

2020-12-25 Thread Pablo Rodriguez
On 12/25/20 6:36 PM, Fabrice L wrote: >> I have this minimal MetaFun sample (the only one in my real document): >> [...] >> Is there a way to relate adapt the labels to the xsized positions used? > > I’m sure somebody could find a more elegant solution, but here is a simple > one: > >

[NTG-context] MetaFun labels and xsized

2020-12-25 Thread Pablo Rodriguez
Dear list, I have this minimal MetaFun sample (the only one in my real document): \setupbodyfont[pagella] \starttext \startMPcode pair a ; a := (1, 1) ; pair b ; b := (1, 10) ; pair c ; c := (10, 10) ; pair d ; d := (10, 1) ; draw (a--b--c--d--a) xsized .75TextWidth; draw

Re: [NTG-context] efficiently scaling fonts

2020-12-24 Thread Pablo Rodriguez
On 12/24/20 12:20 PM, Hans Hagen wrote: > Hi, > > I uploaded a new lmtx ... in a previous mail i mentioned font scaling > and I made that two dimensional: Hi Hans, many thanks for the LMTX new release. I can only get it working after removing the extra \starttext and adding \stopbuffer and

Re: [NTG-context] a new book has been published, made with the help of ConTeXt

2020-12-19 Thread Pablo Rodriguez
On 12/19/20 10:11 PM, Robert Zydenbos wrote: > Dear readers, > > With great joy and a sense of relief I can now announce that my > latest book, _A Manual of Modern Kannada_ by Robert Zydenbos > (Heidelberg / Berlin: CrossAsia E-Publishing, 2020), a teaching > manual of the Kannada language

Re: [NTG-context] Indic fonts with MkIV and

2020-12-19 Thread Pablo Rodriguez
On 12/19/20 8:46 PM, Hans Hagen wrote: > [...] > can you wikify this? Wikified at https://wiki.contextgarden.net/Indic_Scripts. Please, Robert, could you improve it? Many thanks for your help, Pablo -- http://www.ousia.tk

Re: [NTG-context] Indic fonts with MkIV and

2020-12-19 Thread Pablo Rodriguez
On 12/19/20 8:46 PM, Hans Hagen wrote: >> [...] >> I hope the description above might help, > can you wikify this? Of course. Although Robert should review it (to avoid the nonsense I may add to it) BTW, I wonder whether it would be possible to add hyphenation patterns for Kannada (Robert may

[NTG-context] links in LMTX

2020-12-19 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

Re: [NTG-context] Indic fonts with MkIV and

2020-12-19 Thread Pablo Rodriguez
On 12/19/20 2:59 PM, Robert Zydenbos wrote: > On 19.12.20 09:10, Wolfgang Schuster wrote: > > YES… YES! > YES YES YES YES YES YES (I'm trying to express enthusiasm.) That's it! > > The remaining question here is: where do I find such magical > expressions like "features=kannada-one"? (Why

Re: [NTG-context] LMTX MetaFun SVG trouble, a portion of the SVG is cut of in the PDF

2020-12-17 Thread Pablo Rodriguez
On 12/17/20 6:45 PM, Pablo Rodriguez wrote: > On 12/17/20 5:08 PM, Neven Sajko wrote: >> On Thu, 17 Dec 2020 at 15:27, Aditya Mahajan wrote: >> [...] >>> Can you check with a desktop pdf viewer as well. >> >> It looks the same with MuPDF. >

Re: [NTG-context] LMTX MetaFun SVG trouble, a portion of the SVG is cut of in the PDF

2020-12-17 Thread Pablo Rodriguez
On 12/17/20 5:08 PM, Neven Sajko wrote: > On Thu, 17 Dec 2020 at 15:27, Aditya Mahajan wrote: > [...] >> Can you check with a desktop pdf viewer as well. > > It looks the same with MuPDF. Hi Neven, it seems to be an issue with the conversion of the SVG file. > This is a combined TeX file

Re: [NTG-context] upload / metafun

2020-12-15 Thread Pablo Rodriguez
On 12/15/20 8:24 PM, Otared Kavian wrote: > [...] > However after running install. sh on MacOS, I still get current > version: 2020.12.10 22:26, even after removing the .tma files.> So I guess I > have to wait a little bit for the new version to be > upoaded. Hans, I’m afraid I’m having the same

[NTG-context] two arguments for \xmlraw?

2020-12-13 Thread Pablo Rodriguez
Dear list, this is a basic question about \xmlraw. Altough both xml-mkiv.pdf and i-context.pdf only grant them the node argument, I think it works with two arguments: \xmlraw { NODE } { PATH } I used in some documents and I couldn’t make it work with one argument (even when path reads ".").

[NTG-context] issue with link and margin in LMTX

2020-12-11 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

Re: [NTG-context] image align in \clip

2020-12-09 Thread Pablo Rodriguez
On 12/9/20 9:38 AM, Jan U. Hasecke wrote: > Dear all, > > I use \clip to simplify working with images. Hi Jan-Ulrich, this command is really useful. > In my real document the clipped image is shifted to the right as if > indented by 1em or so. I have read that Hans solved your issue. I

Re: [NTG-context] not working command in LMTX

2020-12-08 Thread Pablo Rodriguez
On 12/8/20 5:56 PM, Hans Hagen wrote: > On 12/8/2020 4:59 PM, Pablo Rodriguez wrote: >> Dear list, >> >> I have the following sample: >> >>\definecounter[minpagecounter][way=bypage] >>\def\minipagecounter >> {\incrementcounter[minpageco

[NTG-context] issue with line breaking and images

2020-12-08 Thread Pablo Rodriguez
Hi Hans, I have the following MWE: \setupexternalfigures[location=default] \starttext \dontleavehmode \dorecurse{80}{\externalfigure[cow][width=.075\textwidth] } \stoptext MkIV does break the lines to compose a paragraph, but LMTX doesn’t use the space to break. In fact, it doesn’t

[NTG-context] not working command in LMTX

2020-12-08 Thread Pablo Rodriguez
Dear list, I have the following sample: \definecounter[minpagecounter][way=bypage] \def\minipagecounter {\incrementcounter[minpagecounter][1] \rawcounter[minpagecounter]} \starttext \dontleavehmode\dorecurse{4}{\minipagecounter\\} \stoptext LMTX gives only 0 as values. MkIV

Re: [NTG-context] Confusion with fonts

2020-12-08 Thread Pablo Rodriguez
On 12/8/20 10:13 AM, T. Kurt Bond wrote: > I think that what confused me the most is that "\setupbodyfont[pagella]" > works fine, but "\definefontfamily[mainface][rm][pagella]" does not. But is it clear now that identifiers and typeface names (such as explained in my previous message) are totally

Re: [NTG-context] Bugs using \startTEXpage ... \stopTEXpage, Metapost and text

2020-12-06 Thread Pablo Rodriguez
On 12/6/20 3:29 PM, Jairo A. del Rio wrote: > [...] > gives a normal output in MkIV, but buggy output in LMTX. It seems only > TeX commands in Metapost (textext, thetextext, etc.) are affected. Am I > missing something? Hi Jairo, the sample can be much simpler: \starttext \startMPcode

Re: [NTG-context] Confusion with fonts

2020-12-06 Thread Pablo Rodriguez
On 12/6/20 1:03 PM, T. Kurt Bond wrote: > [...] > \definefontfamily[mainface][mm][Latin Modern Math] Hi Kurt, this triggers an error in current latest (2020.12.04 20:22): backend > blocked > function 'setmapfile' is not accessible Using LMTX, it seems to be "Latin Modern Roman Math". I

Re: [NTG-context] troubles with setuphead, page=right

2020-12-06 Thread Pablo Rodriguez
On 12/6/20 3:20 PM, Damien Thiriet wrote: > Hi, > > \setuphead[subject] [page={yes,right}] > [...] > makes the job on ConTeXt online, but doesn't with my lmtx version. Hi Damien, https://live.contextgarden.net/cgi-bin/result.cgi?id=EXmDKW gives the expected output: no double-sided document by

Re: [NTG-context] troubles with setuphead, page=right

2020-12-06 Thread Pablo Rodriguez
On 12/6/20 3:07 PM, Damien Thiriet wrote: > Hi, > > The following MWE does not give the output I expect, > that is subject starting on page 1 and 3. > What did I miss? Hi Damien, by default, ConTeXt generates single-sided documents. If double-sided documents are needed, proper setup reads:

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