mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
Skip paragraph parameters for dash conversion
Some of them are directly passed to LaTeX, but for all of them a token \twohyphens or \threehyphens is not valid. This fixes bug #10243.
This commit is contained in:
parent
bf06e9338e
commit
380475f4db
@ -632,6 +632,10 @@ def convert_dashes(document):
|
|||||||
else:
|
else:
|
||||||
i = j
|
i = j
|
||||||
continue
|
continue
|
||||||
|
if len(words) > 0 and words[0] in ["\\leftindent", "\\paragraph_spacing", "\\align", "\\labelwidthstring"]:
|
||||||
|
# skip paragraph parameters (bug 10243)
|
||||||
|
i += 1
|
||||||
|
continue
|
||||||
while True:
|
while True:
|
||||||
j = document.body[i].find("--")
|
j = document.body[i].find("--")
|
||||||
if j == -1:
|
if j == -1:
|
||||||
|
@ -72,6 +72,8 @@ What's new
|
|||||||
|
|
||||||
* LYX2LYX
|
* LYX2LYX
|
||||||
|
|
||||||
|
- Fix paragraph argument conversion for \labelwidthstring etc (bug 10243).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
* USER INTERFACE
|
* USER INTERFACE
|
||||||
|
Loading…
Reference in New Issue
Block a user