emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] org-export-region-as-latex skips header


From: Bastien
Subject: Re: [O] org-export-region-as-latex skips header
Date: Fri, 26 Oct 2012 15:06:05 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.50 (gnu/linux)

Hi Christopher,

Christopher Schmidt <address@hidden> writes:

> Org-mode version 7.9.2 (release_7.9.2-52-g921998)
>
> C-x b test RET
> insert "* dub"
> M-: (org-export-region-as-latex (point-min) (point-max) nil 'string) RET
>
> org-export-region-as-latex returns
>
>     "\\section{dub}\n\\label{sec-1}\n\n\\end{document}\n"
>
> This does not look right to me.  Where is the header?

Using 'string as the value for `to-buffer' does produce a string with no
LaTeX header (i.e. it implicitely set body-only to t.)

I've fixed the docstring wrt this.

Thanks,

-- 
 Bastien



reply via email to

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