[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: print with pdflatex device
From: |
Ben Abbott |
Subject: |
Re: print with pdflatex device |
Date: |
Mon, 30 Apr 2012 07:41:43 -0400 |
On Apr 30, 2012, at 3:14 AM, Jose wrote:
> Hello all.
>
> There is a problem when saving a figure using the pdflatex device (with fltk
> backend, as gnuplot does not support it, and octave 3.6.1).
>
> Do:
>
> plot(1,1);
> print('-dpdflatex', 'foo.tex');
>
> This will produce two files:foo.tex and foo-inc.pdf. As I understand it,
> foo.tex should contain a reference to foo-inc.pdf, and there is not such a
> reference. There is, however, a suspicious empty "\includegraphics{}" inside
> a picture environbment.
>
> When using foo.tex as it is in a latex document there is an error complaining
> about this empty includegraphics. Changing it manually to
> "\includegraphics{foo-inc.pdf}" solves the problem.
>
> I guess that the pdflatex device should do this automatically, right?.
>
> BR
> Jose
Yes, it should happen automatically.
I've opened a bug report in your name.
https://savannah.gnu.org/bugs/index.php?36349
If you'd like to get updates on this bug, please add yourself to the mail
notification carbon-copy list.
Ben