Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

epslatex error

463 views
Skip to first unread message

l-st...@web.de

unread,
Sep 17, 2007, 11:16:17 AM9/17/07
to
Hallo,

I get the following error-message if I try to run LaTeX with the
epslatex outputfile:

{\csname LTb\endcsname \put (1254,660){\makebox (0,0)[r]{\strut {}
0.\ETC.
! File ended while scanning use of \gplgaddtomacro.
<inserted text>
\par

What can I do?

Best regards

Lars

Hans-Bernhard Bröker

unread,
Sep 17, 2007, 5:32:21 PM9/17/07
to

Close the file in gnuplot before you go on trying to use it outside. See
"help set output"

l-st...@web.de

unread,
Sep 18, 2007, 4:49:12 AM9/18/07
to
On 17 Sep., 23:32, Hans-Bernhard Bröker <HBBroe...@t-online.de> wrote:

Hello Hans-Bernhard,

thank you for your answer. I have closed the file. The problem was
something else. I composed the ylabel with:

set ylabel "$c_V / \unit[]{Vol.-\%}$"

The problem is, that the \% leads to an "%" without "\" in the *.tex
output-file.

Solution:

set ylabel "$c_V / \unit[]{Vol.-\\%}$"

Two times the backslash before the percent character.

Best regards

Lars


Hans-Bernhard Bröker

unread,
Sep 18, 2007, 3:37:01 PM9/18/07
to
l-st...@web.de wrote:
> thank you for your answer. I have closed the file. The problem was
> something else. I composed the ylabel with:
>
> set ylabel "$c_V / \unit[]{Vol.-\%}$"
>
> The problem is, that the \% leads to an "%" without "\" in the *.tex
> output-file.

... because you enclosed the whole thing in "double quotes". See "help
syntax quotes".

0 new messages