KLatexFormula Documentation

Available Export Formats

A wide range of output formats is available once you’ve compiled your LaTeX equation.

These formats can be either saved to disk, or dragged & dropped / copied & pasted into other applications.

The following formats are available:

  • PDF – vector graphics

    Meta-information is saved in this file type so that you can re-open PDF files with klatexformula (drag them onto the latex input field).

  • PNG – image format

    Meta-information is saved in this file type so that you can re-open PDF files with klatexformula (drag them onto the latex input field).

  • SVG – vector graphics

    SVG is either generated from GhostScript (if ghostscript is compiled with SVG support), or by invoking dvisvgm or inkscape via a user script.

    If ghostscript does not support SVG, then SVG is generated using user scripts invoking a third-party program. On Windows, make sure you have Python installed (as explained here). Also, make sure you either have dvisvgm (sometimes packaged with LaTeX) or Inkscape installed.

  • JPEG, … – further image formats, depending on your system and how Qt was configured

    Qt supports an array of image formats depending on its configuration and the underlying system, typically JPEG, BMP, TIFF, etc., sometimes also GIF. All formats supported by Qt can be exported to in KLatexFormula.

  • PS/EPS – (encapsulated) post-script

  • DVI – raw output from LaTeX

  • (La)TeX – the original input LaTeX equation. If you save a (La)TeX file, you have the option to store meta-information as well such that you can re-load the file into klatexformula (drag it onto the latex input field).

  • ODG – OpenOffice Draw format compatible with OpenOffice.org and LibreOffice; this encapsulates an image and not a vector drawing

  • HTML – a HTML fragment with an inline image (the image data is included into the HTML file)

  • EMF/WMF – Windows (Enhanced) MetaFile

    Windows Metafiles are generated using a user script invoking Inkscape. On Windows, make sure you have Python installed (as explained here). Also, make sure you have Inkscape installed.

  • GIF – the GIF image format via ImageMagick

    The GIF export format might already be supported by your configuration (see “further image formats” above), without having to resort to ImageMagick.

    GIF via convert are generated using a user script invoking ImageMagick’s convert utility. On Windows, make sure you have Python installed (as explained here). Also, make sure you have ImageMagick installed.

Add your own formats! It is simple to write a user script to convert one of the basic formats (such as PDF or PNG) into whatever format you like. Check out how to write an export type user script.