if (input.find(placeholder) == string::npos)
return input;
string const path2 = use_latex_path ?
- support::latex_path(path, exclude_extension, use_lyxdot) :
+ support::latex_path(path, exclude_extension) :
support::os::external_path(path);
return support::subst(input, placeholder, path2);
}
* It does not recognize the file extension if it is inside the quotes.
*/
std::string const latex_path(std::string const & path,
- bool exclude_extension = false)
+ bool exclude_extension = false);
/// Substitutes active latex characters with underscores in filename
std::string const MakeLatexName(std::string const & file);