#ifndef LATEX_H
#define LATEX_H
+#include "latexrunparams.h"
#include "LString.h"
#include "DepTable.h"
#include <vector>
Errors errors;
};
+
class Aux_Info {
public:
///
///
-inline
-bool operator==(Aux_Info const & a, Aux_Info const & o)
-{
- return a.aux_file == o.aux_file &&
- a.citations == o.citations &&
- a.databases == o.databases &&
- a.styles == o.styles;
-}
-
-
-///
-inline
-bool operator!=(Aux_Info const & a, Aux_Info const & o)
-{
- return !(a == o);
-}
+bool operator==(Aux_Info const &, Aux_Info const &);
+bool operator!=(Aux_Info const &, Aux_Info const &);
///
cmd = the latex command, file = name of the (temporary) latex file,
path = name of the files original path.
*/
- LaTeX(string const & cmd, string const & file, string const & path);
-
- ///
- virtual ~LaTeX() {}
+ LaTeX(string const & cmd, LatexRunParams const &,
+ string const & file, string const & path);
/// runs LaTeX several times
int run(TeXErrors &, LyXFunc *);
///
int getNumErrors() { return num_errors;}
- /// use this for running LaTeX once
- int operator() ();
-
///
int scanLogFile(TeXErrors &);
-protected:
+private:
+ /// use this for running LaTeX once
+ int startscript();
+
/// The dependency file.
string depfile;
/// The name of the final output file.
string output_file;
+
+ ///
+ LatexRunParams runparams;
};
#endif