[NTG-context] vertical align in combination

2021-10-22 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \starttext \setupexternalfigure[location=default] \startcombination[nx=3, ny=2, location={middle}] {\externalfigure[mill.png][width=.25\textwidth]} {\externalfigure[cow.pdf][width=.25\textwidth]} {\externalfigure[cow.pdf][width=.25\textwidth]}

Re: [NTG-context] \rotate[rotation=270] adds extra vertical space

2021-10-22 Thread Pablo Rodriguez via ntg-context
On 10/22/21 10:07 AM, Hans Hagen via ntg-context wrote: > nicer demo: > [...] Hans, many thanks for your reply and your sample. A more visual version for me would be: \setupbodyfont[sans, 30pt] \setuppagenumbering[location=,] \showframe \starttext \topskip4cm

Re: [NTG-context] upload

2021-10-21 Thread Pablo Rodriguez via ntg-context
On 10/21/21 8:04 PM, Hans Hagen via ntg-context wrote: > Hi, > > I cleaned up some more backend code. There were some mails about dates > and such and although the date field in setupinteraction works ok a more > drastic overload is doen with directives. The reason is that the fact > that we can

Re: [NTG-context] setting date in \setupinteraction

2021-10-21 Thread Pablo Rodriguez via ntg-context
On 10/20/21 4:02 PM, Hans Hagen via ntg-context wrote: > On 10/19/2021 10:38 PM, Michal Vlasák via ntg-context wrote: >> [...] >> The pattern doesn't catch all the PDF spec cases, but should match what >> ConTeXt emits. The timezone info gets overwritten by current timezone >> though. >> >>

[NTG-context] \rotate[rotation=270] adds extra vertical space

2021-10-21 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following imposition sample: \startbuffer[newbuff] \showframe\showgrid \setuppapersize[A3, landscape] \setuplayout[width=middle] \starttext \dorecurse{4}{\null\page} \stoptext \stopbuffer \startmode[*first] \savebuffer[newbuff][A3page.tex, prefix=no]

[NTG-context] transparency not working in current latest?

2021-10-21 Thread Pablo Rodriguez via ntg-context
Dear list, since current latest (2021.10.18 23:14), I don’t get transparency working: \definecolor[transparent][b=1, a=1, t=0] \starttext \startTEXpage[offset=1em, align=middle] \color[transparent]{\ssbf totally\\transparent?} \stopTEXpage \stoptext Am I missing something or is it

Re: [NTG-context] setting date in \setupinteraction

2021-10-19 Thread Pablo Rodriguez via ntg-context
On 10/19/21 6:23 PM, Michal Vlasák via ntg-context wrote: > On Tue Oct 19, 2021 at 5:47 PM CEST, Pablo Rodriguez via ntg-context wrote: > [...] > So this works: > > > \setupinteraction[state=start, > date={2022-02-02T12:00:21+02:00}] > \starttext >

Re: [NTG-context] upload

2021-10-19 Thread Pablo Rodriguez via ntg-context
On 10/18/21 11:17 PM, Hans Hagen via ntg-context wrote: > Hi, > > I uploaded a new lmtx. This one is a little experimental because I > removed so redundant / intermediate code still present from teh > transition from mkiv to lmtx (mostly backend related). I might have > missed something (not all

[NTG-context] setting date in \setupinteraction

2021-10-19 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \setupinteraction[state=start, date={02.02.2022}] \starttext This document is from 02.02.2020 at 12:00:21. \stoptext Which is the right way to get PDF dates working with \setupinteraction? Many thanks for your help, Pablo --

Re: [NTG-context] Acrobat doesn’t read imported metadata

2021-10-11 Thread Pablo Rodriguez via ntg-context
On 10/10/21 6:51 PM, Hans Hagen via ntg-context wrote: > On 10/10/2021 5:46 PM, Pablo Rodriguez via ntg-context wrote: >> [...] >> Being the sample file https://pdf.ousia.tk/metadata.pdf, Acrobat cannot >> display the imported title or either the creation or modification d

[NTG-context] undefined command in current latest

2021-10-10 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \setupheadertexts[{\getmarking[chapter]}] \starttext \chapter{Chapter} \stoptext It compiles perfectly fine with MkIV from 2021.10.08 20:18, but its LMTX version triggers the following error message: Undefined control sequence \??markingfilter

[NTG-context] Acrobat doesn’t read imported metadata

2021-10-10 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \starttext \startluacode function document.transfer_metadata(name) local main_doc = lpdf.epdf.load(name) lpdf.addtoinfo("Title", lpdf.unicode(main_doc.Info.Title), lpdf.string(main_doc.Info.Title)) lpdf.addtoinfo("CreationDate",

[NTG-context] Acrobat doesn’t display some imported metadata

2021-09-19 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample to import metadata (title, author, subject, keywords and dates). \starttext \startluacode function document.transfer_metadata(name) local main_doc = lpdf.epdf.load(name) lpdf.addtocatalog("Lang", lpdf.unicode(main_doc.Catalog.Lang),

Re: [NTG-context] Roman PDF labels

2021-09-14 Thread Pablo Rodriguez via ntg-context
On 9/14/21 1:58 PM, Sylvain Hubert via ntg-context wrote: > Dear List, > > Do we have something like "\pagenumbering{roman}" in latex, which sets > the pdf labels (page numbers for pdf viewers, not the ones rendered in > the footer) to roman numbers? Hi Sylvain, copied from

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

2021-09-11 Thread Pablo Rodriguez via ntg-context
On 9/11/21 6:16 PM, Hans Hagen via ntg-context wrote: > On 9/11/2021 2:35 PM, Pablo Rodriguez via ntg-context wrote: >> [...] >> How can I get the pure text value, so I can transfer metadata from one >> PDF document into another PDF document? > just use the better interfa

[NTG-context] read PDF metadata from other file

2021-09-11 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \starttext \setupinteraction [state=start, title={\cldcontext{pdfe.open("b.pdf").Info.Title}}] \null \stoptext From a document composed with \insertpages, I need to transfer medatada. But I get the raw value "feff0061" (which I guess it

Re: [NTG-context] Setting up the double pages of part beginnings

2021-09-11 Thread Pablo Rodriguez via ntg-context
On 9/10/21 7:25 PM, Christian Dekant via ntg-context wrote: > [...] > % startTEXpage does not increase page number => incrementpagenumber Sorry, Christian, I’m afraid I don’t understand what you want to achieve \startTEXpage[pagestate=start] uses page numbers as any other page. I hope it helps,

[NTG-context] JavaScript controlled button appearance

2021-08-30 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \setupinteraction[state=start] \setupbodyfont[heros] \startJSpreamble varia used now function SwitchFS() { app.fs.isFullScreen = !app.fs.isFullScreen; } \stopJSpreamble \starttext \startTEXpage[offset=10pt]

Re: [NTG-context] new upload

2021-08-30 Thread Pablo Rodriguez via ntg-context
On 8/30/21 6:15 PM, mf via ntg-context wrote: > There's a problem downloading lowlevel-alignments.pdf. > Here's a slice of the log of install.sh: > [...] > mtx-install | added: 7 % : 199 : > tex/texmf-context/doc/context/documents/general/manuals/lowlevel-alignments.pdf >

Re: [NTG-context] getting path and filename from url

2021-08-28 Thread Pablo Rodriguez via ntg-context
On 8/28/21 1:17 AM, Hans Hagen via ntg-context wrote: > On 8/27/2021 8:53 PM, Pablo Rodriguez via ntg-context wrote: >> [...] >> How can I get that match for #1 ends in the last slash (including it >> "../a/b/cb/ce.b/ca.b/c/") and match for #2 ends in the last

Re: [NTG-context] getting path and filename from url

2021-08-28 Thread Pablo Rodriguez via ntg-context
On 8/27/21 10:56 PM, Tomas Hala via ntg-context wrote: > Hi Pablo, > > is the following what you need? > > context("2a. " .. url:match "[^/]+/.+[.]") -- path and name with period > context("2c. " .. (url:match "[^/]+[^.]+$") :match ".+[.]") -- name with > period Hi Tomáš, well, I

[NTG-context] getting path and filename from url

2021-08-27 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \starttext \startluacode url = "../a/b/cb/ce.b/ca.b/c/dabc.pdf" context(url) context("0 ok. " .. url:match "^(.*).pdf$") -- name and path context("1. " .. url:match "^(.*).+$") -- path context("2. " .. url:match"[^/]+[.$]") --

[NTG-context] different preffixsegments for different reference formats

2021-08-21 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \starttext \definereferenceformat[itsc][in] \setupreferencestructureprefix[itsc][default] [prefixsegments=section] \chapter{Chapter} \section[b]{Section} \itsc[b] and \in[b] \stoptext How can I get that \itsc gets

Re: [NTG-context] paper dimensions for TEXpage

2021-08-19 Thread Pablo Rodriguez via ntg-context
On 8/18/21 4:25 PM, Hans Hagen via ntg-context wrote: > On 8/17/2021 4:01 PM, Pablo Rodriguez via ntg-context wrote: >> [...] >> In this case, \getfiguredimensions would work, but I don’t know how to >> deal with a pure text box. >> >> BTW, is there a way to h

Re: [NTG-context] compression for multimedia objects

2021-08-17 Thread Pablo Rodriguez via ntg-context
On 8/17/21 12:46 PM, Hans Hagen via ntg-context wrote: > On 8/17/2021 6:06 AM, Pablo Rodriguez via ntg-context wrote: >> [...] >> I don’t know whether this is intended. In that case, could we have an >> option to compress embedded multimedia objects? > > indeed inten

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

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,

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

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

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

Re: [NTG-context] JavaScript in multimedia PDF

2021-08-09 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

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

[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

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

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

2021-08-01 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

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

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 >

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

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

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,

[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:*}

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

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                   

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

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

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