Ask Your Question

How to change the File Format of the view()'s images? (in Windows)

asked 2020-02-12 21:00:37 +0200

Duarthe gravatar image

updated 2020-02-13 11:31:59 +0200

The first time Sage ask me to choose an application (or a FileFormat), I chose PDF, but now I would like to export in a Image format (like png). Thanks in advance.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-02-13 22:03:43 +0200

Emmanuel Charpentier gravatar image

from view?

-  ``engine`` -- string or ``None`` (default: ``None``). Can take the
   following values:

   - ``None`` -- the value defined in the LaTeX global preferences
     ``latex.engine()`` is used.

   - ``'pdflatex'`` -- compilation does tex -> pdf

   - ``'xelatex'`` -- compilation does tex -> pdf

   - ``'latex'`` -- compilation first tries tex -> dvi -> png and if an
      error occurs then tries dvi -> ps -> pdf. This is slower than
     ``'pdflatex'`` and known to be broken when overfull hbox are detected.

So, you migh try view(<whatever>, engine="latex").

edit flag offensive delete link more


Thanks a lot for your answer! engine="latex" works!

Duarthe gravatar imageDuarthe ( 2020-02-14 18:58:54 +0200 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2020-02-12 20:46:11 +0200

Seen: 77 times

Last updated: Feb 13 '20