(
Jump to the original submission)
Fri 19 Jul 2013 03:30:40 PM UTC, comment #8:
No reports of problems, so I'm closing this report.
|
Sat 08 Jun 2013 03:29:01 AM UTC, comment #7:
I added some checks when extracting the graphic file name and pushed the changeset below.
http://hg.savannah.gnu.org/hgweb/octave/rev/3806afcf974a
|
Fri 07 Jun 2013 01:53:06 PM UTC, comment #6:
I'm attaching a second changeset all in c++. The approach is clumsy.
The fltk toolkit calls drawnow() twice. Once for the image file to be included and a second time for the tex file. A static variable has been added to store the prior file name. When the tex file is written the prior file is assumed to be the image file to be included in the tex document.
(file #28280)
|
Thu 06 Jun 2013 08:51:27 AM UTC, comment #5:
Assuming the print command is,
The diff below needs to have "gl2ps-inc" replaced with "test-inc".
I haven't figured out how to do this yet. Help from someone who is familiar with c/c++ would be appreciated.
|
Thu 06 Jun 2013 08:44:03 AM UTC, comment #4:
A proper fix requires the "gl2ps-inc" to be replaced by the equivalent of print_cmd.c_str + "-inc".
My c/c++ knowledge is too low for me to figure this part out :-(
|
Tue 01 May 2012 11:17:11 PM UTC, comment #3:
I've attached a changeset that works for me.
(file #25766)
|
Tue 01 May 2012 12:12:26 AM UTC, comment #2:
I don't see how to properly fix this, but can easily produce a changeset that does a search-and-replace in the tex-file that is equivalent to
s/includegraphics{} /includegraphics{foo-inc.pdf} /g
|
Mon 30 Apr 2012 12:41:19 PM UTC, comment #1:
I think the problem is that the gl2psPrintTeXHeader routine in gl2ps.c does not extract the "name" correctly. It is always empty.
|
Mon 30 Apr 2012 11:39:22 AM UTC, original submission:
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:
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 environment.
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.
|
(Note: upload size limit is set to 16384 kB, after insertion of the required
escape characters.)
Attach File(s):
Comment:
Depends on the following items: None found
Items that depend on this one: None found
Follow 20 latest changes.
| Date |
Changed By |
Updated Field |
Previous Value |
=> |
Replaced By |
| Thu 01 Aug 2013 11:50:44 AM UTC | bpabbott | Status | Ready For Test |  | Fixed |
| | | Summary | print -dpflatex with empty \\includegraphics{} |  | print -dpflatex with empty \includegraphics{} |
| Fri 19 Jul 2013 03:30:40 PM UTC | bpabbott | Open/Closed | Open |  | Closed |
| | | Summary | print -dpflatex with empty \\includegraphics{} |  | print -dpflatex with empty \includegraphics{} |
| Sat 08 Jun 2013 03:29:01 AM UTC | bpabbott | Status | Patch Submitted |  | Ready For Test |
| | | Summary | print -dpflatex with empty \\includegraphics{} |  | print -dpflatex with empty \includegraphics{} |
| Fri 07 Jun 2013 01:53:06 PM UTC | bpabbott | Attached File | - |  | Added changeset.patch, #28280 |
| | | Release | 3.6.1 |  | dev |
| | | Summary | print -dpflatex with empty \\includegraphics{} |  | print -dpflatex with empty \includegraphics{} |
| Thu 06 Jun 2013 08:51:27 AM UTC | bpabbott | Summary | print -dpflatex with empty \\includegraphics{} |  | print -dpflatex with empty \includegraphics{} |
| Thu 06 Jun 2013 08:44:03 AM UTC | bpabbott | Summary | print -dpflatex with empty \\includegraphics{} |  | print -dpflatex with empty \includegraphics{} |
| Thu 03 May 2012 12:32:18 AM UTC | bpabbott | Status | Ready For Test |  | Patch Submitted |
| | | Summary | print -dpflatex with empty \\includegraphics{} |  | print -dpflatex with empty \includegraphics{} |
| Thu 03 May 2012 12:22:10 AM UTC | bpabbott | Assigned to | None |  | bpabbott |
| | | Summary | print -dpflatex with empty \\includegraphics{} |  | print -dpflatex with empty \includegraphics{} |
| Tue 01 May 2012 11:17:11 PM UTC | bpabbott | Attached File | - |  | Added changeset.patch, #25766 |
| | | Status | None |  | Ready For Test |
| | | Summary | print -dpflatex with empty \\includegraphics{} |  | print -dpflatex with empty \includegraphics{} |
| Tue 01 May 2012 12:12:26 AM UTC | bpabbott | Summary | print -dpflatex with empty \\includegraphics{} |  | print -dpflatex with empty \includegraphics{} |
| Mon 30 Apr 2012 12:41:19 PM UTC | bpabbott | Summary | print -dpflatex with empty \\includegraphics{} |  | print -dpflatex with empty \includegraphics{} |