emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Re: what happened to the #+OPTIONS: \n:t ?


From: Carsten Dominik
Subject: Re: [O] Re: what happened to the #+OPTIONS: \n:t ?
Date: Mon, 4 Apr 2011 20:44:19 +0200

On 4.4.2011, at 19:57, Nick Dokos wrote:

> Bernt Hansen <address@hidden> wrote:
> 
>> katepano <address@hidden> 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.

Also, some information about the reasoning behind this decision is
in this thread:

http://thread.gmane.org/gmane.emacs.orgmode/20636

- Carsten

> 
> Nick
> 
> ,----
> | commit 0776eab890a7352144dd6c56523dbf3ab3f1b71d
> | Author: Carsten Dominik <address@hidden>
> | 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  <address@hidden>
> |  
> | +   * 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.
> `----
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]