* org-export-region-as-latex skips header
@ 2012-10-19 14:48 Christopher Schmidt
2012-10-26 13:06 ` Bastien
0 siblings, 1 reply; 2+ messages in thread
From: Christopher Schmidt @ 2012-10-19 14:48 UTC (permalink / raw
To: emacs-orgmode
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?
Christopher
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: org-export-region-as-latex skips header
2012-10-19 14:48 org-export-region-as-latex skips header Christopher Schmidt
@ 2012-10-26 13:06 ` Bastien
0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2012-10-26 13:06 UTC (permalink / raw
To: emacs-orgmode
Hi Christopher,
Christopher Schmidt <christopher@ch.ristopher.com> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-10-26 13:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-19 14:48 org-export-region-as-latex skips header Christopher Schmidt
2012-10-26 13:06 ` Bastien
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.