Re: [NTG-context] TeX Live 2019: attempt to call a nil value (upvalue 'isfile')

2019-02-28 Thread luigi scarso
On Fri, Mar 1, 2019 at 8:16 AM Mojca Miklavec < mojca.miklavec.li...@gmail.com> wrote: > On Fri, 1 Mar 2019 at 07:39, Mojca Miklavec wrote: > > On Fri, 1 Mar 2019 at 00:14, Henri Menke wrote: > > > > > > Dear list, > > > > > > I just installed TeX Live 2019 pretest and running context --make >

Re: [NTG-context] TeX Live 2019: attempt to call a nil value (upvalue 'isfile')

2019-02-28 Thread Mojca Miklavec
On Fri, 1 Mar 2019 at 07:39, Mojca Miklavec wrote: > On Fri, 1 Mar 2019 at 00:14, Henri Menke wrote: > > > > Dear list, > > > > I just installed TeX Live 2019 pretest and running context --make fails with > , > The latest ConTeXt has just been included yesterday and should be > available since

Re: [NTG-context] TeX Live 2019: attempt to call a nil value (upvalue 'isfile')

2019-02-28 Thread Mojca Miklavec
On Fri, 1 Mar 2019 at 00:14, Henri Menke wrote: > > Dear list, > > I just installed TeX Live 2019 pretest and running context --make fails with , The latest ConTeXt has just been included yesterday and should be available since today (some time after the usual nightly update cca. 5 hours ago +

Re: [NTG-context] Search path for typescripts

2019-02-28 Thread Aditya Mahajan
On Thu, 28 Feb 2019, Rik Kabel wrote: List, What is the proper place to put a custom typescript file to make it accessible to multiple projects? For testing I placed copies in" 1) the local directory 2) /texmf/fonts 3) /tex/texmf-local/fonts/ A typescript file is simply a tex file, so

[NTG-context] Search path for typescripts

2019-02-28 Thread Rik Kabel
List, What is the proper place to put a custom typescript file to make it accessible to multiple projects? For testing I placed copies in" 1) the local directory 2) /texmf/fonts 3) /tex/texmf-local/fonts/ A standard version (uncustomized) exists as part of the distribution in: 4)

Re: [NTG-context] Modes and conditional part of the source

2019-02-28 Thread Hans Hagen
On 2/28/2019 11:29 AM, Procházka Lukáš Ing. wrote: Hello, I'm struggling with using modes to make a part of the text conditional. Here is my code: \def\b#1{\startmode[#1]} \def\e{\stopmode} % \enablemode[100] % For optional usage \starttext   A   \b{100} % Should be start of some

Re: [NTG-context] Output problem with nodes.toutf utility function(latest beta 02.26.2019)

2019-02-28 Thread Hans Hagen
On 2/28/2019 11:21 PM, Joseph Canedo wrote: Yes, that’s correct, and that’s what I see in pdf. When I use nodes.toutf I suspect that now output in log file is no longer decomposed in T + h chars but it’s the Unicode char corresponding to Th ligature which editor font does not have glyph for.

Re: [NTG-context] TeX Live 2019: attempt to call a nil value (upvalue 'isfile')

2019-02-28 Thread luigi scarso
On Fri, Mar 1, 2019 at 12:17 AM Henri Menke wrote: > Hm, it looks like the macro code hasn't been updated from 2018 yet, because > after fixing isfile it crashes when trying to load the old pdfe library. > > seems so. I have just tested luatex 1.10 against the latest zip and it's all ok. --

Re: [NTG-context] TeX Live 2019: attempt to call a nil value (upvalue 'isfile')

2019-02-28 Thread Henri Menke
Hm, it looks like the macro code hasn't been updated from 2018 yet, because after fixing isfile it crashes when trying to load the old pdfe library. Cheers, Henri On 1/03/19 12:14 PM, Henri Menke wrote: > Dear list, > > I just installed TeX Live 2019 pretest and running context --make fails

[NTG-context] TeX Live 2019: attempt to call a nil value (upvalue 'isfile')

2019-02-28 Thread Henri Menke
Dear list, I just installed TeX Live 2019 pretest and running context --make fails with error in callback: ...xlive/2019/texmf-dist/tex/context/base/mkiv/luat-cod.lua:194: attempt to call a nil value (upvalue 'isfile') This can easily be fixed by replacing in luat-cod.lua local

Re: [NTG-context] Output problem with nodes.toutf utility function(latest beta 02.26.2019)

2019-02-28 Thread Joseph Canedo
Yes, that’s correct, and that’s what I see in pdf. When I use nodes.toutf I suspect that now output in log file is no longer decomposed in T + h chars but it’s the Unicode char corresponding to Th ligature which editor font does not have glyph for. Apparently in previous versions the

Re: [NTG-context] util-sha.lua misbehaving?

2019-02-28 Thread Hans Hagen
On 2/28/2019 6:46 PM, Pablo Rodriguez wrote: Dear list, Could anyone tell me what I am missing here? it's bug in the engine ... as a workaround you can uncomment th etop lines in util-sha and fall back on pure lua Hans -

Re: [NTG-context] How to define a new language?

2019-02-28 Thread Paul Hoffman
On Thu, Feb 28, 2019 at 06:19:24PM +0100, Wolfgang Schuster wrote: > Paul Hoffman schrieb am 27.02.19 um 23:05: > >I'm trying to define a new language for use in a bilingual document, but > >my hyphenation patterns are being ignored and I'm sure I must be doing > >something wrong. > > For which

[NTG-context] util-sha.lua misbehaving?

2019-02-28 Thread Pablo Rodriguez
Dear list, I have the following sample: \startluacode function document.capture(cmd, raw) local f = assert(io.popen(cmd, 'r')) local s = assert(f:read('*a')) f:close() if raw then return s end s = string.gsub(s, '^%s+', '') s =

Re: [NTG-context] Distance between two Columns

2019-02-28 Thread Wolfgang Schuster
Ursula Hermann schrieb am 28.02.19 um 11:43: Dear List! I have the following example. I would like to have two columns that are in the distance small. So I have tried: \setuppapersize[A5] \startcolumns \defineframed    [tightframed][width=5cm,width.1\textwidth,align=right]

Re: [NTG-context] How to define a new language?

2019-02-28 Thread Wolfgang Schuster
Paul Hoffman schrieb am 27.02.19 um 23:05: I'm trying to define a new language for use in a bilingual document, but my hyphenation patterns are being ignored and I'm sure I must be doing something wrong. For which Language do you need patterns? Did you try to contact Arthur or Mojca to add

Re: [NTG-context] How to define a new language?

2019-02-28 Thread Paul Hoffman
On Wed, Feb 27, 2019 at 05:05:05PM -0500, Paul Hoffman wrote: > I'm trying to define a new language for use in a bilingual document, but > my hyphenation patterns are being ignored and I'm sure I must be doing > something wrong. Never mind, I solved the problem. I'll describe what I did here,

Re: [NTG-context] Modes and conditional part of the source

2019-02-28 Thread Procházka Lukáš Ing .
Hello Aditya, thanks for the code, I'll try something like that. Best regards, Lukas On Thu, 28 Feb 2019 12:54:06 +0100, Aditya Mahajan wrote: On Thu, 28 Feb 2019, Procházka Lukáš Ing. wrote: Hello, I'm struggling with using modes to make a part of the text conditional. Here is my

Re: [NTG-context] Modes and conditional part of the source

2019-02-28 Thread Aditya Mahajan
On Thu, 28 Feb 2019, Procházka Lukáš Ing. wrote: Hello, I'm struggling with using modes to make a part of the text conditional. Here is my code: \def\b#1{\startmode[#1]} \def\e{\stopmode} % \enablemode[100] % For optional usage \starttext A \b{100} % Should be start of some

Re: [NTG-context] Distance between two Columns

2019-02-28 Thread Marco Patzer
On Thu, 28 Feb 2019 10:43:48 + Ursula Hermann wrote: > I have the following example. I would like to have two columns that > are in the distance small. I'm not sure if I understand you correctly. You want to change the distance between the columns? That can be done with: \setupcolumns

[NTG-context] Distance between two Columns

2019-02-28 Thread Ursula Hermann
Dear List! I have the following example. I would like to have two columns that are in the distance small. So I have tried: \setuppapersize[A5] \startcolumns \defineframed [tightframed][width=5cm,width.1\textwidth,align=right] \tightframed{Small} \column \tightframed{A really really long line

[NTG-context] Modes and conditional part of the source

2019-02-28 Thread Procházka Lukáš Ing .
Hello, I'm struggling with using modes to make a part of the text conditional. Here is my code: \def\b#1{\startmode[#1]} \def\e{\stopmode} % \enablemode[100] % For optional usage \starttext A \b{100} % Should be start of some conditional text from here ... B \e % ... to here