Re: [NTG-context] Bug (?) using \externalfigure with layers and backgrounds

2020-12-03 Thread Jairo A. del Rio
Oh, I see. Nice, thank you a lot. Jairo :) El jue, 3 de dic. de 2020 a la(s) 12:19, Wolfgang Schuster ( wolfgang.schuster.li...@gmail.com) escribió: > Jairo A. del Rio schrieb am 03.12.2020 um 18:14: > > Hi everyone. The following > > > > \setuppagenumbering[state=stop] > > \definelayer[mybg] >

Re: [NTG-context] Bug (?) using \externalfigure with layers and backgrounds

2020-12-03 Thread Wolfgang Schuster
Jairo A. del Rio schrieb am 03.12.2020 um 18:14: Hi everyone. The following \setuppagenumbering[state=stop] \definelayer[mybg] [ repeat=yes, x=0mm, y=0mm, width=\paperwidth, height=\paperheight, ] \setlayer[mybg]{\externalfigure[cow][width=\paperwidth,height=\paperheight]}

[NTG-context] Bug (?) using \externalfigure with layers and backgrounds

2020-12-03 Thread Jairo A. del Rio
Hi everyone. The following \setuppagenumbering[state=stop] \definelayer[mybg] [ repeat=yes, x=0mm, y=0mm, width=\paperwidth, height=\paperheight, ] \setlayer[mybg]{\externalfigure[cow][width=\paperwidth,height=\paperheight]} \setupbackgrounds[page][background=mybg,state=repeat]

Re: [NTG-context] bug in \externalfigure

2013-08-03 Thread Jannik Voges
The bug is fixed in the newest beta. Thanks to everyone Jannik Am 02.08.2013 um 22:08 schrieb Jannik Voges researchj...@icloud.com: 'context --make' gives an error: ! LuaTeX error .../context/tex/texmf-context/tex/context/base/back-pdf.lua:86: attempt to index global 'nodepool' (a

Re: [NTG-context] bug in \externalfigure

2013-08-02 Thread Peter Münster
On Thu, Aug 01 2013, Jannik Voges wrote: Okay, a reader dependent bug/error. I used Preview (OS X 10.8.4). The second figure (\externalfigure[cow.pdf][width=10cm]) and the following sentence didn't appear. The same happens when you use height instead of width. Perhaps you could add this issue

Re: [NTG-context] bug in \externalfigure

2013-08-02 Thread Hans Hagen
On 8/1/2013 5:19 PM, Jannik Voges wrote: You are right. I was a little bit confused, because I didn't know, that you have to add 'location=default' to get the sample files, so I thought, that might also be buggy. 'test' is a test-file (pdf, jpeg, ...) in the current directory (I have not

Re: [NTG-context] bug in \externalfigure

2013-08-02 Thread Hans Hagen
On 8/2/2013 8:36 PM, Jannik Voges wrote: yes its a tricky bug. When you view the pdf with Preview under Mac OS X (10.8.4) you will see, that the second graphic and sentence isn't displayed. When you use evince (linux) the pdf is displayed correctly. I attache a zip-file with the pdf-file of

Re: [NTG-context] bug in \externalfigure

2013-08-02 Thread Jannik Voges
No problem. Pdf is attached. Am 02.08.2013 um 20:55 schrieb Hans Hagen pra...@wxs.nl: On 8/2/2013 8:36 PM, Jannik Voges wrote: yes its a tricky bug. When you view the pdf with Preview under Mac OS X (10.8.4) you will see, that the second graphic and sentence isn't displayed. When you

Re: [NTG-context] bug in \externalfigure

2013-08-02 Thread Hans Hagen
On 8/2/2013 9:05 PM, Jannik Voges wrote: No problem. Pdf is attached. ok, i see the problem ... will try to fix it (cannot upload from where i am now) you can try this in back-pdf.lua: function nodepool.pdfsetmatrix(rx,sx,sy,ry,tx,ty) local t = copy_node(pdfsetmatrix) if type(rx)

Re: [NTG-context] bug in \externalfigure

2013-08-02 Thread Jannik Voges
I added the function in back-pdf.lua, but that doesn't fix the problem. Jannik Am 02.08.2013 um 21:35 schrieb Hans Hagen pra...@wxs.nl: On 8/2/2013 9:05 PM, Jannik Voges wrote: No problem. Pdf is attached. ok, i see the problem ... will try to fix it (cannot upload from where i am now)

Re: [NTG-context] bug in \externalfigure

2013-08-02 Thread Hans Hagen
On 8/2/2013 9:49 PM, Jannik Voges wrote: I added the function in back-pdf.lua, but that doesn't fix the problem. Jannik Am 02.08.2013 um 21:35 schrieb Hans Hagen pra...@wxs.nl: On 8/2/2013 9:05 PM, Jannik Voges wrote: No problem. Pdf is attached. ok, i see the problem ... will try to

Re: [NTG-context] bug in \externalfigure

2013-08-02 Thread Jannik Voges
'context --make' gives an error: ! LuaTeX error .../context/tex/texmf-context/tex/context/base/back-pdf.lua:86: attempt to index global 'nodepool' (a nil value) stack traceback: .../context/tex/texmf-context/tex/context/base/back-pdf.lua:86: in function 'code'

[NTG-context] bug in \externalfigure

2013-08-01 Thread Jannik Voges
Hello everyone, I found a bug in the current ConTeXt Beta with externalfigure. The following minimal example will show you what happens \starttext \externalfigure[cow] \externalfigure[cow][width=10cm] \page \externalfigure[test] \page This text will appear. This text will not appear.

Re: [NTG-context] bug in \externalfigure

2013-08-01 Thread Marco Patzer
On 2013–08–01 Jannik Voges wrote: I found a bug in the current ConTeXt Beta with externalfigure. The following minimal example will show you what happens \starttext \externalfigure[cow] \externalfigure[cow][width=10cm] \page \externalfigure[test] This reads in the file

Re: [NTG-context] bug in \externalfigure

2013-08-01 Thread Aditya Mahajan
On Thu, 1 Aug 2013, Jannik Voges wrote: Hello everyone, I found a bug in the current ConTeXt Beta with externalfigure. The following minimal example will show you what happens \starttext \externalfigure[cow] \externalfigure[cow][width=10cm] \page \externalfigure[test] \page This text

Re: [NTG-context] bug in \externalfigure

2013-08-01 Thread Peter Münster
On Thu, Aug 01 2013, Jannik Voges wrote: The first two \externalfigure-commands (with cow) will give a grey placeholder with 'state:unknown' in it. Yes, you need \setupexternalfigures[location=default] for finding the sample files of the distribution. The third \externalfigure-command

Re: [NTG-context] bug in \externalfigure

2013-08-01 Thread Aditya Mahajan
On Thu, 1 Aug 2013, Marco Patzer wrote: On 2013–08–01 Jannik Voges wrote: I found a bug in the current ConTeXt Beta with externalfigure. The following minimal example will show you what happens \starttext \externalfigure[cow] \externalfigure[cow][width=10cm] \page \externalfigure[test]

Re: [NTG-context] bug in \externalfigure

2013-08-01 Thread luigi scarso
On Thu, Aug 1, 2013 at 3:56 PM, Aditya Mahajan adit...@umich.edu wrote: I think that the advice of omitting the file extension given in most LaTeX introductions is more trouble than it is worth in ConTeXt. Omitting file extensions is important if you are generating both dvi and pdf outputs.

Re: [NTG-context] bug in \externalfigure

2013-08-01 Thread Marco Patzer
On 2013–08–01 Aditya Mahajan wrote: I think that the advice of omitting the file extension given in most LaTeX introductions is more trouble than it is worth in ConTeXt. Omitting file extensions is important if you are generating both dvi and pdf outputs. In ConTeXt, one never uses the DVI

Re: [NTG-context] bug in \externalfigure

2013-08-01 Thread Alan BRASLAU
On Thu, 1 Aug 2013 16:01:27 +0200 luigi scarso luigi.sca...@gmail.com wrote: On Thu, Aug 1, 2013 at 3:56 PM, Aditya Mahajan adit...@umich.edu wrote: I think that the advice of omitting the file extension given in most LaTeX introductions is more trouble than it is worth in ConTeXt.

Re: [NTG-context] bug in \externalfigure

2013-08-01 Thread luigi scarso
On Thu, Aug 1, 2013 at 4:43 PM, Alan BRASLAU alan.bras...@cea.fr wrote: On Thu, 1 Aug 2013 16:01:27 +0200 luigi scarso luigi.sca...@gmail.com wrote: On Thu, Aug 1, 2013 at 3:56 PM, Aditya Mahajan adit...@umich.edu wrote: I think that the advice of omitting the file extension given

Re: [NTG-context] bug in \externalfigure

2013-08-01 Thread Hans Hagen
On 8/1/2013 4:43 PM, Alan BRASLAU wrote: On Thu, 1 Aug 2013 16:01:27 +0200 luigi scarso luigi.sca...@gmail.com wrote: On Thu, Aug 1, 2013 at 3:56 PM, Aditya Mahajan adit...@umich.edu wrote: I think that the advice of omitting the file extension given in most LaTeX introductions is more

Re: [NTG-context] bug in \externalfigure

2013-08-01 Thread Jannik Voges
You are right. I was a little bit confused, because I didn't know, that you have to add 'location=default' to get the sample files, so I thought, that might also be buggy. 'test' is a test-file (pdf, jpeg, ...) in the current directory (I have not mentioned that). In my second Mail I included

Re: [NTG-context] bug in \externalfigure

2013-08-01 Thread Peter Münster
On Thu, Aug 01 2013, Jannik Voges wrote: \externalfigure[cow.pdf][width=10cm] This text will not appear. I can confirm this with acroread 9.5.5 No problem with evince. -- Peter ___ If your question is

Re: [NTG-context] bug in \externalfigure

2013-08-01 Thread Jannik Voges
Okay, a reader dependent bug/error. I used Preview (OS X 10.8.4). The second figure (\externalfigure[cow.pdf][width=10cm]) and the following sentence didn't appear. The same happens when you use height instead of width. Am 01.08.2013 um 22:34 schrieb Peter Münster pmli...@free.fr: On Thu,

[NTG-context] Bug in \externalfigure[...][factor=max]

2013-02-02 Thread Aditya Mahajan
\externalfigure[...][factor=max] behaves incorrectly (or at lease does not behave as expected) when the width of the figure is less than the height. Minimal example: \startbuffer \startTABLE[frame=off,align={middle,lohi}] \NC none \NC \externalfigure[cow][ratio] \NC \NR \NC max \NC