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 Hans Hagen via ntg-context
Hi -Type = pdfconstant(MediaPermissions), +Type = pdfconstant("MediaPermissions"), That's an interesting one ... easilly goes unnoticed ... thanks Hans -

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] 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. > > Sorry, in the last mail I forgot to

Re: [NTG-context] Create an enumeration style

2021-08-11 Thread Otared Kavian via ntg-context
> On 11 Aug 2021, at 10:19, Thomas A. Schmitz via ntg-context > wrote: > > >> On 11. Aug 2021, at 10:09, Otared Kavian via ntg-context >> wrote: >> >> Thanks for the example and the fix, but I would rather think that the « >> french » part of ordinals should be >> >> french =

Re: [NTG-context] Create an enumeration style

2021-08-11 Thread Fabrice Couvreur via ntg-context
I forgot this : how to reduce the font size for the exponents "er", "e" ? Thanks Fabrice Le mer. 11 août 2021 à 12:41, Fabrice Couvreur a écrit : > Hi Wolfgang, > Many thanks > Fabrice > > Le mer. 11 août 2021 à 10:23, Hans Hagen via ntg-context < > ntg-context@ntg.nl> a écrit : > >> On

Re: [NTG-context] Create an enumeration style

2021-08-11 Thread Fabrice Couvreur via ntg-context
Hi Wolfgang, Many thanks Fabrice Le mer. 11 août 2021 à 10:23, Hans Hagen via ntg-context a écrit : > On 8/11/2021 10:09 AM, Otared Kavian via ntg-context wrote: > > > > > >> On 9 Aug 2021, at 18:10, Wolfgang Schuster via ntg-context < > ntg-context@ntg.nl> wrote: > >> (…) > >> core-con.lua

Re: [NTG-context] Create an enumeration style

2021-08-11 Thread Hans Hagen via ntg-context
On 8/11/2021 10:09 AM, Otared Kavian via ntg-context wrote: On 9 Aug 2021, at 18:10, Wolfgang Schuster via ntg-context wrote: (…) core-con.lua (line 1155): local ordinals = { [...] french = function(n) if n == 1 then return "er" + else +

Re: [NTG-context] Create an enumeration style

2021-08-11 Thread Thomas A. Schmitz via ntg-context
> On 11. Aug 2021, at 10:09, Otared Kavian via ntg-context > wrote: > > Thanks for the example and the fix, but I would rather think that the « > french » part of ordinals should be > > french = function(n) > if n == 1 then > return « er" >

Re: [NTG-context] Create an enumeration style

2021-08-11 Thread Otared Kavian via ntg-context
> On 9 Aug 2021, at 18:10, Wolfgang Schuster via ntg-context > wrote: > (…) > core-con.lua (line 1155): > > local ordinals = { > [...] > french = function(n) > if n == 1 then > return "er" > + else > + return "e" > end > end, > } Hi