Subject: [newbie] problem producing pslatex output-file
From: Hugo Coolens
Date: Thu, 14 Jun 2012 16:58:27 +0200
On Thu, 14 Jun 2012, Robert Dodier wrote:
> On 2012-06-13, Hugo Coolens <coolens at kahosl.be> wrote:
>
>> 2. the file acl0.tex is incomplete, the following ending lines are missing:
>> \end{picture}%
>> \endgroup
>> \endinput
>
> I can't confirm this. I'm working w/ Maxima 5.27+commits + Gnuplot 4.7
> patchlevel 0. The TeX output file has the lines you show above.
>
>> I think this is a bug in maxima as I get the same error with maxima 5.22.1
>> and with wxmaxima 0.8.5
>
> I doubt it, I guess; Maxima creates a Gnuplot script and then punts to
> Gnuplot to actually create the output.
>
> You can capture Maxima's Gnuplot output as follows:
>
> set_plot_option ([plot_format, gnuplot]);
>
> and then $HOME/maxout.gnuplot contains the plotting commands. If you try
> to execute the plotting script in Gnuplot directly, outside of Maxima,
> do you get a valid TeX output?
I followed your advise i.e. added the line "set_plot_option ([plot_format,
gnuplot])" and ran Gnuplot with it, I then got the correct
acl0.tex file. However what is weird is the following:
Just running Maxima after adding the line set_plot_option ([plot_format,
gnuplot]); I got the correct acl0.tex file too, i.e. including the last
three lines, without your line however the last three lines are always missing!
regards,
hugo