Menu

#41 command line option -inc does not work with -device

open
nobody
None
5
2012-12-25
2011-09-15
No

In GLE 4.2.3b on Windows doing

gle -inc -device png myfile.gle

does not produce the expected result.
GLE produces an inc-file with the correct contents, but the png produced is called myfile.png instead of myfile_inc.png and it contains rendered text that should only be added by the inc file during LaTeXing.

A possible workaround for the problem is omitting the -device option and using ghostscript to convert the resulting eps to png.

gs -r300 -dEPSCrop -sDEVICE=png16m -sOutputFile=myfile_inc.png -dBATCH -dNOPAUSE myfile_inc.eps

Discussion

  • Jan Struyf

    Jan Struyf - 2011-09-17

    Dear Roland,

    The -inc option only works with "-d eps" or "-d pdf". Why do you want to include a PNG file in your LaTeX document? Is the generated PDF too big?

    If so, then I'll see if I can fix it.

    Best Regards,

    Jan

     
  • Roland Wirth

    Roland Wirth - 2011-09-18

    Yes, the image contains a large scatter plot (~15000 points) which results in a pdf of over 1MB in size.

     

Log in to post a comment.

MongoDB Logo MongoDB