emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Cannot export Latex to PDF when "Body Only" is "on"
@ 2017-01-03  6:46 Young-whan
  2017-01-03 12:11 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Young-whan @ 2017-01-03  6:46 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 478 bytes --]

There is no issue to export org to latex pdf when "Body Only" is "off"

But, when "Body Only" is "on", the export is failed always.

Comparing "Body Only" on and off case, the on-case doesn't have
\documentclass or \usepackage headers. It looks it has only body and that's
why converting pdf fails always.

I can generate the "Body Only" "off" and modify the tex manually and
convert it pdf by manually via pdflatex, but it is tedious work.

Is there any way to fix this issue?

[-- Attachment #2: Type: text/html, Size: 675 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Cannot export Latex to PDF when "Body Only" is "on"
  2017-01-03  6:46 Cannot export Latex to PDF when "Body Only" is "on" Young-whan
@ 2017-01-03 12:11 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2017-01-03 12:11 UTC (permalink / raw)
  To: Young-whan; +Cc: emacs-orgmode

Hello,

Young-whan <youngsong15@gmail.com> writes:

> But, when "Body Only" is "on", the export is failed always.
>
> Comparing "Body Only" on and off case, the on-case doesn't have
> \documentclass or \usepackage headers. It looks it has only body and that's
> why converting pdf fails always.

Isn't it the point of a "body only" export?

It generates an incomplete tex document you can re-use somewhere else.

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-01-03 12:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-03  6:46 Cannot export Latex to PDF when "Body Only" is "on" Young-whan
2017-01-03 12:11 ` Nicolas Goaziou

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).