mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +00:00
lyx2lyx/lyx2lyx_tools.py: add support for parsing newline in lyx2latex
This commit is contained in:
parent
92e289a514
commit
24b0ea7c95
@ -204,6 +204,8 @@ def lyx2latex(document, lines):
|
|||||||
line = "''"
|
line = "''"
|
||||||
else:
|
else:
|
||||||
line = "'"
|
line = "'"
|
||||||
|
elif line.startswith("\\begin_inset Newline newline"):
|
||||||
|
line = "\\\\ "
|
||||||
elif line.startswith("\\begin_inset space"):
|
elif line.startswith("\\begin_inset space"):
|
||||||
line = line[18:].strip()
|
line = line[18:].strip()
|
||||||
if line.startswith("\\hspace"):
|
if line.startswith("\\hspace"):
|
||||||
|
Loading…
Reference in New Issue
Block a user