KLATEXFORMULA
Home
About
Downloads
Screen Shots
Wiki (Manuals)
News

User Manual:System Requirements

From KLFWiki

Revision as of 20:39, 31 August 2014 by Phfaist (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

Base Requirements

KLatexFormula runs natively on most Linux Distributions, Mac OS X and Windows.

You'll need to install LaTeX:

  • On Linux, latex is most certainly in your distribution packages. Look for "texlive".
  • On Mac OS X, there's for example MacTeX.
  • On Windows, there's for example MikTeX.

You'll also need ghostsctipt, although this is usually included in major TeX distributions for Windows and Mac OS X.

Qt 4 is also a requirement, minimum version 4.4 (but Qt is included in Windows and Mac packages, so don't worry about this). KLatexFormula doesn't compile (yet) with Qt 5.

If you want to compile KLatexFormula, you will additionally need the CMake build system, version 2.6.4 or greater.

To build and run the KTextEditor plugin that is provided with klatexformula, you will need KDE 4. See also User Manual:CMake compilation options. KDE is NOT needed for KLatexFormula itself.

Linux Users

Latex is usually shipped with your distribution. Try browsing your distribution packets if it's not installed by default. Otherwise you may have a look on http://www.latex-project.org. Same for dvips; check out http://www.radicaleye.com.

gs (ghostscript) is the base package for viewing and manipulating PS, so it is most likely already installed on your system. If it isn't, check again your distribution packages. You may want to check out http://ghostscript.com/ for more information.

Qt is usually packaged for your distribution, so again check your package lists. If not, you can download and compile Qt from http://qt-project.org/.

If you want to compile KLatexFormula from source, you will need the relevant development packages:

  • gcc, g++
  • make (gnu make)
  • cmake (version 2.6.4 or higher)
  • qt4 and qt4-devel (version 4.4 or higher)

The exact package names may vary between the various linux distributions (Ubuntu, OpenSUSE, Fedora, etc.)

Windows Users

LaTeX is of course NOT installed by default on your computer. Choose a LaTeX distribution for windows, such as MikTeX, and install it. MikTeX also provides ghostscript, so you won't need to install it separately; if you're using another LaTeX distribution, check out http://ghostscript.com/.

Qt 4 runtime libraries are included in the KLatexFormula installer for windows; you do not have to install them manually.

Mac OS X Users

You will need to have Latex and Gs installed. Grab for example MacTeX.

[In older versions of klatexformula you may have to manually enter the paths in the settings dialog (Fink distributions: usually /sw/bin/{latex|dvips|gs}, MacTeX: usually /usr/texbin/{latex|dvips} and /usr/local/bin/gs). These directories are now searched by default. Please notify me of other success stories (by e-mail, or by modifying this wiki page for example) so that I can add some clever search paths to look into by default.]

Qt 4 is embedded in the KLatexFormula binary package; it does not need to be installed separately.

Notes

As of KLatexFormula 3.0, KDE is no longer required. Only Qt 4 is needed, although the "K" in the name was kept to avoid changing the name.

KLFBackend and KLFTools library requirements

Note for developers

The KLFBackend library, the core of KLatexFormula, as of KLatexFormula 3.3, no longer compiles with Qt 3. Qt 4 is required.

You can find API documentation for the KLFTools library here

You can find API documentation for the KLFBackend library here