[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Org publish restrict to certain levels
From: |
Nick Dokos |
Subject: |
Re: [O] Org publish restrict to certain levels |
Date: |
Tue, 27 Mar 2012 21:20:56 -0400 |
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