]> git.lyx.org Git - lyx.git/blob - src/latexrunparams.h
The 'nice' changes.
[lyx.git] / src / latexrunparams.h
1 // -*- C++ -*-
2 /**
3  * \file latexrunparams.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  *  \author Angus Leeming
8  *
9  * Full author contact details are available in file CREDITS
10  */
11
12 #ifndef LatexRunParams_H
13 #define LatexRunParams_H
14
15 struct LatexRunParams {
16         enum FLAVOR {
17                 LATEX,
18                 PDFLATEX
19         };
20
21         LatexRunParams() : flavor(LATEX), nice(false) {}
22
23         /** The latex that we export depends occasionally on what is to
24             compile the file.
25         */
26         FLAVOR flavor;
27         /** Are we to write a 'nice' LaTeX file or not.
28             This esentially seems to mean whether InsetInclude, InsetGraphics
29             and InsetExternal should add the absolute path to any external
30             files or not.
31         */
32         bool nice;
33 };
34
35 #endif // LatexRunParams_H