On Wed, 2006-11-15 at 22:53 -0700, Robert Dodier wrote:
> I wonder how to generate a figure for inclusion in the reference manual.
> Maybe someone who knows how to do that can write a README
> for doc/info/figures/.
Hi Robert,
sorry for the late reply. I created all the figures currently
in that directory. For each figure to be included in the manual
you need to create two versions: PDF and GIF. For example,
figure_name.pdf and figure_name.gif
To add that image to the manual, you use, in the info file:
@ifnotinfo
@image{figures/figure_name,8cm}
@end ifnotinfo
in the translations that should be
@ifnotinfo
@image{../figures/figure_name,8cm}
@end ifnotinfo
The PDF manual will use the PDF file and the HTML manual will
use the GIF file.
To create the PDF files I created a PostScript image file from
Maxima, and then made a few changes to make the Gnuplot images
more readable.
I used the Python script that I send you in an attachment, in the
following way:
fixgnuplot.py old_file.ps > new_file.ps
but different graphs needed different manual adjustments. I put
the modified PostScript files in the repository so you can see
the changes using diff with the file created by Maxima/Gnuplot.
To transform the PostScript files into PDF I used ps2pdf, and
to obtain GIF from PS I used convert, from Imagemagik.
I hope this answers your question. If you think it is worth publishing
this information somewhere, let me know.
Regards,
Jaime
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fixgnuplot.py
Type: text/x-python
Size: 767 bytes
Desc: not available
Url : http://www.math.utexas.edu/pipermail/maxima/attachments/20061121/01fc368c/attachment.py