- ///
- bool isReachable(string const & from, string const & to);
- ///
- Graph::EdgePath const getPath(string const & from, string const & to);
- ///
- bool usePdflatex(Graph::EdgePath const & path);
- ///
- bool convert(Buffer const * buffer,
- string const & from_file, string const & to_file_base,
- string const & from_format, string const & to_format,
- string & to_file);
+ /// Does a conversion path from format \p from to format \p to exist?
+ bool isReachable(std::string const & from, std::string const & to);
+ ///
+ Graph::EdgePath const getPath(std::string const & from, std::string const & to);
+ ///
+ OutputParams::FLAVOR getFlavor(Graph::EdgePath const & path);
+ /// Flags for converting files
+ enum ConversionFlags {
+ /// No special flags
+ none = 0,
+ /// Use the default converter if no converter is defined
+ try_default = 1 << 0,
+ /// Get the converted file from cache if possible
+ try_cache = 1 << 1
+ };