\detokenize paths containing ~

(cherry picked from commit d876319e85)
This commit is contained in:
Juergen Spitzmueller 2019-07-07 10:32:06 +02:00
parent ba1784ea89
commit 7c673acbb1
2 changed files with 6 additions and 2 deletions

View File

@ -1911,7 +1911,8 @@ void Buffer::writeLaTeXSource(otexstream & os,
os << "\\catcode`\\%=11" os << "\\catcode`\\%=11"
"\\def\\%{%}\\catcode`\\%=14\n"; "\\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, ' '); bool const quote = contains(docdir, ' ');
os << "\\makeatletter\n" os << "\\makeatletter\n"
<< "\\def\\input@path{{"; << "\\def\\input@path{{";

View File

@ -35,7 +35,8 @@ Avoid using text mode for unicode symbols representable in math mode (bug 9616).
* DOCUMENTATION AND LOCALIZATION * 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 * 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 unicodesymbols file, unless it can be encoded in the document encoding
(bug 11586). (bug 11586).
- Fix problems with paths that contain the tilde (~) character.
* USER INTERFACE * USER INTERFACE