public:
/// check whether the TeX class is available
bool isTeXClassAvailable() const { return tex_class_avail_; }
public:
/// check whether the TeX class is available
bool isTeXClassAvailable() const { return tex_class_avail_; }
/// Construct a layout with default values. Actual values loaded later.
explicit LayoutFile(std::string const & filename,
std::string const & className = std::string(),
/// Construct a layout with default values. Actual values loaded later.
explicit LayoutFile(std::string const & filename,
std::string const & className = std::string(),
/// add a textclass from user local directory.
/// \return the identifier for the loaded file, or else an
/// empty string if no file was loaded.
/// add a textclass from user local directory.
/// \return the identifier for the loaded file, or else an
/// empty string if no file was loaded.
- LayoutFileIndex
- addLocalLayout(std::string const & textclass, std::string const & path);
+ LayoutFileIndex addLocalLayout(std::string const & textclass,
+ std::string const & path,
+ std::string const & oldpath = empty_string());