Hi Eric

Thanks! No, I hadn't thought of that, silly me.

It turns out that the following line in my .emacs caused the problems:

(add-hook 'LaTeX-mode-hook 'longlines-mode)

So now I have commented that one out and the export works fine and has all the line breaks I had expected. I guess I will just enable longlines mode manually when editing LaTeX from now on.

Thanks again for the pointer!

Cheers

Uffe



On 06/13/2012 04:57 PM, Eric S Fraga wrote:
Uffe Høgsbro Thygesen<u...@aqua.dtu.dk>  writes:

Greetings Orgs

When exporting an .org file to LaTeX, no line breaks are inserted into
the LaTeX source code. With default options from a fresh install, the
LaTeX code will not compile, because documentclass information appears
on the first line of the LaTeX source, which is a comment:

% Created 2012-06-08 Fri 12:58 \documentclass{article} [...]
This doesn't happen to me.  Have you tried with "emacs -Q" to ensure
that it's not something in your configuration?




Reply via email to