mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Use ASCII number in \char definition
The backtick version breaks in some cases (footnotes in sections)
This commit is contained in:
parent
5b03606482
commit
e688b9876e
@ -123,19 +123,19 @@ static docstring const textquotedbl_def = from_ascii(
|
||||
|
||||
static docstring const textquotedblp_xetex_def = from_ascii(
|
||||
"\\providecommand\\textquotedblplain{%\n"
|
||||
" \\bgroup\\addfontfeatures{Mapping=}\\char`\\\"\\egroup}");
|
||||
" \\bgroup\\addfontfeatures{Mapping=}\\char34\\egroup}");
|
||||
|
||||
static docstring const textquotedblp_luatex_def = from_ascii(
|
||||
"\\providecommand\\textquotedblplain{%\n"
|
||||
" \\bgroup\\addfontfeatures{RawFeature=-tlig}\\char`\\\"\\egroup}");
|
||||
" \\bgroup\\addfontfeatures{RawFeature=-tlig}\\char34\\egroup}");
|
||||
|
||||
static docstring const textquotesinglep_xetex_def = from_ascii(
|
||||
"\\providecommand\\textquotesingleplain{%\n"
|
||||
" \\bgroup\\addfontfeatures{Mapping=}\\char`\\\'\\egroup}");
|
||||
" \\bgroup\\addfontfeatures{Mapping=}\\char39\\egroup}");
|
||||
|
||||
static docstring const textquotesinglep_luatex_def = from_ascii(
|
||||
"\\providecommand\\textquotesingleplain{%\n"
|
||||
" \\bgroup\\addfontfeatures{RawFeature=-tlig}\\char`\\\'\\egroup}");
|
||||
" \\bgroup\\addfontfeatures{RawFeature=-tlig}\\char39\\egroup}");
|
||||
|
||||
static docstring const paragraphleftindent_def = from_ascii(
|
||||
"\\newenvironment{LyXParagraphLeftIndent}[1]%\n"
|
||||
|
@ -1225,7 +1225,7 @@ void Paragraph::Private::latexSpecialChar(otexstream & os,
|
||||
}
|
||||
break;
|
||||
case '\"':
|
||||
os << "\\char`\\\"" << termcmd;
|
||||
os << "\\char34" << termcmd;
|
||||
column += 9;
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user