From: Nick Dokos <nicholas.dokos@hp.com>
To: Bernt Hansen <bernt@norang.ca>
Cc: emacs-orgmode@gnu.org, nicholas.dokos@hp.com,
katepano <katepano@gmail.com>
Subject: Re: Re: what happened to the #+OPTIONS: \n:t ?
Date: Mon, 04 Apr 2011 13:57:09 -0400 [thread overview]
Message-ID: <4967.1301939829@alphaville.usa.hp.com> (raw)
In-Reply-To: Message from Bernt Hansen <bernt@norang.ca> of "Mon, 04 Apr 2011 13:47:12 EDT." <874o6doqn3.fsf@norang.ca>
Bernt Hansen <bernt@norang.ca> wrote:
> katepano <katepano@gmail.com> writes:
>
> > what happen to the #+OPTIONS: \n:t ? we need it back please!!! why it
> > does not work????
>
> Something happened to it? This feature was not removed intentionally.
> I don't use this feature so I can't verify if it works or not without
> more information.
It's marked "DOES NOT WORK" in the manual. And git blame found this.
Nick
,----
| commit 0776eab890a7352144dd6c56523dbf3ab3f1b71d
| Author: Carsten Dominik <carsten.dominik@gmail.com>
| Date: Wed Dec 9 22:27:38 2009 +0100
|
| Preserving line breaks for export no longer works
|
| ASCII export always preserves them - no other export format does.
|
| diff --git a/doc/org.texi b/doc/org.texi
| index 1ba4352..8866704 100644
| --- a/doc/org.texi
| +++ b/doc/org.texi
| @@ -8926,7 +8926,7 @@ you can:
| H: @r{set the number of headline levels for export}
| num: @r{turn on/off section-numbers}
| toc: @r{turn on/off table of contents, or set level limit (integer)}
| -\n: @r{turn on/off line-break-preservation}
| +\n: @r{turn on/off line-break-preservation (DOES NOT WORK)}
| @@: @r{turn on/off quoted HTML tags}
| :: @r{turn on/off fixed-width sections}
| |: @r{turn on/off tables}
| diff --git a/lisp/ChangeLog b/lisp/ChangeLog
| index 025079e..0f23b9a 100755
| --- a/lisp/ChangeLog
| +++ b/lisp/ChangeLog
| @@ -1,5 +1,7 @@
| 2009-12-09 Carsten Dominik <carsten.dominik@gmail.com>
|
| + * org-latex.el (org-export-latex-make-header): Remove \obeylines.
| +
| * org.el (org-make-link-regexps): Use John Gruber's regexp for
| urls.
|
| diff --git a/lisp/org-latex.el b/lisp/org-latex.el
| index ce697a3..62f9a80 100644
| --- a/lisp/org-latex.el
| +++ b/lisp/org-latex.el
| @@ -1027,9 +1027,7 @@ OPT-PLIST is the options plist for current buffer."
| (format "\\setcounter{tocdepth}{%s}\n\\tableofcontents\n\\vspace*{1cm}\n"
| (min toc (plist-get opt-plist :headline-levels))))
| (toc (format "\\setcounter{tocdepth}{%s}\n\\tableofcontents\n\\vspace*{1cm}\n"
| - (plist-get opt-plist :headline-levels)))))
| - (when (plist-get opt-plist :preserve-breaks)
| - "\\obeylines\n"))))
| + (plist-get opt-plist :headline-levels))))))))
|
| (defun org-export-latex-first-lines (opt-plist &optional beg end)
| "Export the first lines before first headline.
`----
next prev parent reply other threads:[~2011-04-04 17:57 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-04 14:42 what happened to the #+OPTIONS: \n:t ? katepano
2011-04-04 17:44 ` Nick Dokos
2011-04-05 7:07 ` katepano
2011-04-05 7:18 ` Jambunathan K
2011-04-05 7:31 ` katepano
2011-04-05 7:52 ` Christian Moe
2011-04-05 7:56 ` katepano
2011-04-05 8:09 ` Carsten Dominik
2011-04-04 17:47 ` Bernt Hansen
2011-04-04 17:57 ` Nick Dokos [this message]
2011-04-04 18:44 ` Carsten Dominik
2011-04-04 18:02 ` Bernt Hansen
2011-04-04 23:28 ` Bastien
2011-04-05 8:04 ` Carsten Dominik
2011-04-05 8:15 ` katepano
2011-04-05 8:26 ` Carsten Dominik
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=4967.1301939829@alphaville.usa.hp.com \
--to=nicholas.dokos@hp.com \
--cc=bernt@norang.ca \
--cc=emacs-orgmode@gnu.org \
--cc=katepano@gmail.com \
/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).