Ask Your Question
0

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

asked 2020-02-12 14:00:37 -0500

Duarthe gravatar image

updated 2020-02-13 04:31:59 -0500

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
0

answered 2020-02-13 15:03:43 -0500

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

Comments

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

Duarthe gravatar imageDuarthe ( 2020-02-14 11:58:54 -0500 )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

Stats

Asked: 2020-02-12 13:46:11 -0500

Seen: 61 times

Last updated: Feb 13