emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Org publish restrict to certain levels


From: Xin Shi
Subject: Re: [O] Org publish restrict to certain levels
Date: Wed, 28 Mar 2012 09:53:38 +0200

Thank you!

Xin



On Wed, Mar 28, 2012 at 3:20 AM, Nick Dokos <address@hidden> wrote:
Bastien <address@hidden> wrote:

> Hi Nick,
>
> Nick Dokos <address@hidden> writes:
>
> > Unfortunately, there is a bug in org-latex.el, in org-export-latex-subcontent
> >
> > ,----
> > |       ((listp org-export-latex-low-levels)
> > |        (if (string-match "% ends low level$"
> > |                          (buffer-substring (point-at-bol 0) (point)))
> > |            (delete-region (point-at-bol 0) (point))
> > |          (insert (car org-export-latex-low-levels) "\n"))     ;;;; <<<< org-export-latex-low-levels cannot be nil here: car will blow up
> > |        (insert (format (nth 2 org-export-latex-low-levels)    ;;;; <<<< or here: format will blow up
> > |                        heading
> > |                        (if label (format "\\label{%s}" label) "")))
> > |        (insert (org-export-latex-content content))
> > |        (cond ((stringp subcontent) (insert subcontent))
> > |              ((listp subcontent) (org-export-latex-sub subcontent)))
> > |        (insert (nth 1 org-export-latex-low-levels)
> > |                " %% ends low level\n"))
> > |
> > `----
>
> This is fixed -- you can now set `org-export-latex-low-levels' to nil,
> low levels won't be exported.
>

Verified - thanks!

Nick


reply via email to

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