Ask Your Question
0

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

asked 5 years ago

Duarthe gravatar image

updated 5 years ago

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.

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
0

answered 5 years ago

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").

Preview: (hide)
link

Comments

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

Duarthe gravatar imageDuarthe ( 5 years ago )

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: 5 years ago

Seen: 247 times

Last updated: Feb 13 '20