emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Uffe Høgsbro Thygesen" <uht@aqua.dtu.dk>
To: e.fraga@ucl.ac.uk
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: Line breaks in exported LaTeX code [7.8.11]
Date: Thu, 14 Jun 2012 14:11:01 +0200	[thread overview]
Message-ID: <4FD9D4D5.2000104@aqua.dtu.dk> (raw)
In-Reply-To: <87haufcl9k.fsf@ucl.ac.uk>

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<uht@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	other threads:[~2012-06-14 12:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-08 11:27 Bug: Line breaks in exported LaTeX code [7.8.11] Uffe Høgsbro Thygesen
2012-06-13 14:57 ` Eric S Fraga
2012-06-14 12:11   ` Uffe Høgsbro Thygesen [this message]
2012-06-14 15:49     ` Eric S Fraga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FD9D4D5.2000104@aqua.dtu.dk \
    --to=uht@aqua.dtu.dk \
    --cc=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).