Re: [NTG-context] \ctxlua and \startluacode ... \stopluacode

2019-10-14 Thread Rudolf Bahr
On Mon, Oct 14, 2019 at 09:26:58PM +0200, Taco Hoekwater wrote: > Hi, > > > On 14 Oct 2019, at 21:08, Rudolf Bahr wrote: > > > > > > 2. But in the case of an not existing file (BBB.lua) the known error > > message comes up > > again: > > "token call, execute: [ctxlua]:8:

Re: [NTG-context] PDF viewer poll

2019-10-14 Thread Alan Braslau
On Sun, 13 Oct 2019 12:43:14 +0200 Henning Hraban Ramm wrote: > Hi, I’d like to update my list of (usable!) PDF viewers. > Which one do you use? (Current version?) On Mac OS, there is skim, which has better features than preview but uses the same Apple rendering engine (with all of its bugs).

Re: [NTG-context] PDF viewer poll

2019-10-14 Thread Henning Hraban Ramm
Thank you all for you valuable insights so far! I’ll compile them to a wiki page and also complete the list in my upcoming book. > Am 2019-10-14 um 11:17 schrieb Hans Hagen : > > When developing pdf specific code (like last months) I do use acrobat reader > and an older acrobat x (which keeps

Re: [NTG-context] PDF viewer poll

2019-10-14 Thread Otared Kavian
> On 13 Oct 2019, at 12:43, Henning Hraban Ramm wrote: > > Hi, I’d like to update my list of (usable!) PDF viewers. > Which one do you use? (Current version?) Hi Hraban, I am on MacOS and use the PDF viewer included in TeXShop (which is based on Preview.app of MacOS). For my presentations I

Re: [NTG-context] PDF viewer poll

2019-10-14 Thread Hamid,Idris
Hi Henning, all, On Sun, 13 Oct 2019 04:43:14 -0600, Henning Hraban Ramm wrote: > Hi, I’d like to update my list of (usable!) PDF viewers. > Which one do you use? (Current version?) > What are its pros and cons? > Is it free (open source, freeware)? > Does it work on Win/Lin/Mac? > Does it

Re: [NTG-context] PDF viewer poll

2019-10-14 Thread denis.maier
SumtraPDF on Windows Easy, fast, quite basic. (I take this as an advantage) Interface is localized. Forms: don't know Free Synctex: Don't need it at the moment, but the documentation says it should be supported Updates automatically Hope this helps, Denis -Ursprüngliche Nachricht-

Re: [NTG-context] PDF viewer poll

2019-10-14 Thread Taco Hoekwater
Hi, > On 13 Oct 2019, at 12:43, Henning Hraban Ramm wrote: > > Hi, I’d like to update my list of (usable!) PDF viewers. > Which one do you use? (Current version?) Preview.App (Mac) — since it is fast and the MacOS default. But it does not handle anything well except the actual page display.

Re: [NTG-context] PDF viewer poll

2019-10-14 Thread Hans Hagen
On 10/13/2019 12:43 PM, Henning Hraban Ramm wrote: Hi, I’d like to update my list of (usable!) PDF viewers. Which one do you use? (Current version?) What are its pros and cons? Is it free (open source, freeware)? Does it work on Win/Lin/Mac? Does it have a localized interface? (I don’t care, but

[NTG-context] how to do adaptation

2019-10-14 Thread Susanne G. Loeber
Hi, I am looking for ways to adapt the layout and content of texts while using ConTeXt. Put simple: show part of a text and sort these parts based on data from the user and the author (.dat file). The biggest problem is not knowing which part of the text will be first and how many parts will be

Re: [NTG-context] PDF viewer poll

2019-10-14 Thread Greedwolf DSS
Henning Hraban Ramm writes: pdf-tools in Emacs is well. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

[NTG-context] my own fault (was: Re: LMTX: Linux and Windows)

2019-10-14 Thread Pablo Rodriguez
On 10/12/19 2:28 PM, Pablo Rodriguez wrote: > [...] > Using beta from 2019.10.10 in Windows, LMTX doesn’t find vplayer9.swf > (https://mirrors.ctan.org/macros/latex/contrib/media9/players/VPlayer9.swf), > altough it is in the same directory as the ConTeXt source file being > compiled. > > Does

Re: [NTG-context] \ctxlua and \startluacode ... \stopluacode

2019-10-14 Thread Taco Hoekwater
Hi, > On 14 Oct 2019, at 21:08, Rudolf Bahr wrote: > > > 2. But in the case of an not existing file (BBB.lua) the known error message > comes up > again: > "token call, execute: [ctxlua]:8: /home/sam/context-tests/BBB.lua: No such > file or >directory". >This, of course, is

[NTG-context] RE : \ctxlua and \startluacode ... \stopluacode

2019-10-14 Thread Joseph
I suspect the double quotes are part of file names, hence files cannot be found. Perhaps try remove them in macro argument. Hope this helps De : Rudolf Bahr Envoyé le :lundi 14 octobre 2019 18:50 À : ntg-context@ntg.nl Objet :[NTG-context] \ctxlua and \startluacode ... \stopluacode Dear List!

Re: [NTG-context] \ctxlua and \startluacode ... \stopluacode

2019-10-14 Thread Rudolf Bahr
On Mon, Oct 14, 2019 at 07:19:53PM +0200, Hans Hagen wrote: > On 10/14/2019 6:50 PM, Rudolf Bahr wrote: > > THis MWE must be faulty, but where is the error? > > > > > > > > \startluacode > > > > userdata = userdata or {} > > > > function

Re: [NTG-context] \ctxlua and \startluacode ... \stopluacode

2019-10-14 Thread Taco Hoekwater
Hi, > On 14 Oct 2019, at 18:51, Rudolf Bahr wrote: > >  > Dear List! > > THis MWE must be faulty, but where is the error? > > === > \lookupfile{"$HOME/context-tests/AAA.lua"}% "AAA.lua" intentionally does > exist $HOME is an actual

Re: [NTG-context] \ctxlua and \startluacode ... \stopluacode

2019-10-14 Thread Hans Hagen
On 10/14/2019 6:50 PM, Rudolf Bahr wrote: Dear List! THis MWE must be faulty, but where is the error? \startluacode userdata = userdata or {} function userdata.file_exists (name) local name = name local f= assert ( io.open (

[NTG-context] \ctxlua and \startluacode ... \stopluacode

2019-10-14 Thread Rudolf Bahr
Dear List! THis MWE must be faulty, but where is the error? \startluacode userdata = userdata or {} function userdata.file_exists (name) local name = name local f= assert ( io.open ( name, "r" )) if f then f:close ()

Re: [NTG-context] how to do adaptation

2019-10-14 Thread Wolfgang Schuster
Susanne G. Loeber schrieb am 14.10.2019 um 15:16: Hi, I am looking for ways to adapt the layout and content of texts while using ConTeXt. Put simple: show part of a text and sort these parts based on data from the user and the author (.dat file). The biggest problem is not knowing which part of