Re: [NTG-context] zint barcode module on LMTX/MacOS

2021-09-05 Thread Michal Vlasák via ntg-context
Hello Hraban, On Sun Sep 5, 2021 at 4:15 PM CEST, Henning Hraban Ramm via ntg-context wrote: > Hi again, > > the LMTX zint module uses libzint, while MkIV calls the zint binary. > The latter works for me, the first not. > > On MacOS, the library is "/opt/local/lib/libzint.dylib"*. > I changed

Re: [NTG-context] zint barcode module on LMTX/MacOS

2021-09-05 Thread Michal Vlasák via ntg-context
On Sun Sep 5, 2021 at 6:30 PM CEST, Henning Hraban Ramm via ntg-context wrote: > > Am 05.09.2021 um 17:51 schrieb Michal Vlasák : > > "execute" should be a function defined in LuaMetaTeX, that internally > > calls zint functions. > > Hm, ok, but where are the zint API calls defined? Sorry, do you

Re: [NTG-context] zint barcode module on LMTX/MacOS

2021-09-05 Thread Michal Vlasák via ntg-context
On Sun Sep 5, 2021 at 7:37 PM CEST, Hans Hagen wrote: > On 9/5/2021 5:51 PM, Michal Vlasák via ntg-context wrote: > > Hello Hraban, > > > "execute" should be a function defined in LuaMetaTeX, that internally > > calls zint functions. > does > > conte

Re: [NTG-context] multimedia PDF in ConTeXt

2021-07-30 Thread Michal Vlasák via ntg-context
On Fri Jul 30, 2021 at 8:53 PM CEST, Pablo Rodriguez via ntg-context wrote: > 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

Re: [NTG-context] multimedia PDF in ConTeXt

2021-07-30 Thread Michal Vlasák via ntg-context
On Fri Jul 30, 2021 at 8:53 PM CEST, Pablo Rodriguez via ntg-context wrote: > 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

Re: [NTG-context] JavaScript in multimedia PDF

2021-08-08 Thread Michal Vlasák via ntg-context
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.media.openPlayer", but the code is copied > from the documentation Adobe released early this year. Is

Re: [NTG-context] ECMAscript

2021-08-07 Thread Michal Vlasák via ntg-context
On Sat Aug 7, 2021 at 9:57 AM CEST, Henning Hraban Ramm via ntg-context wrote: > for running the ECMAscript part of the CG journal, I cloned the repo > from https://github.com/ccxvii/mujs/ and executed "make release". > I copied the resulting files to my TeX tree: > > ll

Re: [NTG-context] JavaScript in multimedia PDF

2021-08-10 Thread Michal Vlasák via ntg-context
On Mon Aug 9, 2021 at 8:32 AM CEST, Pablo Rodriguez via ntg-context wrote: > On 8/8/21 11:00 PM, Michal Vlasák via ntg-context wrote: > > Is there a newer document than "JavaScript for Acrobat API Reference" > > (May 2015)? > > Well, the link you provided > (ht

Re: [NTG-context] JavaScript in multimedia PDF

2021-08-11 Thread Michal Vlasák via ntg-context
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 ... easilly goes unnoticed ... thanks To put credit where its due,

Re: [NTG-context] JavaScript in multimedia PDF

2021-08-11 Thread Michal Vlasák via ntg-context
More context is in previous messages, but here is the patch for ConTeXt to make scripting multimedia possible: --- a/tex/context/base/mkxl/lpdf-wid.lmt +++ b/tex/context/base/mkxl/lpdf-wid.lmt @@ -649,6 +649,7 @@ local function insertrenderingwindow(specification) Subtype

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

2021-10-19 Thread Michal Vlasák via ntg-context
On Tue Oct 19, 2021 at 8:51 PM CEST, Pablo Rodriguez via ntg-context wrote: > 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: > > > > >

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

2021-10-19 Thread Michal Vlasák via ntg-context
On Tue Oct 19, 2021 at 5:47 PM CEST, Pablo Rodriguez via ntg-context wrote: > 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

Re: [NTG-context] upload

2021-10-22 Thread Michal Vlasák via ntg-context
Hello, On Thu Oct 21, 2021 at 8:04 PM CEST, Hans Hagen via ntg-context wrote: > 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

Re: [NTG-context] Any initial thoughts on luau?

2021-11-06 Thread Michal Vlasák via ntg-context
On Fri Nov 5, 2021 at 9:14 PM CET, Hans Hagen via ntg-context wrote: > On 11/5/2021 6:23 PM, Ramkumar KB via ntg-context wrote: > > Hello, > > > > Yesterday, Roblox announced - Luau - https://luau-lang.org/why > > - mainly adding linting and > > type-checking features.

Re: [NTG-context] Archlinux: updated BPKGBUILD for luametatex

2021-12-15 Thread Michal Vlasák via ntg-context
On Wed Dec 15, 2021 at 7:28 PM CET, Hans Hagen via ntg-context wrote: > On 12/15/2021 6:22 PM, Aditya Mahajan via ntg-context wrote: > > Hi all, > > > > I am changing the way modules are installed in the ArchLinux aur package > > for luametatex. > > > >

Re: [NTG-context] Archlinux: updated BPKGBUILD for luametatex

2021-12-15 Thread Michal Vlasák via ntg-context
On Wed Dec 15, 2021 at 9:32 PM CET, Aditya Mahajan via ntg-context wrote: > > > i never came to a 'download option' because it was ot clear where to > > > download from .. are there zips? > > > > Not sure if it's for every package, but should be just > > > > "http://mirrors.ctan.org/; ..

Re: [NTG-context] Multimedia, PDF and ConTeXt

2021-07-27 Thread Michal Vlasák via ntg-context
On Tue Jul 27, 2021 at 8:54 AM CEST, Hans Hagen wrote: > On 7/27/2021 12:49 AM, Michal Vlasák via ntg-context wrote: > > > The viewers I tested were: Acrobat Reader DC, Foxit Reader, Sumatra PDF > > on Windows and Evince, Okular, Xpdf, MuPDF, Firefox and Google Chrome on >

[NTG-context] Multimedia, PDF and ConTeXt

2021-07-26 Thread Michal Vlasák via ntg-context
Dear ConTeXt community, recently, as part of my bachelor thesis, I looked into the state of multimedia (audio, video, 3D) and other relatively obscure PDF features, with the connection to TeX. I already put off this write up long enough. Hopefully it clarifies things that might influence the

Re: [NTG-context] Setting up zint on a mac with macOS Montery Version 12.3.1

2022-05-30 Thread Michal Vlasák via ntg-context
On Mon May 30, 2022 at 8:19 PM CEST, Jan-Erik Hägglöf via ntg-context wrote: > With latest LMTX installed on my Monterey intel MacBook Air and Zint version > 2.11 > > optional> using library > '/Users/janneman/CTX/tex/texmf-osx-64/bin/lib/luametatex/zint/libzint.so' > zint>

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-24 Thread Michal Vlasák via ntg-context
On Tue Aug 23, 2022 at 3:11 AM CEST, Max Chernoff wrote: > > On Sunday, August 21st, 2022 at 7:13 PM, Michal Vlasák > gmail.com> wrote: > > > > > > There is documentation about how it can be used. I hope its obvious how > > > I got "texmf" (texmf-context.zip, unzip, delete some files I didn't

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-24 Thread Michal Vlasák via ntg-context
On Wed Aug 24, 2022 at 11:32 PM CEST, Hans Hagen wrote: > On 8/24/2022 10:21 PM, Michal Vlasák via ntg-context wrote: > > > Or rather no solution would be needed at all, since the "mtxrun" and > > "context" wrapper commands and "texmfcnf.lua" files

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-21 Thread Michal Vlasák via ntg-context
On Mon Aug 15, 2022 at 2:03 PM CEST, amano.kenji via ntg-context wrote: > TexLive has texmfcnf.lua that doesn't really work with texlive-context > installed by linux distributions. > > Arch Linux has its own patched version of texmfcnf.lua. > > It seems I'd be better off with a linux package for

Re: [NTG-context] zint module on LMTX

2022-09-04 Thread Michal Vlasák via ntg-context
On Sun Sep 4, 2022 at 1:25 PM CEST, Hans Hagen via ntg-context wrote: > although i don't like top do it i cloned the zint repos and tried to > compile (after migrating the proj file to vs2022) but it fails on some > png.h file missing and i see no way to disable png) Sorry, I don't have native

Re: [NTG-context] zint module on LMTX

2022-09-04 Thread Michal Vlasák via ntg-context
On Sun Sep 4, 2022 at 11:59 AM CEST, Ivan Pešić via ntg-context wrote: > Дана 04.09.2022. у 12:36, ntg-context-requ...@ntg.nl пише: > > looks like the library is loaded ... so what is your test > > we don't do png, we do outlines (actually native zint graphic structures > that we then convert

Re: [NTG-context] question about multimedia renderings

2023-01-15 Thread Michal Vlasák via ntg-context
On Sun Jan 15, 2023 at 10:49 PM CET, Pablo Rodriguez via ntg-context wrote: > Dear list, > > I’m planning to add an explanation about multimedia inclusion to the > wiki, but first I wanted to discuss an issue I have found. > > I have the following sample (adapted from scrn-wid.mklx): > >