Re: [dev-context] option for single sided printing

2015-12-22 Thread Pablo Rodriguez
On 12/22/2015 09:45 AM, Hans Hagen wrote: > On 12/20/2015 1:36 PM, Pablo Rodriguez wrote: >> Hans, >> >> in some printers in which duplex printing is enabled by default, a >> "single" value for duplex printing is required to disable it. >> >> I att

[dev-context] option for single sided printing

2015-12-20 Thread Pablo Rodriguez
Hans, in some printers in which duplex printing is enabled by default, a "single" value for duplex printing is required to disable it. I attach the patch that implements this. Many thanks for your help, Pablo -- http://www.ousia.tk ---

[dev-context] disable /PrintScaling None when not invoked

2016-06-28 Thread Pablo Rodriguez
Hans, I have found that the values page, portrait, landscape and paper from the option key in \setupinteractionscreen force the page scaling to none. I think it is essential to have the fixed option only when explicitly invoked. I attach a patch that fixes the issue. Could it be applied to

[dev-context] /UseAttachments and /UseOC for /PageMode

2017-05-27 Thread Pablo Rodriguez
Hans, the attachment contains a patch to be able to set /PageMode to attachments or optional contents. Values are attach and oc. These were the simplest names that came to my mind. I realized these are extremely useful, since vast majority of people (including IT guys) don’t seem to know how to

Re: [dev-context] /UseAttachments and /UseOC for /PageMode

2017-05-28 Thread Pablo Rodriguez
On 05/28/2017 12:05 PM, Hans Hagen wrote: > On 5/27/2017 7:01 PM, Pablo Rodriguez wrote: >> Hans, >> >> the attachment contains a patch to be able to set /PageMode to >> attachments or optional contents. >> >> Values are attach and oc. These were the

[dev-context] fix for \attachment[method=hidden]

2017-05-29 Thread Pablo Rodriguez
Hans, the following sample shows an issue with attachments: \setupinteraction[state=start] \setupinteractionscreen[option=attachment] \setuppapersize[A5, landscape] \setuppagenumbering[location=] \starttext \input knuth\attachment[file=e.pdf, title=Attachment

Re: [dev-context] /MarkInfo refers to empty object

2017-10-23 Thread Pablo Rodriguez
On 10/23/2017 09:53 PM, Hans Hagen wrote: > On 10/23/2017 8:40 PM, Pablo Rodriguez wrote: >> [...] >> to the new content in beta 2017.10.19 13:50: >> >>Marked= lpdf.majorversion == 1 and pdfboolean(true) or nil, > > for now change that to > > lp

Re: [dev-context] fix output intent subtype

2017-10-23 Thread Pablo Rodriguez
On 10/23/2017 07:01 PM, luigi scarso wrote: > [...] > sure, but it's better if we have an example that fails > --- I mean, the source code, the version of the parser , the command line > used. > It could be that other parts are also not ok. The sample file is: \nopdfcompression

[dev-context] /MarkInfo refers to empty object

2017-10-23 Thread Pablo Rodriguez
Dear list, [I accidentally discovered this issue when validating PDF/A documents with veraPDF.] I have the following sample: \nopdfcompression \setuptagging[state=start] \starttext \startTEXpage[offset=1em] \TeX \stopTEXpage \stoptext The resulting PDF document

[dev-context] typo in page-pcl.mkiv

2017-11-18 Thread Pablo Rodriguez
Hans, the attached patch fixes a typo in page-pcl.mkiv. I hope it helps, Pablo -- http://www.ousia.tk --- mkiv/page-pcl.mkiv 2017-11-15 22:13:28.0 +0100 +++ page-pcl.mkiv 2017-11-17 21:00:31.688532294 +0100 @@ -19,7 +19,7 @@ %D side floats too. No balancing and other fancy features.

[dev-context] double widget for signature?

2017-12-10 Thread Pablo Rodriguez
Hans, I have the following sample: \setupinteraction[state=start] \starttext \startTEXpage[offset=1em] \definefield[x][signature] \field[x] \stopTEXpage \stoptext And for the signature two widgets are generated (I include object 7 to make sense of the kids

Re: [dev-context] double widget for signature?

2017-12-10 Thread Pablo Rodriguez
On 12/10/2017 01:29 PM, Hans Hagen wrote: > On 12/10/2017 12:55 PM, Pablo Rodriguez wrote: >> [...] >> Would it be possible to generate only one annotation widget for the >> signature? > > Only if one beforehand would indicate that there are no more possible &g

Re: [dev-context] fix output intent subtype

2017-10-24 Thread Pablo Rodriguez
On 10/24/2017 09:49 AM, luigi scarso wrote: > On Tue, Oct 24, 2017 at 9:15 AM, Hans Hagen wrote: >> >> Well, for me it means that all that validation esp of keys like this are >> rather useless (creating work) because docs validated in the past and >> archived now are suddenly no longer valid. >

Re: [dev-context] fix output intent subtype

2017-10-24 Thread Pablo Rodriguez
On 10/24/2017 07:51 PM, luigi scarso wrote: > On Tue, Oct 24, 2017 at 7:42 PM, Pablo Rodriguez wrote: >> >> But replacing vectors with bitmaps is a way of avoiding the issue, not >> of fixing it (if this needs to be fixed). > > yes, it's a clean way to resolve a problem

Re: [dev-context] fix output intent subtype

2017-10-24 Thread Pablo Rodriguez
On 10/24/2017 07:06 PM, luigi scarso wrote: > a pdf ? > As said previously , including pdf can break the rules of > format=PDF/A-3a. > Simply include bitmap images, it's way more robust. Allow me a fair and respectful disagreement, Luigi. Bitmap images are less problematic in PDF/A because they

Re: [dev-context] fix output intent subtype

2017-10-24 Thread Pablo Rodriguez
On 10/24/2017 01:48 PM, Peter Rolf wrote: > [...] > Well, the good news is that the actual problem does not effect any A1 > documents. And even with an incomplete (99.9%) validity the documents > stay usable. I'm sure that (alien) historians will love any ConTeXt > created PDF/A document :D

Re: [dev-context] fix output intent subtype

2017-10-24 Thread Pablo Rodriguez
On 10/24/2017 09:38 PM, Hans Hagen wrote: > On 10/24/2017 8:21 PM, Pablo Rodriguez wrote: >> It adds them a color space that (I think) makes it impossible that an >> icc profile can be referred to the form xobject. > > Are you sure? The image is included as is. Nothing is add

[dev-context] two typos in lpdf-wid.lua

2018-07-02 Thread Pablo Rodriguez
Hans, the attached file contains the corrections of two typos and the addition of a (in my opinion, much needed) pair of commas. I hope it helps, Pablo -- http://www.ousia.tk --- mkiv/lpdf-wid.lua 2018-07-02 14:45:34.0 +0200 +++ lpdf-wid.lua 2018-07-02 19:41:11.766997567 +0200 @@

[dev-context] fix output intent subtype

2017-10-23 Thread Pablo Rodriguez
Hans, according to Boris Doubrov (one of the developers of the veraPDF parser for PDF/A validation) the subtype of the /OutputIntent dictionary for all PDF/A intents should be GTS_PDFA1 (no GTS_PDFA2 or GTS_PDFA3). Here is his reply for reference:

[dev-context] minor typo in page-ffl.mkiv

2018-01-07 Thread Pablo Rodriguez
Dear Hans (and other list members), first of all, happy New Year to everybody. There is a minor typo in page-ffl.mkiv. The attached patch corrects it. Just in case it helps, Pablo -- http://www.ousia.tk --- mkiv/page-ffl.mkiv 2018-01-06 18:50:13.935912774 +0100 +++ page-ffl.mkiv 2018-01-07

[dev-context] two patches

2018-01-19 Thread Pablo Rodriguez
Hans, track-vis.mkiv has an future year. One of the enclosed patches fixes it. BTW, math-mkiv.pdf includes a \showglyphs commands that is used form where is needed to the end of the document. I guess this isn’t intended. I don’t know whether this is the best of way of doing it, but I enclose a

[dev-context] fixes for comments in TeX, MP and Lua

2018-01-31 Thread Pablo Rodriguez
Hans, the attached patch comes from code that Christoph Reller kindly provided me with to fix comments in TeX, MP and Lua (https://bitbucket.org/philexander/context-highlight/issues/2/highlight-for-tex). * It formats the whole comment (both character and text [not only the former]) for TeX and

Re: [dev-context] fixes for comments in TeX, MP and Lua

2018-02-07 Thread Pablo Rodriguez
On 02/06/2018 05:49 PM, Hans Hagen wrote: > On 1/31/2018 7:14 PM, Pablo Rodriguez wrote: >> Hans, >> >> the attached patch comes from code that Christoph Reller kindly provided >> me with to fix comments in TeX, MP and Lua >> (https://bitbucket.org/philexander/con

[dev-context] minor corrections in musings-introduction.tex

2018-08-15 Thread Pablo Rodriguez
Dear Hans, I attach a diff file with three minor corrections in musings-introduction.tex. Many thanks for the “ConTeXt Musings” themselves, Pablo -- http://www.ousia.tk --- musings-original/musings-introduction.tex 2018-08-14 23:17:06.0 +0200 +++ musings/musings-introduction.tex

[dev-context] language synonyms for registers

2018-07-15 Thread Pablo Rodriguez
Hi Hans, would it be possible to add the following lines to the Greek sorting rules (in sort-lan.lua)? definitions['el'] = { parent = 'gr' } -- Greek (ISO 639) definitions['agr'] = { parent = 'gr' } -- ancient Greek definitions['grc'] = { parent = 'gr' } -- ancient Greek (ISO 639) Many thanks

[dev-context] \currentxrow and \currentxcolumn

2018-04-12 Thread Pablo Rodriguez
Hans, I wonder whether it would be possible to have \currentxrow and \currentxcolumn for synonyms for \currentxtablerow and \currentxtablecolumn. The attached .diff contains the implementation. Many thanks for your help, Pablo -- http://www.ousia.tk --- mkiv/tabl-xtb.mkvi 2018-04-04

[dev-context] typo in xml-mkiv.pdf

2018-03-18 Thread Pablo Rodriguez
Hans, I guess there is a typo in the \xmlinfo explation in xml-mkiv.pdf. The patch replaces "typeset the name if the element given by" with "typeset the name in the element given by". I hope it helps, Pablo -- http://www.ousia.tk ---

[dev-context] typos in “TeX it”

2018-10-01 Thread Pablo Rodriguez
Hans, I attach a diff file correcting some typos in the sources of the “TeX it” manual. I hope it helps, Pablo -- http://www.ousia.tk diff -u ctxbeta/tex/texmf-context/doc/context/sources/general/manuals/texit/texit-introduction.tex texit/texit-introduction.tex ---

[dev-context] sample texts

2018-09-26 Thread Pablo Rodriguez
Hans, would it be possible that both attachments could be included in ConTeXt as sample texts? Many thanks for your help, Pablo -- http://www.ousia.tk \startlanguage[grc] Λόγος δέ ἐστι φωνὴ σημαντική, ἧς τῶν μερῶν τι σημαντικόν ἐστι

Re: [dev-context] comment for attachments in PDF/A-3

2019-03-24 Thread Pablo Rodriguez
On 3/21/19 6:35 PM, Hans Hagen wrote: > On 3/20/2019 10:46 PM, Pablo Rodriguez wrote: >> [...] >> In some scenarios, this could be a security issue. >> >> Wouldn’t it be possible that the content of the /Names entries would be >> replaced by the option keys title

[dev-context] two proposals for attachments in PDF/A-3

2019-03-24 Thread Pablo Rodriguez
Hans, I realized that the values for the /AFRelationship key that I provided in a previous message, are the ones defined for PDF-2.0 (Source, Data, Alternative, Supplement, EncryptedPayload, FormData, Schema or Unspecified). According to

Re: [dev-context] comment for attachments in PDF/A-3

2019-03-24 Thread Pablo Rodriguez
On 3/24/19 6:59 PM, Wolfgang Schuster wrote: > [...] >     \attachment[file=] > > instead of > >     \attachment[] > > The name of the first argument can be used to refer to a previously > defined attachment (can be done with \registerattachment) but ConTeXt > supports a file for backwards

Re: [dev-context] two proposals for attachments in PDF/A-3

2019-03-25 Thread Pablo Rodriguez
On 3/25/19 11:23 AM, Hans Hagen wrote: > On 3/24/2019 6:30 PM, Pablo Rodriguez wrote: >> [...] >> If you allow me a suggestion, maybe it would be useful to have two new >> options in the \setupattachment command: >> >>relationship = source data a

Re: [dev-context] proposal for attachments (not restricted to PDF/A)

2019-03-25 Thread Pablo Rodriguez
On 3/25/19 11:22 AM, Hans Hagen wrote: > On 3/24/2019 6:14 PM, Pablo Rodriguez wrote: >> [...] >>- /Size >>- /ModDate >>- /Subtype with MIME (as already reported). > those are relatively easy to add without interference Many thanks for your reply, Hans

[dev-context] attachments in PDF/A-3

2019-03-17 Thread Pablo Rodriguez
Dear list, my sample to add attachments to a PDF/A-3 valid document is the following: \setuptagging[state=start] \setupbodyfont[30pt] \setupbackend [format=PDF/A-3a, intent=sRGB IEC61966-2.1, profile={sRGB.icc,default_gray.icc}, level=0]

Re: [dev-context] attachments in PDF/A-3

2019-03-17 Thread Pablo Rodriguez
On 3/17/19 10:24 PM, Hans Hagen wrote: > On 3/17/2019 4:41 PM, Pablo Rodriguez wrote: >> [...] >> These are all the issues veraPDF finds when validating the PDF document >> generated from the source above. > Can you find the place in the official (online) pdf reference

Re: [dev-context] attachments with PDF/A-3

2019-03-13 Thread Pablo Rodriguez
On 3/12/19 9:03 PM, luigi scarso wrote: > [...] > Can we discuss these issues now, or is it better to wait until TeX > Live 2019 has been released? > > it's better to discuss it now. Could be go in context on texlive > 2019 or not, but context users usually update context independently > from

Re: [dev-context] attachments in PDF/A-3

2019-03-18 Thread Pablo Rodriguez
On 3/17/19 11:12 PM, Hans Hagen wrote: > On 3/17/2019 10:51 PM, Pablo Rodriguez wrote: >> On 3/17/19 10:24 PM, Hans Hagen wrote: >>> [...] >>> Can you find the place in the official (online) pdf reference >>> (specification) where this is expl

[dev-context] comment for attachments in PDF/A-3

2019-03-20 Thread Pablo Rodriguez
Hans, I have other comments for embedded files, but I need more time to compose them. Right now I would like to comment an issue with the following source: \setupinteraction[state=start] \starttext \startTEXpage[offset=1em] \attachment[/home/ousia/xml-mkiv.pdf]

[dev-context] attachments with PDF/A-3

2019-03-12 Thread Pablo Rodriguez
Dear list, I have generated a PDF/A-3 compilant document, but as I add attachments the validation from veraPDF warns about errors. There are five issues, which I can document here. Sorry, but I’m afraid I cannot provide patches. Can we discuss these issues now, or is it better to wait until TeX

[dev-context] /AF key for attachments (in PDF/A-3)

2019-05-26 Thread Pablo Rodriguez
Hi Hans, attachments in PDF/A-3 need to be related (as an array) to the document with the /AF key. I already reported this and I think that the most sensible value is to relate them to the document. That would mean to include the /AF key in the /Catalog dictionary. I think this would be the

[dev-context] type key in \setupattachment

2019-06-19 Thread Pablo Rodriguez
Hi Wolfgang, this comes from a previous message from this mailing list (https://mailman.ntg.nl/pipermail/dev-context/2019/003574.html), which I needed a long while to understand . Would it be possible that the \setupattachment command has a "type" key to specify its MIME type? (Default should

[dev-context] utf8 chars in XML tags

2019-05-04 Thread Pablo Rodriguez
Hi Hans, I wonder whether this patch could be applied to buffer-imp-xml-lua: -local name = (patterns.letter + patterns.digit + S('_-.'))^1 +local name = (patterns.letter + patterns.digit + S('_-.') + patterns.utf8two + patterns.utf8three + patterns.utf8four)^1 This would

Re: [dev-context] attachments in PDF/A-3

2019-04-22 Thread Pablo Rodriguez
On 4/4/19 1:20 PM, Hans Hagen wrote: > On 3/17/2019 4:41 PM, Pablo Rodriguez wrote: > >> - Although not reported, the /F value should conform these considerations: >> >> If present, the F key's Print flag bit shall be set to 1 and its >> Hidden, Invisible,

Re: [dev-context] attachments in PDF/A-3

2019-04-22 Thread Pablo Rodriguez
On 4/4/19 1:23 PM, Hans Hagen wrote: > On 3/17/2019 4:41 PM, Pablo Rodriguez wrote: > >> - The /Filespec lacks association with the PDF document or any of its >> parts, such as pages >> (https://github.com/veraPDF/veraPDF-validation-profiles/wiki/PDFA-Parts

[dev-context] sound embedding with APlayer.swf and APlayer9.swf

2019-10-16 Thread Pablo Rodriguez
Hi Hans, I wonder whether it would be possible to add these modified files to ConTeXt. These are needed to: 1. Deploy another SWF player. 2. Be able to stop the sound with a script, instead of being stopped when leaving the page. 3. Add other FlashVars to the SWF player. I don’t know whether

[dev-context] time in downloaded attachments

2020-02-13 Thread Pablo Rodriguez
Hans, would it be possible that "--remote-time" could be added to curl, so that attachments that are downloaded display when they were uploaded and not when they were downloaded? For some reason unknown to me, this seems to have no effect with

Re: [dev-context] Keep extreme tables on the same page as previous content

2020-04-04 Thread Pablo Rodriguez
On 4/4/20 7:29 PM, Alan Braslau wrote: > On 04/04/20 10:55, Pablo Rodriguez wrote: >> >> I’m afraid that the spurious pagebreak comes when you have text before >> the xtable and the xtable has to be split in pages. > > So, when one has text before, why NOT use > \sta

Re: [dev-context] Keep extreme tables on the same page as previous content

2020-04-04 Thread Pablo Rodriguez
On 4/4/20 6:44 PM, Alan Braslau wrote: > On 04/04/20 02:42, Wolfgang Schuster wrote: >> Hi, >> >> when you use extreme tables without a float environment but repeat the >> header the table always starts on a new page. >> >> begin example >> \starttext >> >> \samplefile{weisman} >> >> \blank

[dev-context] typo in command

2020-11-06 Thread Pablo Rodriguez
Hans, I’m afraid that strc-sec.mkxl contains a typo in latest LMTX: --- old/strc-sec.mkxl 2020-11-06 21:16:06.701643562 +0100 +++ new/strc-sec.mkxl 2020-11-06 23:47:40.673938469 +0100 @@ -1144,7 +1144,7 @@ {\ifconditional\c_strc_sectioning_empty % this needs checking

Re: [dev-context] inner item group ignores options

2021-09-09 Thread Pablo Rodriguez
On 9/9/21 1:31 AM, Sylvain Hubert wrote: > Dear ConTeXt Devs, > > I'm not sure if this is an expected behavior or a known issue, but > anyway, I've found that the inner \startitemize ignores margin= and > before= and probably some other options as well: Hi Sylvain, both options are honored in

[dev-context] two minor typos in workflows-hashed.tex

2021-08-08 Thread Pablo Rodriguez
Hans, the diff file contains two corrections for two minor typos. Just in case it might help, Pablo -- http://www.ousia.tk --- workflows/workflows-hashed.tex 2021-08-08 11:31:27.110245096 +0200 +++ workflows-hashed.tex 2021-08-08 11:42:19.737370127 +0200 @@ -11,14 +11,14 @@ In a (basically

[dev-context] minor typo

2021-08-30 Thread Pablo Rodriguez
Hans, I detected a minor typo when searching for JS controlled buttons. Just in case it helps, Pablo -- http://www.ousia.tk --- context/tex/texmf-context/doc/context/sources/general/manuals/interaction/interaction-buttons.tex 2021-08-30 19:19:46.931042016 +0200 +++ interaction-buttons.tex

[dev-context] wrong XML snippet?

2022-05-21 Thread Pablo Rodriguez
Hans, I’m not sure I understand the differences between postion(), match() and and index() [https://www.pragma-ade.com/general/manuals/xml-mkiv.pdf#page=34]. The XML snippet that comes with them only makes sense to me when and have their tags closed. I attach the diff containing what I think

[dev-context] allow non-ASCII chars in scite-xml

2022-06-04 Thread Pablo Rodriguez
Hans, here is a patch, copied from buff-imp-xml.lua, so that XML elements are highlighted when they contain non-ASCII chars. MWE that shows the issue (commenting the first line gives different results): \usemodule[scite] \starttext \startTEXpage[offset=1ex] \type[option=xml]{}

[dev-context] fix for named destinations in URLs

2022-10-16 Thread Pablo Rodriguez
Hi Hans, the attached patch replaces "#" with "^" as autoprefix for named destinations in lpdf.ano (both for MkXL and MkIV). This would allow urls such as https://pdf.ousia.tk/autoprefix.pdf#nameddest=^33 ("#" is a reserved char in urls). Also “PDF Open Parameters” reserves the usage of "#",

[dev-context] named destinations for lists

2022-10-22 Thread Pablo Rodriguez
Hi Hans, unless cheat is removed, named destinations won’t work for lists. \setupinteraction[state=start, focus=standard, prefix=_] \starttext \completecontent \dorecurse{25} {\section{Section} a\footnote{}} \stoptext It think "cheat" is superfluous in strc-lst.lua, since

Re: [dev-context] named destinations for lists

2022-10-24 Thread Pablo Rodriguez
On 10/22/22 17:40, Pablo Rodriguez wrote: > Hi Hans, > [...] > The variable "cheat" seems not to be used elsewhere. Hans, I’m afraid my previous patch was wrong. I totally overlooked the other conditional where "cheat" was in use (in strc-lst.lua). I attach the di

[dev-context] fix for footnote hyperlink

2022-10-14 Thread Pablo Rodriguez
Hi Hans, the patch fixes the regression for internal hyperlinks (footnotes and similar) with current latest (2022.10.14 10:16). This sample shows the issue: \setupinteraction[state=start, focus=standard] \starttext \completecontent \section{section} a\footnote{\contextversion}

[dev-context] three rendition options

2022-12-30 Thread Pablo Rodriguez
Hi Hans, Michal Vlasák send me the attached patch to be able to set volume, opacity and repeat for renditions, such as in: \setupinteraction[state=start] \starttext \null\page \definerenderingwindow[myrenderingwindow] [width=\textwidth, height=\textwidth,

[dev-context] named destinations in lists (MkIV)

2023-04-30 Thread Pablo Rodriguez
Hans, here is a minimal sample: \setupinteraction[state=start, focus=standard] \starttext \completecontent \dorecurse{25} {\section{Section} a\footnote{}} \stoptext Links for lists and notes both honor the standard focus in LMTX, but in MkIV named destinations for links

[dev-context] two modules in mtx-install-imp-modules.lua

2024-02-21 Thread Pablo Rodriguez
Hi Hans, would it be possible to add these two modules to mtx-install-imp-modules.lua? They don’t have top level files anymore: https://modules.contextgarden.net/dl/t-handlecsv/ https://modules.contextgarden.net/dl/presvoz/ Many thanks for your help, Pablo ---

[dev-context] Re: CGModules update: ConTeXt for president version 2023-09-15 published.

2023-12-21 Thread Pablo Rodriguez
On 12/21/23 09:22, Taco Hoekwater wrote: >> On 20 Dec 2023, at 19:57, Pablo Rodriguez wrote: >> [...] >> I’m afraid that I have forced new versions for t-handlecsv and presvoz >> and I get their .zip files, but only with their version numbers. > > Fixed. I also f

[dev-context] Re: CGModules update: ConTeXt for president version 2023-09-15 published.

2023-12-20 Thread Pablo Rodriguez
On 12/20/23 12:16, Taco Hoekwater wrote: > Hi, > > The new module version below is also the first version in which the > modules website internally uses zip archives for GIT and SVN package > version checkouts. This way, we have better integration with the > install-modules script. Many thanks for

[dev-context] enabling single column page view

2024-03-08 Thread Pablo Rodriguez
Hans, it would be extremely useful to have the singlesided value from the option key in \setupinteractionscreen that allows single column page. The attached diff implements this. It allows the page to be displayed in full with. Of course, fit (/FitView) will kill the gain of enabling single