* 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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).