TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to completely separate formatting and content creation. The articles I will write are all plain prose that requires minimum or zero LaTeX formatting.

Also, the text file doesn't have the one-blank-line gap between paragraphs. They are separated only by one linefeed.

Is there a way to import it roughly like:


Can I also tell LaTeX to interpret the single linefeeds as new paragraph?

share|improve this question
up vote 23 down vote accepted

Sure. TeX inserts (by default) ^^M at the end of each line. So something like

\let ^^M\par%

should do it, although I didn't test.

Edit: I just remembered the \obeylines macro which does exactly what I wrote above.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.