]> git.lyx.org Git - features.git/commitdiff
Set linelen when exporting latex for the purpose of chktex-ing it, so that a meaningf...
authorTommaso Cucinotta <tommaso@lyx.org>
Thu, 4 Mar 2010 08:13:42 +0000 (08:13 +0000)
committerTommaso Cucinotta <tommaso@lyx.org>
Thu, 4 Mar 2010 08:13:42 +0000 (08:13 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33616 a592a061-630c-0410-9148-cb99ea01b6c8

src/Buffer.cpp

index efae24f5ef7491ae284504034b9632286a09855a..a7d19dc303dc0ce700e627bb3a6a6fce3b1e4bcd 100644 (file)
@@ -1607,6 +1607,7 @@ int Buffer::runChktex()
        OutputParams runparams(&params().encoding());
        runparams.flavor = OutputParams::LATEX;
        runparams.nice = false;
+       runparams.linelen = lyxrc.plaintext_linelen;
        makeLaTeXFile(FileName(name), org_path, runparams);
 
        TeXErrors terr;