mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 17:20:55 +00:00
tex2lyx/text.cpp: support for \newline
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21922 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1ac6b38ea5
commit
439dc6247e
@ -2186,6 +2186,12 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer,
|
||||
}
|
||||
}
|
||||
|
||||
else if (t.cs() == "newline") {
|
||||
context.check_layout(os);
|
||||
os << "\n\\" << t.cs() << "\n";
|
||||
skip_braces(p); // eat {}
|
||||
}
|
||||
|
||||
else if (t.cs() == "input" || t.cs() == "include"
|
||||
|| t.cs() == "verbatiminput") {
|
||||
string name = '\\' + t.cs();
|
||||
|
@ -78,6 +78,8 @@ What's new
|
||||
- Placeholders have been moved from the miscellaneous to the spacings section
|
||||
in the math toolbar.
|
||||
|
||||
- tex2lyx imports now also the LaTeX-command \newline
|
||||
|
||||
|
||||
** Bug fixes:
|
||||
*************
|
||||
|
Loading…
Reference in New Issue
Block a user