Re: [O] Bug: Line breaks in exported LaTeX code [7.8.11]

2012-06-14 Thread Uffe Høgsbro Thygesen

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 Thygesenu...@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?







Re: [O] Bug: Line breaks in exported LaTeX code [7.8.11]

2012-06-14 Thread Eric S Fraga
Uffe Høgsbro Thygesen u...@aqua.dtu.dk writes:

 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)

Interesting.  I do not understand why longlines-mode should cause this
problem.  However, this mode has always had quirky behaviour.

You may wish to use visual-line-mode instead which works similar to
longlines-mode but better, IMO.

-- 
: Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D
: in Emacs 24.1.50.1 and Org release_7.8.11-69-ga2fd96




Re: [O] Bug: Line breaks in exported LaTeX code [7.8.11]

2012-06-13 Thread Eric S Fraga
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?


-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.1.50.1
: using Org release_7.8.11-69-ga2fd96