mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-02 05:55:38 +00:00
Avoid processing multiple times the same paragraph when converting latex arguments.
(cherry picked from commit 0080201977
)
This commit is contained in:
parent
20214ee224
commit
b851a60376
@ -1583,7 +1583,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