cmhughes/latexindent.plx — pull request #7 by vosskuhle (2013-08-31 18:49:24+00:00)
Title: Two additional options

Dear Mr. Hughes,

I implemented two new options, that were missing for my purposes, in `latexindent.pl`. I did not yet adapt the manual, but you'll find my proposed texts in the commit messages.

The first new option, `removeTrailingWhitespace`, does what it says. This is especially useful, when one keeps his documents in a VCS. The implementation in this case is hopefully pretty clean, although I am illiterate in perl.

The second option, `treatComments`, is a dirty hack (at least in comparison). So you might want to review my implementation more carefully. Its purpose is to avoid having lines like this one
```latex
%	%	%	%	%	\item
```
which may appear after repeated application of `latexindent.pl` and commenting/uncommenting lines.

Finally, as now I have the chance to do so, I want to thank you for developing this script, which already helped me a lot!

Best wishes,

Michel Voßkuhle