Hi Nick,
Nick Dokos <[email protected]> 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