X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FLaTeX.h;h=52b8ff7a0a0ea5fe4a54a41a3689389099f60fe6;hb=848c89564fce9c4bfec79b915746dc6bc47abc3d;hp=69845478b1103ce1e97a9fe696808a3c97a33702;hpb=50380866f6725f4b51d1d576bc0a8bbb1e487501;p=lyx.git diff --git a/src/LaTeX.h b/src/LaTeX.h index 69845478b1..52b8ff7a0a 100644 --- a/src/LaTeX.h +++ b/src/LaTeX.h @@ -14,10 +14,10 @@ #ifndef LATEX_H #define LATEX_H -#include "outputparams.h" +#include "OutputParams.h" #include "support/docstring.h" -#include "support/filename.h" +#include "support/FileName.h" #include #include @@ -86,7 +86,13 @@ bool operator==(Aux_Info const &, Aux_Info const &); bool operator!=(Aux_Info const &, Aux_Info const &); -/// +/** + * Class to run the LaTeX compiler and needed auxiliary programs. + * The main .tex file must be in the current directory. The current directory + * must not change as long as an object of this class lives. + * This is required by the LaTeX compiler, and we also make use of it by + * various support::makeAbsPath() calls. + */ class LaTeX : boost::noncopyable { public: /** Return values from scanLogFile() and run() (to come) @@ -163,7 +169,11 @@ private: /// bool runMakeIndex(std::string const &, OutputParams const &, - std::string const & = std::string()); + std::string const & = std::string()); + + /// + bool runMakeIndexNomencl(support::FileName const &, OutputParams const &, + std::string const &, std::string const &); /// std::vector const scanAuxFiles(support::FileName const &);