Re: [NTG-context] paper dimensions for TEXpage

2021-08-17 Thread Pablo Rodriguez via ntg-context
On 8/17/21 9:30 AM, Hans Hagen via ntg-context wrote: > On 8/17/2021 5:56 AM, Pablo Rodriguez via ntg-context wrote: >> [...] >> I don’t get the layer in the TEXpage. >> >> How could I get it with the TEXpage dimensions? > only by first boxing (using framed or so) an

[NTG-context] compression for multimedia objects

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

[NTG-context] paper dimensions for TEXpage

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

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

2021-08-15 Thread Pablo Rodriguez via ntg-context
On 8/15/21 6:02 PM, Fabrice Couvreur via ntg-context wrote: > A small note : this method works if I compile the project but if I > compile only one chapter, the header no longer appears. Hi Fabrice, I have never used projects and chapters (or whatever the right name is). I’m not sure I get what

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

2021-08-15 Thread Pablo Rodriguez via ntg-context
On 8/15/21 12:49 PM, Fabrice Couvreur via ntg-context wrote: > Hello, > Wolfgang created a > heading https://mailman.ntg.nl/pipermail/ntg-context/2021/102870.html > for the chapters of my book. > How can I prevent this header from appearing on the page with the table > of contents ? Hi Fabrice, a

Re: [NTG-context] Conditional formatting with *frontpart, *bodypart, *backpart modes

2021-08-12 Thread Pablo Rodriguez via ntg-context
On 8/13/21 5:34 AM, Joey McCollum via ntg-context wrote: > Hi, > > I was curious about the possibility of handling general formatting > settings (e.g., page layout, headers and footers, page numbering, > alignment, default body font assignment, etc.) conditionally for front, > body, and back matter

Re: [NTG-context] JavaScript in multimedia PDF

2021-08-12 Thread Pablo Rodriguez via ntg-context
On 8/12/21 3:02 AM, Michal Vlasák via ntg-context wrote: > On Thu Aug 12, 2021 at 12:55 AM CEST, Hans Hagen via ntg-context wrote: >> Hi >> >>> -Type = pdfconstant(MediaPermissions), >>> +Type = pdfconstant("MediaPermissions"), >> That's an interesting one ... easi

Re: [NTG-context] JavaScript in multimedia PDF

2021-08-11 Thread Pablo Rodriguez via ntg-context
On 8/10/21 11:52 PM, Michal Vlasák via ntg-context wrote: > On Mon Aug 9, 2021 at 8:32 AM CEST, Pablo Rodriguez via ntg-context wrote: > [...] >> I get exactly the same results: screen object, but null rendition. >> >> I have no idea what it is needed here. > > Sorry

Re: [NTG-context] JavaScript in multimedia PDF

2021-08-08 Thread Pablo Rodriguez via ntg-context
On 8/8/21 11:00 PM, Michal Vlasák via ntg-context wrote: > On Sun Aug 8, 2021 at 8:22 PM CEST, Pablo Rodriguez via ntg-context wrote: >> I don’t know why I get the following message: >> >> TypeError: a.doc is undefined >> >> It seems to be caused by "app.med

[NTG-context] JavaScript in multimedia PDF

2021-08-08 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \setupinteraction [state=start] \startJSpreamble varia used now this.pageNum = 0 ; // start at 0 function GoToFirstSlide(label) { this.pageNum = 0 ; var rendition = this.media.getRendition(label) ; var player = app.media.openPlayer({

Re: [NTG-context] Setting a heading text on its own page with \setuphead

2021-08-06 Thread Pablo Rodriguez via ntg-context
On 8/6/21 7:12 PM, Joey McCollum via ntg-context wrote: > Hi, > > I'd like to define my own class of heading derived from the "part" > heading; in the MWE below, it's called "MyPart". Hi Joey, these are options for \setuphead[part] (MyPart in your case): > I'd like this heading to have the follo

Re: [NTG-context] copies from \setupinteractionscreen not working?

2021-08-05 Thread Pablo Rodriguez via ntg-context
On 8/4/21 8:52 PM, Wolfgang Schuster via ntg-context wrote: > Pablo Rodriguez via ntg-context schrieb am 04.08.2021 um 15:53: >> [...] >> I’m afraid that "copies" isn’t generating the proper /NumCopies entry in >> the /ViewerPreferences dictionary. >> >&

Re: [NTG-context] issue with footnote in TOC

2021-08-05 Thread Pablo Rodriguez via ntg-context
On 8/5/21 11:58 PM, Hans Hagen via ntg-context wrote: > On 8/5/2021 4:34 PM, Pablo Rodriguez via ntg-context wrote: >> \starttext >>\completecontent >>\chapter{Chapter Title\footnote{With footnote}} >>\stoptext > > fixed in next beta (different escapi

[NTG-context] issue with footnote in TOC

2021-08-05 Thread Pablo Rodriguez via ntg-context
Dear list, compiling the following sample with current latest (2021.08.04 17:51): \starttext \completecontent \chapter{Chapter Title\footnote{With footnote}} \stoptext The entry in the TOC for the chapter seems to have problems with the footnote command (backslash seems to be unrecognize

[NTG-context] copies from \setupinteractionscreen not working?

2021-08-04 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \setupinteractionscreen[copies=5] \starttext \dorecurse{5}{\input zapf\par} \stoptext The resulting file from current latest (2021.07.30 00:57) contains the following /ViewerPreferences dictionary: /ViewerPreferences << /Duplex /Simplex

[NTG-context] issue with signature fields in Acrobat

2021-08-03 Thread Pablo Rodriguez via ntg-context
Hi Hans, I have the following sample: \setupinteraction[state=start] \starttext \startTEXpage[offset=2em] \setupfield[ShortLine][horizontal][width=5cm,height=5em] \definefield [Email] [signature] [ShortLine] \field [Email] [your email] \stopTEXpage \stoptext If I sign it with Acr

Re: [NTG-context] Code document and simpleslides and create in one go the document with simpleslides added

2021-08-01 Thread Pablo Rodriguez via ntg-context
On 7/31/21 10:23 PM, Jeroen via ntg-context wrote: > [...] >   \savebuffer[list=slides, file=\jobname_slides.tex, prefix=no] Sorry, Jeroen, this was my fault. A simpler approach to the command above reads: \savebuffer[list=slides, file=slides.tex] But then you have to invoke the file as \t

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

2021-07-31 Thread Pablo Rodriguez via ntg-context
On 7/31/21 11:02 PM, Henning Hraban Ramm via ntg-context wrote: > [...] > My Apple Mail 12.4 on Mojave shows the same message like attached (dark > mode). Thunderbird’s display is in the attached image. The message list can only include a sender, since it has registered the email address in the a

Re: [NTG-context] Code document and simpleslides and create in one go the document with simpleslides added

2021-07-31 Thread Pablo Rodriguez via ntg-context
On 7/31/21 3:27 PM, Jeroen via ntg-context wrote: > Is there an easy way to write a Context document and also code > simpleslides in the same document so that the simpleslides are > automatically added to the document as for example an appendix? Ie > one tex document with Context code, perhaps with

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

2021-07-31 Thread Pablo Rodriguez via ntg-context
On 7/30/21 11:24 PM, Otared Kavian via ntg-context wrote: > Hi all, > > I noticed that beginning July 27th, the messages distributed by the > ConTeXt mailing list appear to be from > > Mailing list for ConTeXt users > > without the actual name of the sender appearing. It may be dependent > on

Re: [NTG-context] multimedia PDF in ConTeXt

2021-07-31 Thread Pablo Rodriguez via ntg-context
On 7/31/21 1:08 AM, Michal Vlasák via ntg-context wrote: > [...] > By the way, Pablo, your issue > https://www.mail-archive.com/ntg-context@ntg.nl/msg88204.html was also > solved in the last upload. Unfortunately it will probably not help you, > because Acrobat no longer supports this. > [...] > Bu

Re: [NTG-context] multimedia PDF in ConTeXt

2021-07-31 Thread Pablo Rodriguez via ntg-context
On 7/30/21 11:57 PM, Michal Vlasák via ntg-context wrote: > On Fri Jul 30, 2021 at 8:53 PM CEST, Pablo Rodriguez via ntg-context wrote: >> [...] >> Although I don’t read Czech, just out of curiosity, is your bachelor >> thesis available on the net, Michal? Thanks to theses

[NTG-context] multimedia PDF in ConTeXt

2021-07-30 Thread Pablo Rodriguez via ntg-context
Hi Michal and Hans, many thanks for your patch to fix multimedia objects in PDF and your extremely interesting and in-depth explanation about multimedia in PDF. Many thanks to Hans for the release of an updated latest with also updated documentation. Although I don’t read Czech, just out of curio

Re: [NTG-context] question about followingup.pdf

2021-07-24 Thread Pablo Rodriguez
On 7/22/21 3:53 PM, Hans Hagen wrote: > On 7/22/2021 2:57 PM, Pablo Rodriguez wrote: >> [...] >> In latest, the PDF document for LMTX is from yesterday, but the PDF for >> the Following Up manual is almost two years old. >> >> Is this intended or am I missing some

[NTG-context] question about followingup.pdf

2021-07-22 Thread Pablo Rodriguez
Hi Hans, current latest has content added to the Following Up manual and also to the LMTX manual. In latest, the PDF document for LMTX is from yesterday, but the PDF for the Following Up manual is almost two years old. Is this intended or am I missing something? Many thanks for your help, Pabl

[NTG-context] \xmlrefatt as node?

2021-07-19 Thread Pablo Rodriguez
Dear list, I have the following sample: \startbuffer[test] 1 2 3 \stopbuffer \startxmlsetups xml:testsetups \xmlsetsetup{#1}{*}{-} \xmlsetsetup{#1}{document|div|p|a}{xml:flushing} \xmlsetsetup{#1}{a}{xml:*} \stopxm

Re: [NTG-context] drop cap (initial) and indentation

2021-07-19 Thread Pablo Rodriguez
On 7/18/21 11:54 PM, Gerben Wierda wrote: > With the following minimal example: > [...] > both the initial and the bold stuff after it is indented. With hoffset I > can move the initial, but not what comes after. I have been > experimenting but haven’t found a way to solve this. Hi Gerben, this m

Re: [NTG-context] (no subject)

2021-07-18 Thread Pablo Rodriguez
On 7/17/21 8:38 AM, T. Kurt Bond wrote: > I have the following file: > > \setupfloat[table][default=nonumber] > > \starttext > \startplacetable[title={Table With A Caption},location=force] > \bTABLE > \bTR\bTD r2c1 \eTD\bTD r2c2\eTD\eTR > \eTABLE > \stopplacetable

Re: [NTG-context] LMTX and lettrine

2021-07-18 Thread Pablo Rodriguez
On 7/18/21 3:35 PM, Gerben Wierda wrote: > I am trying to find out how to move this setup in mkii > > 23     \usemodule[lettrine] > 24 >>  \setuplettrine[Lines=3, > 25                    Hang=.5, > 26                    Oversize=0, > 27                    Raise=0, > 28                    Findent=0p

Re: [NTG-context] number in \doloopoverlist?

2021-07-14 Thread Pablo Rodriguez
On 7/14/21 9:06 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 14.07.2021 um 20:41: >> Dear list, >> >> I have the following sample: >> >>\starttext >>\doloopoverlist{a,b,c,d} >> {\recursestring, number: \recurselevel\\} >

[NTG-context] number in \doloopoverlist?

2021-07-14 Thread Pablo Rodriguez
Dear list, I have the following sample: \starttext \doloopoverlist{a,b,c,d} {\recursestring, number: \recurselevel\\} \stoptext Which is the way to get the number when looping over a list? Many thanks for your help, Pablo -- http://www.ousia.tk ___

Re: [NTG-context] double-sided page number placement

2021-07-11 Thread Pablo Rodriguez
On 7/11/21 5:07 PM, Charles Doherty wrote: > [...] > the left page of the double spread places the page number on the left > margin of the page and in the right page it is placed on the right > margin. This is what I would like to get in LMTX as well. Am I doing > something wrong here? Hi Charles,

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] \def

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 debian

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 ligat

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

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 and

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") > os.r

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

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

2021-06-16 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 \startembeddedxtable[option={st

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 have

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] \s

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, thank

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
pdf-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 \MyURL{a.b

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

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 right.

[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 \MyURL{a.b\\/c.d\letterha

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

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 m

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 standar

[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 (f

Re: [NTG-context] underscore hyphenation and hz

2021-05-16 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 tfmdata.characters[0xFE00

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] \setupbod

Re: [NTG-context] underscore hyphenation not working

2021-05-09 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 \i

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

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

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. But

[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 \s

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 me

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 o

[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} {\star

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 im

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

2021-04-26 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-26 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 (https://wiki.contextgarden.net/Font

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

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

[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 \plac

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

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): > > https://www.dropbox

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 scal

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 \startTEXpage[of

[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 = p,

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 an

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

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,

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