X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FConverter.h;h=83f2ea78aafd2a108cdd14ec56c02bdc087d9cf1;hb=1a48d5a96712c72879487542e3f1a7e61ce3f78c;hp=6e09352acc0d057c3dff73f800ca0ec907849777;hpb=bfd5abac4c24a309cfdd331f6cd6755f9ab529ac;p=lyx.git diff --git a/src/Converter.h b/src/Converter.h index 6e09352acc..83f2ea78aa 100644 --- a/src/Converter.h +++ b/src/Converter.h @@ -16,6 +16,7 @@ #include "OutputParams.h" #include +#include #include @@ -59,6 +60,8 @@ public: bool xml; /// This converter needs the .aux files bool need_aux; + /// we need a "nice" file from the backend, c.f. OutputParams.nice. + bool nice; /// If the converter put the result in a directory, then result_dir /// is the name of the directory std::string result_dir; @@ -93,15 +96,13 @@ public: // void erase(std::string const & from, std::string const & to); /// - void sort(); - /// std::vector const getReachableTo(std::string const & target, bool clear_visited); /// std::vector const getReachable(std::string const & from, bool only_viewable, bool clear_visited, - std::vector const & excludes = std::vector()); + std::set const & excludes = std::set()); std::vector importableFormats(); std::vector exportableFormats(bool only_viewable); @@ -114,7 +115,8 @@ public: /// Graph::EdgePath getPath(std::string const & from, std::string const & to); /// - OutputParams::FLAVOR getFlavor(Graph::EdgePath const & path); + OutputParams::FLAVOR getFlavor(Graph::EdgePath const & path, + Buffer const * buffer = 0); /// Flags for converting files enum ConversionFlags { /// No special flags @@ -157,6 +159,12 @@ private: /// std::string latex_command_; /// + std::string dvilualatex_command_; + /// + std::string lualatex_command_; + /// + std::string pdflatex_command_; + /// std::string xelatex_command_; /// If \p from = /path/file.ext and \p to = /path2/file2.ext2 then /// this method moves each /path/file*.ext file to /path2/file2*.ext2