[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #58374] print function creates path not readab
From: |
Folken |
Subject: |
[Octave-bug-tracker] [bug #58374] print function creates path not readable by latex |
Date: |
Sat, 16 May 2020 10:07:53 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36 |
Follow-up Comment #4, bug #58374 (project octave):
Thank you for the explanation!!
Actually the patch did not change anything..
The lines 973-975 of print.m sound suspicious to me:
## FIXME: should this be fixed in GL2PS?
latex = strrep (latex, "\\includegraphics{}",
sprintf ("\\includegraphics{%s}", graphicsfile));
I did a small test script to check the lines:
graphicsfile = "C:/Users/User/Documents"
latex = "\\includegraphics{}"
latex = strrep (latex, "\\includegraphics{}",
sprintf ("\\includegraphics{%s}", graphicsfile))
With running the test script in the *command window* the result was like I
needed it (forward slashes):
latex = \includegraphics{C:/Users/User/Documents}
But running the commands in print.m lines 973-975 gives:
\includegraphics{C:\Users\User\Documents} ??? (backward slashes)
One other question: The lines 973-975 refer to the option of print
*pdflatexstandalone*
Were to I find the comparable code of lines 973-975, if I refer to the option
of print *pdflatex* only?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58374>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #58374] print function creates path not readabel by latex, anonymous, 2020/05/15
- [Octave-bug-tracker] [bug #58374] print function creates path not readable by latex, Rik, 2020/05/15
- [Octave-bug-tracker] [bug #58374] print function creates path not readable by latex, Falko, 2020/05/16
- [Octave-bug-tracker] [bug #58374] print function creates path not readable by latex, Doug Stewart, 2020/05/16
- [Octave-bug-tracker] [bug #58374] print function creates path not readable by latex,
Folken <=
- [Octave-bug-tracker] [bug #58374] print function creates path not readable by latex, John W. Eaton, 2020/05/16
- [Octave-bug-tracker] [bug #58374] print function creates path not readable by latex, Folken, 2020/05/16
- [Octave-bug-tracker] [bug #58374] print function creates path not readable by latex, Rik, 2020/05/16
- [Octave-bug-tracker] [bug #58374] print function creates path not readable by latex, Rik, 2020/05/16
- [Octave-bug-tracker] [bug #58374] print function creates path not readable by latex, Rik, 2020/05/16
- [Octave-bug-tracker] [bug #58374] print function creates path not readable by latex, Rik, 2020/05/17
- [Octave-bug-tracker] [bug #58374] print function creates path not readable by latex, Folken, 2020/05/18
- [Octave-bug-tracker] [bug #58374] print function creates path not readable by latex, Rik, 2020/05/18
- [Octave-bug-tracker] [bug #58374] print function creates path not readable by latex, Folken, 2020/05/19
- [Octave-bug-tracker] [bug #58374] print function creates path not readable by latex, Mike Miller, 2020/05/20