mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 03:11:59 +00:00
Set linelen when exporting latex for the purpose of chktex-ing it, so that a meaningful error-line is reported back to the GUI (addressing #6574).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33616 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
20fbd7068a
commit
8c244aa68d
@ -1607,6 +1607,7 @@ int Buffer::runChktex()
|
||||
OutputParams runparams(¶ms().encoding());
|
||||
runparams.flavor = OutputParams::LATEX;
|
||||
runparams.nice = false;
|
||||
runparams.linelen = lyxrc.plaintext_linelen;
|
||||
makeLaTeXFile(FileName(name), org_path, runparams);
|
||||
|
||||
TeXErrors terr;
|
||||
|
Loading…
Reference in New Issue
Block a user