<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 16 April 2017 at 01:50, <span dir="ltr"><<a href="mailto:great123456@mail.com" target="_blank">great123456@mail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">A few days ago I found and ran chtex over my source. Though my source<br>
produces correct results when latex runs it over I did get a surprising<br>
amount of warnings. I have been rather through about reading about<br>
latex, so some things are easy to fix but hard to understand why they are<br>
wrong, the opposite is true for others so please land a hand (I have<br>
removed duplicate warnings).<br>
<br>
Thanks,<br>
David<br>
<br>
<br>
% chktex wms.tex<br>
ChkTeX v1.7.1 - Copyright 1995-96 Jens T. Berger Thielemann.<br>
Compiled with PCRE regex support.<br>
<br>
<br>
Warning 18 in wms.tex line 36: Use either `` or '' as an alternative to<br>
`"'. Also, several of the WMs advertize "session managment" which should<br>
remember ^<br>
<br>
# What is wrong with "?<br></blockquote><div><br></div><div>" is never correct as an input character. Depending on the font encoding in use it may, produce a double right quote</div><div>but even that is not guaranteed in general. use ` ` ' ' (without the spaces)</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Warning 13 in wms.tex line 39: Intersentence spacing (`\@') should<br>
perhaps be used.<br>
is managed when restarting the WM. So "session management" means several<br>
things ^<br>
<br>
# I'm lost here<br></blockquote><div><br></div><div>after WM. the . is taken to be marking an abbreviation so if, as seems likely given the capital S following,</div><div>you want an end of sentence here you need to mark that with \@</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Warning 44 in wms.tex line 52: User Regex: -2:Vertical rules in tables<br>
are ugly. \begin{tabular}{l|l|l|l|l|l|l|<wbr>l|l|l}<br>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^<wbr>^^^^^^<br>
<br>
# What is a vertical rule, and how do I avoid it?<br></blockquote><div><br></div><div>Se the booktabs package for a diatribe on the evils of vertical rules:-)</div><div>Unlike the others this is simply suggesting a stylistic choice, that you avoid</div><div>vertical rules in tables (by not using |)</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Warning 1 in wms.tex line 338: Command terminated with space.<br>
\cleardoublepage<br>
^<br>
# Don't all commands end with a space?<br></blockquote><div><br></div><div>well yes but if it was "\LaTeX is weird" the space intended to be output would</div><div>just be taken as a command termination, and you'd need \LaTeX\ is</div><div>Presumably the checking command can not classify commands that produce</div><div>text from those like \cleardoublepage that do not. So the warning is spurious here.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Warning 26 in wms.tex line 348: You ought to remove spaces in front of<br>
punctuation.<br>
Your welcome to test it yourself and submit your findings :)<br>
^<br>
# How do you make a smiley then?<br>
<br>
Warning 9 in wms.tex line 348: `}' expected, found `)'.<br>
Your welcome to test it yourself and submit your findings :)<br></blockquote><div><br></div><div>again this is implementing a style suggestion based on classical</div><div>english punctuation. If you are making smiley's (or if you are French)</div><div>this advice is probably not right for your uses.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
^<br>
Warning 10 in wms.tex line 350: Solo `}' found.<br>
some WMs and not on others.}<br>
^<br>
# If I write something like this (and that too).<br>
# What do I do to not upset chktex?<br></blockquote><div><br></div><div>That looks like a TeX syntax error if it really is an unmatched }</div><br></div>David</div><div class="gmail_extra"><br></div></div>