Is it possible to make it so that LaTeX will ignore newlines in the source? e.g. it shouldn't do anything to the output if I use an empty line.
I like to keep my source fairly spaced out for easier reading, but that becomes fairly difficult since an empty line forces a new paragraph.
%at the beginning of any blank line that shouldn't mark a paragraph break is the usual method. see New-lines in tex source. What are the rules? for a discussion, and in particular the comment with links. – barbara beeton Dec 22 '16 at 14:47\catcode13=10and then you have to use\parto indicate paragraphs. But this could possibly mess up other things, so I don't recommend it. – Pieter van Oostrum Dec 22 '16 at 15:50