[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Org publish restrict to certain levels
From: |
Bastien |
Subject: |
Re: [O] Org publish restrict to certain levels |
Date: |
Tue, 27 Mar 2012 23:09:28 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) |
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.
Thanks,
--
Bastien
- Re: [O] Org publish restrict to certain levels,
Bastien <=