Matthias Melcher wrote:
> On 07.12.2010, at 12:30, Albrecht Schlosser wrote:
>
>> I propose to replace all .gif (and maybe also .jpg) files in our
>> docs with converted .png files. These can be used in both (html
>> and pdf) versions.
>
> +1
Amen to anything that gets rid of the eps files.
But I don't think we have to do /any/ conversions;
according to some tests I tried, png, gif and jpeg
all work fine in the "\image latex" line, eg:
\image html tree-elements.png
\image latex tree-elements.png
\image html table-simple.gif
\image latex table-simple.gif "table-simple example" width=6cm
\image html fl_color_chooser.jpg
\image latex fl_color_chooser.jpg "fl_color_chooser()" width=5cm
Possibly I have a newer pdf/latex config, or maybe this
capability has been in the converter all along.
Either way, it's probably better to NOT convert everything
so that our images don't degrade any further by format conversion.
So I suggest we:
1) svn remove documentation/src/*.eps
2) Change all the "\image latex xxx.eps yyy zzz"
to instead "\image latex xxx.{gif,jpg,png} yyy zzz"
We should first make sure all the devs can confirm the above
test works for them when they build the pdf docs.
>> Advantages:
>> - only one image file for all
>> - color images in .pdf docs instead of gray-scale images
>> - removal of huge .eps files
>> - no file conversion needed to create the docs
>
> Wonderful. I love it.
FWIW, the following seems to indicate png,jpeg and gif can be used
within a latex document:
http://amath.colorado.edu/documentation/LaTeX/reference/figures.html
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev