extern std::map<std::string, std::vector<std::string> > used_packages;
extern const char * const modules_placeholder;
extern std::string h_inputencoding;
+extern std::string h_paragraph_separation;
/// in text.cpp
std::string translate_len(std::string const &);
/// in tex2lyx.cpp
-std::string const trim(std::string const & a, char const * p = " \t\n\r");
+std::string const trimSpaceAndEol(std::string const & a);
void split(std::string const & s, std::vector<std::string> & result,
char delim = ',');
/// Did we recognize any pdflatex-only construct?
extern bool pdflatex;
/// LyX format that is created by tex2lyx
-int const LYX_FORMAT = 345;
+extern int const LYX_FORMAT;
/// path of the master .tex file
extern std::string getMasterFilePath();