Skip to content

Commit 5f83b5d

Browse files
committed
issue #10145 latex duplicate equations
In multi thread mode the page index was not increased.
1 parent 3966883 commit 5f83b5d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/formula.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,7 @@ void FormulaManager::createFormulasTexFile(Dir &thisDir,Format format,HighDPI hd
590590
return generateFormula(thisDir,formulaFileName,formula,pageNum,pageIndex,format,hd,mode);
591591
};
592592
results.emplace_back(threadPool.queue(processFormula));
593+
pageIndex++;
593594
}
594595
for (auto &f : results)
595596
{

0 commit comments

Comments
 (0)