X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLaTeX.h;h=25e83e8703c32b8e50700f5459cb91f2a860cdbb;hb=1ab314f8e6e145dc73d0a26b7e82a280b497ea3c;hp=69845478b1103ce1e97a9fe696808a3c97a33702;hpb=50380866f6725f4b51d1d576bc0a8bbb1e487501;p=lyx.git diff --git a/src/LaTeX.h b/src/LaTeX.h index 69845478b1..25e83e8703 100644 --- a/src/LaTeX.h +++ b/src/LaTeX.h @@ -14,12 +14,12 @@ #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 #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 &);