]> git.lyx.org Git - lyx.git/blobdiff - src/support/filetools.h
filetools.cpp: introduce a new method to be able to distinguish between valid LaTeX...
[lyx.git] / src / support / filetools.h
index 016fb8de7b84e82f67d7d45eda4cd5a1c64be966..6bec3fb9dbf3417462b9882296a791a690343d29 100644 (file)
@@ -64,13 +64,19 @@ FileName const fileSearch(std::string const & path,
                             search_mode mode = must_exist);
 
 ///
-bool isLyXFilename(std::string const & filename);
+bool isLyXFileName(std::string const & filename);
 
 ///
-bool isSGMLFilename(std::string const & filename);
+bool isSGMLFileName(std::string const & filename);
 
-///
-bool isValidLaTeXFilename(std::string const & filename);
+/// check for characters in filenames not allowed by LaTeX
+bool isValidLaTeXFileName(std::string const & filename);
+
+/** check for characters in filenames that might lead to
+  problems when manually compiling the LaTeX export of LyX
+  and opening the result with some older DVI-viewers
+*/
+bool isValidDVIFileName(std::string const & filename);
 
 /** Returns the path of a library data file.
     Search the file name.ext in the subdirectory dir of