General settings for KLFBackend::getLatexFormula() More...
#include <klfbackend.h>
Public Member Functions | |
klfSettings () | |
Public Attributes | |
QString | tempdir |
QString | latexexec |
QString | dvipsexec |
QString | gsexec |
QString | epstopdfexec |
double | tborderoffset |
double | rborderoffset |
double | bborderoffset |
double | lborderoffset |
bool | calcEpsBoundingBox |
bool | outlineFonts |
bool | wantRaw |
bool | wantPDF |
bool | wantSVG |
QStringList | execenv |
TemplateGenerator * | templateGenerator |
QMap< QString, QString > | userScriptInterpreters |
General settings for KLFBackend::getLatexFormula()
Some global settings to pass on when calling getLatexFormula(). In this struct you specify some system settings, like a temp directory and some paths
klfclspath
field was removed, because we no longer use klatexformula.cls. Definition at line 217 of file klfbackend.h.
|
inline |
A default constructor assigning default (empty) values to all fields
Definition at line 220 of file klfbackend.h.
double KLFBackend::klfSettings::bborderoffset |
The number of postscript points to add to bottom side of the resulting EPS boundingbox
double
is just an anticipation of hi-resolution bounding box adjustment. Definition at line 255 of file klfbackend.h.
Referenced by KLFBackend::detectSettings().
bool KLFBackend::klfSettings::calcEpsBoundingBox |
Call GS to recalculate EPS bounding box instead of assuming dvips' one. This setting is ignored with a non-white or non-transparent background color.
Definition at line 263 of file klfbackend.h.
Referenced by KLFBackend::getLatexFormula().
QString KLFBackend::klfSettings::dvipsexec |
the dvips executable, path incl. if not in $PATH
Definition at line 230 of file klfbackend.h.
Referenced by KLFBackend::detectSettings().
QString KLFBackend::klfSettings::epstopdfexec |
the epstopdf executable, path incl. if not in $PATH. This isn't mandatory to get PNG so you may leave this to Null or Empty string to instruct getLatexFormula() to NOT attempt to generate PDF. If, though, you do specify an epstopdf executable here, epstopdf errors will be reported as real errors.
Definition at line 242 of file klfbackend.h.
Referenced by KLFBackend::detectSettings().
QStringList KLFBackend::klfSettings::execenv |
Extra environment variables to set (list of "NAME=value"
) when executing latex, dvips, gs.
Definition at line 288 of file klfbackend.h.
Referenced by KLFBackend::getLatexFormula(), and klf_detect_execenv().
QString KLFBackend::klfSettings::gsexec |
the gs executable, path incl. if not in $PATH
Definition at line 232 of file klfbackend.h.
Referenced by KLFBackend::detectOptionSettings(), KLFBackend::detectSettings(), KLFBackend::getLatexFormula(), and klf_detect_execenv().
QString KLFBackend::klfSettings::latexexec |
the latex executable, path incl. if not in $PATH
Definition at line 228 of file klfbackend.h.
Referenced by KLFBackend::detectSettings().
double KLFBackend::klfSettings::lborderoffset |
The number of postscript points to add to left side of the resulting EPS boundingbox
double
is just an anticipation of hi-resolution bounding box adjustment. Definition at line 259 of file klfbackend.h.
Referenced by KLFBackend::detectSettings().
bool KLFBackend::klfSettings::outlineFonts |
Strip away fonts in favor of vectorially outlining them with gs.
Use this option to produce output that doens't embed fonts, eg. for Adobe Illustrator.
gs
just rasterizes the fonts very uglyly (!!). Definition at line 272 of file klfbackend.h.
double KLFBackend::klfSettings::rborderoffset |
The number of postscript points to add to right side of the resulting EPS boundingbox
double
is just an anticipation of hi-resolution bounding box adjustment. Definition at line 251 of file klfbackend.h.
Referenced by KLFBackend::detectSettings().
double KLFBackend::klfSettings::tborderoffset |
The number of postscript points to add to top side of the resulting EPS boundingbox.
double
is just an anticipation of hi-resolution bounding box adjustment. Definition at line 247 of file klfbackend.h.
Referenced by KLFBackend::detectSettings().
QString KLFBackend::klfSettings::tempdir |
A temporary directory in which we have write access, e.g. /tmp/
Definition at line 226 of file klfbackend.h.
Referenced by KLFBackend::detectSettings(), and KLFBackend::getLatexFormula().
TemplateGenerator* KLFBackend::klfSettings::templateGenerator |
The TemplateGenerator object that will be used to generate the base document template. Can be NULL
, in which case the default generator is used, see DefaultTemplateGenerator.
Definition at line 293 of file klfbackend.h.
Referenced by KLFBackend::getLatexFormula().
Path to interpreters to use for different script formats. The key is the filename extension of the script (e.g. "py"), and the value is the path to the corresponding interpreter (e.g. "/usr/bin/python")
Definition at line 299 of file klfbackend.h.
bool KLFBackend::klfSettings::wantPDF |
If set to false, PDF will not be generated. This is useful if you don't want to waste resources generating a PDF file that you will not need.
Definition at line 280 of file klfbackend.h.
Referenced by KLFBackend::detectSettings(), and KLFContLatexPreview::setSettings().
bool KLFBackend::klfSettings::wantRaw |
If set to false, then klfOutput::pngdata_raw and klfOutput::epsdata_raw will not be initialized. This is the default, to save resources.
Definition at line 276 of file klfbackend.h.
Referenced by KLFContLatexPreview::setSettings().
bool KLFBackend::klfSettings::wantSVG |
If set to false, SVG will not be generated. This is useful if you don't want to waste resources generating an SVG file that you will not need.
Definition at line 284 of file klfbackend.h.
Referenced by KLFBackend::detectOptionSettings(), KLFBackend::detectSettings(), and KLFContLatexPreview::setSettings().