Re: chktex problems in 1.3.0pre2
John Levon a écrit: I was wondering how we could have ever done it ... didn't realise code got removed. A pity (probably) Lars says he has other ways of doing this... Now if osmeone could just explain increasePos()... I've been there too, and I have to admit it is baffling. JMarc
Re: chktex problems in 1.3.0pre2
John Levon a écrit: I was wondering how we could have ever done it ... didn't realise code got removed. A pity (probably) Lars says he has other ways of doing this... Now if osmeone could just explain increasePos()... I've been there too, and I have to admit it is baffling. JMarc
Re: chktex problems in 1.3.0pre2
On Thu, Jan 30, 2003 at 11:55:35AM +0100, Helge Hafting wrote: Sure, here is a little two-paragraph one. The boxes seems to go in the wrong place if the paragraph with the error has more text after the errors. Confirmed. I don't even want to look at why, mainly because the TexRow::increasePos() code is thoroughly baffling to me. I made bug 899 for this john
Re: chktex problems in 1.3.0pre2
John Levon a écrit: On Thu, Jan 30, 2003 at 11:55:35AM +0100, Helge Hafting wrote: Sure, here is a little two-paragraph one. The boxes seems to go in the wrong place if the paragraph with the error has more text after the errors. Confirmed. I don't even want to look at why, mainly because the TexRow::increasePos() code is thoroughly baffling to me. I made bug 899 for this Note that fixed an off-by-one error in the texrow counting code recently. Also, we cannot set the error at the right place, now that lars have removed the code that makes sure that non-nice files have at most one word per line. JMarc
Re: chktex problems in 1.3.0pre2
On Sat, Feb 15, 2003 at 10:13:21PM +0100, Jean-Marc Lasgouttes wrote: I made bug 899 for this Note that fixed an off-by-one error in the texrow counting code recently. doesn't affect this Also, we cannot set the error at the right place, now that lars have removed the code that makes sure that non-nice files have at most one word per line. I was wondering how we could have ever done it ... didn't realise code got removed. A pity (probably) Now if osmeone could just explain increasePos()...
Re: chktex problems in 1.3.0pre2
On Thu, Jan 30, 2003 at 11:55:35AM +0100, Helge Hafting wrote: > Sure, here is a little two-paragraph one. The boxes seems to go in the > wrong place if the paragraph with the error has more text after the > errors. Confirmed. I don't even want to look at why, mainly because the TexRow::increasePos() code is thoroughly baffling to me. I made bug 899 for this john
Re: chktex problems in 1.3.0pre2
John Levon a écrit: On Thu, Jan 30, 2003 at 11:55:35AM +0100, Helge Hafting wrote: Sure, here is a little two-paragraph one. The boxes seems to go in the wrong place if the paragraph with the error has more text after the errors. Confirmed. I don't even want to look at why, mainly because the TexRow::increasePos() code is thoroughly baffling to me. I made bug 899 for this Note that fixed an off-by-one error in the texrow counting code recently. Also, we cannot set the error at the right place, now that lars have removed the code that makes sure that non-nice files have at most one word per line. JMarc
Re: chktex problems in 1.3.0pre2
On Sat, Feb 15, 2003 at 10:13:21PM +0100, Jean-Marc Lasgouttes wrote: > >I made bug 899 for this > > Note that fixed an off-by-one error in the texrow counting code > recently. doesn't affect this > Also, we cannot set the error at the right place, now that > lars have removed the code that makes sure that non-nice files have at > most one word per line. I was wondering how we could have ever done it ... didn't realise code got removed. A pity (probably) Now if osmeone could just explain increasePos()...
Re: chktex problems in 1.3.0pre2
Jean-Marc Lasgouttes wrote: Helge == Helge Hafting [EMAIL PROTECTED] writes: Helge I tried chktex and got lots of: Interword spacing (`\ ') Helge should perhaps be used. Helge Lyxx place the error boxes in the wrong locations, about a line Helge after where they ought to be when comparing to chktex on the Helge exported tex file. Can you send an example file where this happens? JMarc Sure, here is a little two-paragraph one. The boxes seems to go in the wrong place if the paragraph with the error has more text after the errors. Shorten the paragraph and everything is fine. Helge Hafting #LyX 1.3 created this file. For more info see http://www.lyx.org/ \lyxformat 221 \textclass scrbook \options idxtotoc,liststotoc,cleardoubleempty,chapterprefix \language norsk \inputencoding auto \fontscheme default \graphics default \paperfontsize default \spacing single \papersize Default \paperpackage a4 \use_geometry 1 \use_amsmath 0 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \paperwidth 17cm \paperheight 24cm \secnumdepth 2 \tocdepth 2 \paragraph_separation skip \defskip medskip \quotes_language french \quotes_times 2 \papercolumns 1 \papersides 2 \paperpagestyle fancy \layout Standard This is a file where chktex warnings are positioned incorrectly. I.e. below the correct location on the display. Punctuation errors: ..., use \begin_inset Quotes fld \end_inset \SpecialChar \ldots{} \begin_inset Quotes frd \end_inset instead. More stuff more stuff more stuff more stuff more stuff \layout Standard Actually, the errors displays correctly if all the \begin_inset Quotes fld \end_inset more stuff \begin_inset Quotes frd \end_inset is removed. The error boxes appear too low \emph on if \emph default there is more text in the same paragraph as the error. The width of the lyx window don't seem to matter much. \the_end
Re: chktex problems in 1.3.0pre2
Jean-Marc Lasgouttes wrote: > > > "Helge" == Helge Hafting <[EMAIL PROTECTED]> writes: > > Helge> I tried chktex and got lots of: "Interword spacing (`\ ') > Helge> should perhaps be used." > > Helge> Lyxx place the error boxes in the wrong locations, about a line > Helge> after where they ought to be when comparing to chktex on the > Helge> exported tex file. > > Can you send an example file where this happens? > > JMarc Sure, here is a little two-paragraph one. The boxes seems to go in the wrong place if the paragraph with the error has more text after the errors. Shorten the paragraph and everything is fine. Helge Hafting #LyX 1.3 created this file. For more info see http://www.lyx.org/ \lyxformat 221 \textclass scrbook \options idxtotoc,liststotoc,cleardoubleempty,chapterprefix \language norsk \inputencoding auto \fontscheme default \graphics default \paperfontsize default \spacing single \papersize Default \paperpackage a4 \use_geometry 1 \use_amsmath 0 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \paperwidth 17cm \paperheight 24cm \secnumdepth 2 \tocdepth 2 \paragraph_separation skip \defskip medskip \quotes_language french \quotes_times 2 \papercolumns 1 \papersides 2 \paperpagestyle fancy \layout Standard This is a file where chktex warnings are positioned incorrectly. I.e. below the correct location on the display. Punctuation errors: ..., use \begin_inset Quotes fld \end_inset \SpecialChar \ldots{} \begin_inset Quotes frd \end_inset instead. More stuff more stuff more stuff more stuff more stuff \layout Standard Actually, the errors displays correctly if all the \begin_inset Quotes fld \end_inset more stuff \begin_inset Quotes frd \end_inset is removed. The error boxes appear too low \emph on if \emph default there is more text in the same paragraph as the error. The width of the lyx window don't seem to matter much. \the_end
Re: chktex problems in 1.3.0pre2
Helge == Helge Hafting [EMAIL PROTECTED] writes: Helge I tried chktex and got lots of: Interword spacing (`\ ') Helge should perhaps be used. Helge Lyxx place the error boxes in the wrong locations, about a line Helge after where they ought to be when comparing to chktex on the Helge exported tex file. Can you send an example file where this happens? JMarc
Re: chktex problems in 1.3.0pre2
> "Helge" == Helge Hafting <[EMAIL PROTECTED]> writes: Helge> I tried chktex and got lots of: "Interword spacing (`\ ') Helge> should perhaps be used." Helge> Lyxx place the error boxes in the wrong locations, about a line Helge> after where they ought to be when comparing to chktex on the Helge> exported tex file. Can you send an example file where this happens? JMarc
Re: chktex problems in 1.3.0pre2
Helge == Helge Hafting [EMAIL PROTECTED] writes: Helge I tried chktex and got lots of: Interword spacing (`\ ') Helge should perhaps be used. Helge Lyxx place the error boxes in the wrong locations, about a line Helge after where they ought to be when comparing to chktex on the Helge exported tex file. I bet that you see the same with latex errors (try to insert \foo in ERTR somewhere). Actually, it would be nice to investigate in which sttuation it occurs. We spend our time fixing and breaking the accounting for lines to place error insets. JMarc
Re: chktex problems in 1.3.0pre2
> "Helge" == Helge Hafting <[EMAIL PROTECTED]> writes: Helge> I tried chktex and got lots of: "Interword spacing (`\ ') Helge> should perhaps be used." Helge> Lyxx place the error boxes in the wrong locations, about a line Helge> after where they ought to be when comparing to chktex on the Helge> exported tex file. I bet that you see the same with latex errors (try to insert \foo in ERTR somewhere). Actually, it would be nice to investigate in which sttuation it occurs. We spend our time fixing and breaking the accounting for lines to place error insets. JMarc