Re: [NTG-context] Cannot access Lua function

2021-11-01 Thread Aditya Mahajan via ntg-context
On Sun, 31 Oct 2021, Hans Hagen via ntg-context wrote: > in that case you probably need to hide more .. (when you process with > \nopdfcompression at the top you can look in the pdf, i.e. compression > is not encryption > > one thing you can do is make a copy of lpdf-xmp.lmt and wipe all

Re: [NTG-context] SyncTeX setup

2021-11-01 Thread Hans Hagen via ntg-context
On 10/31/2021 11:31 AM, Henning Hraban Ramm via ntg-context wrote: Hi, has anyone a working SyncTeX setup with ConTeXt LMTX for anything else than TeXshop? With LaTeX, it works for me with Skim (+ Atom/Textadept/TeXworks) and TeXstudio. And in TeXshop we got our own parser. But can we expect

Re: [NTG-context] \doifinstring: strange characters on the output

2021-11-01 Thread Hans Hagen via ntg-context
On 10/31/2021 11:53 PM, Tomas Hala via ntg-context wrote: I would like to ask what is the cause of this behavior and how to use the \doifinstring to prevent the "fbf@" on the output. btw, you can prevent it by using lmtx Hans -

Re: [NTG-context] \doifinstring: strange characters on the output

2021-11-01 Thread Hans Hagen via ntg-context
On 10/31/2021 11:53 PM, Tomas Hala via ntg-context wrote: Hi all, I noticed that \doifinstring produces quite strange output if a command follows immediately (or with any amount of spaces) after the substring I am searching for: -MWE \starttext \def\xxx{asdf

Re: [NTG-context] check installed program using Lua

2021-11-01 Thread Hans Hagen via ntg-context
On 11/1/2021 2:26 PM, Pablo Rodriguez via ntg-context wrote: Dear list, is there a way if a program is installed on the computer using Lua. I have the following sample: \starttext \startluacode filename = tex.jobname .. ".pdf" os.exec("dir " .. filename) \stopluacode

Re: [NTG-context] check installed program using Lua

2021-11-01 Thread Taco Hoekwater via ntg-context
> On 1 Nov 2021, at 14:26, Pablo Rodriguez via ntg-context > wrote: > > Dear list, > > is there a way if a program is installed on the computer using Lua. > > I have the following sample: > > \starttext > \startluacode > filename = tex.jobname .. ".pdf" > os.exec("dir " .. filename) >

[NTG-context] check installed program using Lua

2021-11-01 Thread Pablo Rodriguez via ntg-context
Dear list, is there a way if a program is installed on the computer using Lua. I have the following sample: \starttext \startluacode filename = tex.jobname .. ".pdf" os.exec("dir " .. filename) \stopluacode \stoptext Is there a way to wrap os.exec() in the sample so that it only

Re: [NTG-context] \externafigure and \at do not work together

2021-11-01 Thread Wolfgang Schuster via ntg-context
Otared Kavian via ntg-context schrieb am 31.10.2021 um 18:11: Hi, Your example has two issues, since you invoke \externalfigure before \starttext, and moreover you don’t use the place figure mechanism. The following gives the result you want: \setupinteraction[state=start] \starttext

Re: [NTG-context] Color profiles (was: Bloody PDF boxes)

2021-11-01 Thread Henning Hraban Ramm via ntg-context
> Am 01.11.2021 um 08:58 schrieb Henning Hraban Ramm via ntg-context > : > > And it seems like GWG is in conflict with the PDF association, at least GWG’s > recommendations contradict PDF/X. GWG doesn’t want to contradict but has a quality focus, see

Re: [NTG-context] Color profiles (was: Bloody PDF boxes)

2021-11-01 Thread Henning Hraban Ramm via ntg-context
> Am 01.11.2021 um 08:05 schrieb Floris van Manen via ntg-context > : > > this document: >> and also extendedhttps://wiki.contextgarden.net/PDFX a bit. > > contains a link to the Ghent Workshop that returns a 404 > > [here] -> http://www.gwg.org/recommended_ICC_profiles.phtm -> 404 Thank

Re: [NTG-context] Bloody PDF boxes and cr*p marks!

2021-11-01 Thread Floris van Manen via ntg-context
On 30/10/2021 21:21, Henning Hraban Ramm via ntg-context wrote: this document: and also extendedhttps://wiki.contextgarden.net/PDFX a bit. contains a link to the Ghent Workshop that returns a 404 Special thanks must go to the Ghent PDF Workgroup (GWG) for making a list of recommended