mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 11:16:55 +00:00
Fix bug #5912: http://www.lyx.org/trac/ticket/5912
The problem was that \" was forgotten in the list of accents to check in unicodesymbols (because it used to have its own german-centric derogatory handling). I took the Comprehensive LaTeX Symbols List (table 6) and added all the missing accents. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29387 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e97f9348ad
commit
0a99e817f1
@ -2245,10 +2245,9 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer,
|
||||
else if (t.cs() == "=" && (flags & FLAG_TABBING))
|
||||
handle_ert(os, t.asInput(), context);
|
||||
|
||||
else if (t.cs() == "H" || t.cs() == "c" || t.cs() == "^"
|
||||
|| t.cs() == "'" || t.cs() == "`"
|
||||
|| t.cs() == "~" || t.cs() == "." || t.cs() == "=") {
|
||||
// we need the trim as the LyX parser chokes on such spaces
|
||||
// accents (see Table 6 in Comprehensive LaTeX Symbol List)
|
||||
else if (t.cs().size() == 1
|
||||
&& contains("\"'.=^`bcdHkrtuv~", t.cs())) {
|
||||
context.check_layout(os);
|
||||
// try to see whether the string is in unicodesymbols
|
||||
docstring rem;
|
||||
|
Loading…
Reference in New Issue
Block a user