Re: [NTG-context] externalfigure broken with 20190222 beta

2019-02-23 Thread Hans Hagen
On 2/24/2019 12:25 AM, mf wrote: BTW \startsidebar ... \stopsidebar stopped working too. i'll upload a fix later today Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061

Re: [NTG-context] externalfigure broken with 20190222 beta

2019-02-23 Thread mf
BTW \startsidebar ... \stopsidebar stopped working too. Massimiliano Il 23/02/19 21:58, Hans Hagen ha scritto: On 2/23/2019 5:10 PM, Rik Kabel wrote: With the following example, I get: ...eXt/tex/texmf-context/tex/context/base/mkiv/grph-inc.lua:238: attempt to call upvalue 'imgwrap' (a nil

Re: [NTG-context] When newsizing an external figure bei [width=], what will be its height in pt and viceversa?

2019-02-23 Thread Jeong Dal
Dear Rudolf, It is working for me. Using my figure, I got (45126287sp,31048991sp) (1372,944) As Hans said, either change ~ to some path or set the directory of externalfigure. Best regards, Dalyoung > 2019. 2. 24. 오전 5:58, ntg-context-requ...@ntg.nl 작성: > > I fear it doesn't work. I

Re: [NTG-context] externalfigure broken with 20190222 beta

2019-02-23 Thread Hans Hagen
On 2/23/2019 5:10 PM, Rik Kabel wrote: With the following example, I get: ...eXt/tex/texmf-context/tex/context/base/mkiv/grph-inc.lua:238: attempt to call upvalue 'imgwrap' (a nil value) with the current (20190222) beta. \setupexternalfigures[location=default] \starttext

Re: [NTG-context] externalfigure broken with 20190222 beta

2019-02-23 Thread Rudolf Bahr
On Sat, Feb 23, 2019 at 11:10:42AM -0500, Rik Kabel wrote: > With the following example, I get: > >...eXt/tex/texmf-context/tex/context/base/mkiv/grph-inc.lua:238: attempt > to call upvalue 'imgwrap' (a nil value) > > with the current (20190222) beta. > >

Re: [NTG-context] em-dash ligature is converted to en-dash in the generic fontloader

2019-02-23 Thread Hans Hagen
On 2/23/2019 4:30 PM, Ulrike Fischer wrote: Am Sat, 23 Feb 2019 15:55:53 +0100 schrieb Hans Hagen: As reported on the dev-luatex list --- is converted to an en-dash (instead of em-dash) if there are no spaces around the ---. in context we set: \automatichyphenmode=1 This solves the

[NTG-context] externalfigure broken with 20190222 beta

2019-02-23 Thread Rik Kabel
With the following example, I get: ...eXt/tex/texmf-context/tex/context/base/mkiv/grph-inc.lua:238: attempt to call upvalue 'imgwrap' (a nil value) with the current (20190222) beta. \setupexternalfigures[location=default] \starttext \externalfigure[cow.pdf] \stoptext Down for

Re: [NTG-context] em-dash ligature is converted to en-dash in the generic fontloader

2019-02-23 Thread Ulrike Fischer
Am Sat, 23 Feb 2019 15:55:53 +0100 schrieb Hans Hagen: >> As reported on the dev-luatex list --- is converted to an en-dash >> (instead of em-dash) if there are no spaces around the ---. > in context we set: > \automatichyphenmode=1 This solves the problem and after some pondering over the

Re: [NTG-context] em-dash ligature is converted to en-dash in the generic fontloader

2019-02-23 Thread Hans Hagen
On 2/23/2019 1:50 PM, Ulrike Fischer wrote: As reported on the dev-luatex list --- is converted to an en-dash (instead of em-dash) if there are no spaces around the ---. We could now reproduce the problem also with the generic fontloader: it appears only with mode=node. I'm using the files from

[NTG-context] em-dash ligature is converted to en-dash in the generic fontloader

2019-02-23 Thread Ulrike Fischer
As reported on the dev-luatex list --- is converted to an en-dash (instead of em-dash) if there are no spaces around the ---. We could now reproduce the problem also with the generic fontloader: it appears only with mode=node. I'm using the files from 2019-02-14, but the problem appeared first in

Re: [NTG-context] When newsizing an external figure bei [width=], what will be its height in pt and viceversa?

2019-02-23 Thread Hans Hagen
On 2/23/2019 12:37 PM, Rudolf Bahr wrote: On Sat, Feb 23, 2019 at 11:56:32AM +0100, Hans Hagen wrote: On 2/23/2019 11:08 AM, Rudolf Bahr wrote: On Fri, Feb 22, 2019 at 12:59:55PM +0100, Peter Münster wrote: On Fri, Feb 22 2019, Rudolf Bahr wrote: The picture sizes in px One gets by invoking

Re: [NTG-context] When newsizing an external figure bei [width=], what will be its height in pt and viceversa?

2019-02-23 Thread Rudolf Bahr
On Sat, Feb 23, 2019 at 11:56:32AM +0100, Hans Hagen wrote: > On 2/23/2019 11:08 AM, Rudolf Bahr wrote: > > On Fri, Feb 22, 2019 at 12:59:55PM +0100, Peter Münster wrote: > > > On Fri, Feb 22 2019, Rudolf Bahr wrote: > > > > > > > The picture sizes in px One gets by invoking for instance graphics

Re: [NTG-context] When newsizing an external figure bei [width=], what will be its height in pt and viceversa?

2019-02-23 Thread Hans Hagen
On 2/23/2019 11:08 AM, Rudolf Bahr wrote: On Fri, Feb 22, 2019 at 12:59:55PM +0100, Peter Münster wrote: On Fri, Feb 22 2019, Rudolf Bahr wrote: The picture sizes in px One gets by invoking for instance graphics Magick's identify in a lua program: Or just img.scan(): \startluacode

Re: [NTG-context] When newsizing an external figure bei [width=], what will be its height in pt and viceversa?

2019-02-23 Thread Rudolf Bahr
On Fri, Feb 22, 2019 at 12:59:55PM +0100, Peter Münster wrote: > On Fri, Feb 22 2019, Rudolf Bahr wrote: > > > The picture sizes in px One gets by invoking for instance graphics Magick's > > identify > > in a lua program: > > Or just img.scan(): > > \startluacode > local image =

Re: [NTG-context] cross references to chapters in a book

2019-02-23 Thread Wolfgang Schuster
Robert Zydenbos schrieb am 22.02.19 um 22:13: Still nicer would be the following, but I do not know whether this is technically possible – I have the following text: % start of example: in chapter 4, pp. 38, I have \subject [wild-stuff]{Wild stuff} Now comes a lot of weird stuff which I want

Re: [NTG-context] cross references to chapters in a book

2019-02-23 Thread Wolfgang Schuster
Robert Zydenbos schrieb am 22.02.19 um 22:04: Hmm… although I got your example to work after some tweaking (changing \samplefile to {input and placing knuth.tex and zapf.tex in the same folder as the test file), I could not reproduce this with my book. I want to get "chapter 4" but keep