mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-07 09:46:54 +00:00
fix bug #5912
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29388 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
34b079d929
commit
2b677bdc06
@ -2245,10 +2245,9 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer,
|
|||||||
else if (t.cs() == "=" && (flags & FLAG_TABBING))
|
else if (t.cs() == "=" && (flags & FLAG_TABBING))
|
||||||
handle_ert(os, t.asInput(), context);
|
handle_ert(os, t.asInput(), context);
|
||||||
|
|
||||||
else if (t.cs() == "H" || t.cs() == "c" || t.cs() == "^"
|
// accents (see Table 6 in Comprehensive LaTeX Symbol List)
|
||||||
|| t.cs() == "'" || t.cs() == "`"
|
else if (t.cs().size() == 1
|
||||||
|| t.cs() == "~" || t.cs() == "." || t.cs() == "=") {
|
&& contains("\"'.=^`bcdHkrtuv~", t.cs())) {
|
||||||
// we need the trim as the LyX parser chokes on such spaces
|
|
||||||
context.check_layout(os);
|
context.check_layout(os);
|
||||||
// try to see whether the string is in unicodesymbols
|
// try to see whether the string is in unicodesymbols
|
||||||
docstring rem;
|
docstring rem;
|
||||||
|
Loading…
Reference in New Issue
Block a user