]> git.lyx.org Git - features.git/commitdiff
\detokenize paths containing ~
authorJuergen Spitzmueller <spitz@lyx.org>
Sun, 7 Jul 2019 08:32:06 +0000 (10:32 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Sun, 7 Jul 2019 08:35:55 +0000 (10:35 +0200)
(cherry picked from commit d876319e8524bbd3cca5281d1255ee30c7fb761f)

src/Buffer.cpp
status.23x

index f9caec404bc76f02c00fe671308920ee7f8794b0..c5dd9a4b717f349cae68e0d5088ab70d12f40f93 100644 (file)
@@ -1911,7 +1911,8 @@ void Buffer::writeLaTeXSource(otexstream & os,
                                        os << "\\catcode`\\%=11"
                                              "\\def\\%{%}\\catcode`\\%=14\n";
                                }
-                               bool const detokenize = !isAscii(from_utf8(docdir));
+                               bool const detokenize = !isAscii(from_utf8(docdir))
+                                               || contains(docdir, '~');
                                bool const quote = contains(docdir, ' ');
                                os << "\\makeatletter\n"
                                   << "\\def\\input@path{{";
index b5379d268a5e8576e61c03f049adeb9949a2159a..a4c3078826d2da5959431db4de6fbf1a93742378 100644 (file)
@@ -35,7 +35,8 @@ Avoid using text mode for unicode symbols representable in math mode (bug 9616).
 
 * DOCUMENTATION AND LOCALIZATION
 
-- The Dutch user interface localization has been revived.
+- The Dutch user interface localization has been revived, and the Dutch docs
+  revised.
 
 
 * BUILD/INSTALLATION
@@ -58,6 +59,8 @@ Avoid using text mode for unicode symbols representable in math mode (bug 9616).
   unicodesymbols file, unless it can be encoded in the document encoding
   (bug 11586).
 
+- Fix problems with paths that contain the tilde (~) character.
+
 
 * USER INTERFACE