mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-23 16:52:02 +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
b425e3108e
commit
5ab19af782
@ -632,6 +632,10 @@ def convert_dashes(document):
|
||||
else:
|
||||
i = j
|
||||
continue
|
||||
if len(words) > 0 and words[0] in ["\\leftindent", "\\paragraph_spacing", "\\align", "\\labelwidthstring"]:
|
||||
# skip paragraph parameters (bug 10243)
|
||||
i += 1
|
||||
continue
|
||||
while True:
|
||||
j = document.body[i].find("--")
|
||||
if j == -1:
|
||||
|
Loading…
x
Reference in New Issue
Block a user