#ifndef OUTPUTPARAMS_H
#define OUTPUTPARAMS_H
-#include <string>
-#include "support/types.h"
-#include <boost/shared_ptr.hpp>
+#include "support/shared_ptr.h"
#include "Changes.h"
class Font;
class Language;
-
class OutputParams {
public:
enum FLAVOR {
HTML,
TEXT
};
+
+ enum MathFlavor {
+ NotApplicable,
+ MathAsMathML,
+ MathAsHTML,
+ MathAsImages,
+ MathAsLaTeX
+ };
enum TableCell {
NO,
OutputParams(Encoding const *);
~OutputParams();
- /** The latex that we export depends occasionally on what is to
+ /** The file that we export depends occasionally on what is to
compile the file.
*/
FLAVOR flavor;
-
+ /// is it some flavor of LaTeX?
+ bool isLaTeX() const;
+
+ /// Same, but for math output, which only matter is XHTML output.
+ MathFlavor math_flavor;
+
/** Are we to write a 'nice' LaTeX file or not.
This esentially seems to mean whether InsetInclude, InsetGraphics
and InsetExternal should add the absolute path to any external
This is a hack: Make it possible to add stuff to constant
OutputParams instances.
*/
- boost::shared_ptr<ExportData> exportdata;
+ shared_ptr<ExportData> exportdata;
/** Whether we are inside a comment inset. Insets that are including
* external files like InsetGraphics, InsetInclude and InsetExternal