From 8c244aa68d4272d9e090239d90646090c186ba20 Mon Sep 17 00:00:00 2001 From: Tommaso Cucinotta Date: Thu, 4 Mar 2010 08:13:42 +0000 Subject: [PATCH] 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 --- src/Buffer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Buffer.cpp b/src/Buffer.cpp index efae24f5ef..a7d19dc303 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -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; -- 2.39.5