Alternating work on a laptop, netbook and tablet the word wrap of a document is sometimes too long (for small screens) and too short (for large screens). This also got me thinking.
Is there a tool like HTMLTidy for LaTeX that can properly reformat/beautify a document?
Ideally it should include
- Fixing of indentation and tag alignment (some editors do little to aid here)
- Word wrapping (hard and soft) - but definitely context aware
- Configuration options like for tabs vs spaces, wrapping width, tag alignment
cli tools like fold are not context aware enough (it would mangle commented sections and just focus on the wrapping aspect) and makes compilation fail at time.
This link mentions texpretty and this discussion mentions a LaTeX tidy perl script by Eric Hsu.
What experiences have you had, or what tools can be suggested (preferably cli and platform independent)?
ctanlink. I made anarararule for the script- I was hoping that would help users of all editors :) – cmhughes Jul 15 '13 at 09:32arara. I'll ask Harish for a contact of yours, if you don't mind, so we can talk about it privately. – karlkoeller Jul 15 '13 at 09:38