mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-28 20:45:47 +00:00
Avoid processing multiple times the same paragraph when converting latex arguments.
(cherry picked from commit 0080201977
)
This commit is contained in:
parent
a2336c489e
commit
e1350913ba
@ -1573,7 +1573,7 @@ def convert_latexargs(document):
|
|||||||
if argnr > allowed_opts and argnr < first_req:
|
if argnr > allowed_opts and argnr < first_req:
|
||||||
argnr = first_req
|
argnr = first_req
|
||||||
document.body[p] = "\\begin_inset Argument %d" % argnr
|
document.body[p] = "\\begin_inset Argument %d" % argnr
|
||||||
i += 1
|
i = parend + 1
|
||||||
|
|
||||||
|
|
||||||
def revert_latexargs(document):
|
def revert_latexargs(document):
|
||||||
|
Loading…
Reference in New Issue
Block a user