From mboxrd@z Thu Jan 1 00:00:00 1970 From: Young-whan Subject: Cannot export Latex to PDF when "Body Only" is "on" Date: Mon, 2 Jan 2017 22:46:12 -0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c07d3182ec3fb05452b064f Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56641) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cOIrQ-0003tu-Bd for emacs-orgmode@gnu.org; Tue, 03 Jan 2017 01:46:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cOIrP-0000bw-C3 for emacs-orgmode@gnu.org; Tue, 03 Jan 2017 01:46:16 -0500 Received: from mail-qk0-x230.google.com ([2607:f8b0:400d:c09::230]:35346) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cOIrP-0000bk-8O for emacs-orgmode@gnu.org; Tue, 03 Jan 2017 01:46:15 -0500 Received: by mail-qk0-x230.google.com with SMTP id u25so356387666qki.2 for ; Mon, 02 Jan 2017 22:46:13 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org --94eb2c07d3182ec3fb05452b064f Content-Type: text/plain; charset=UTF-8 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? --94eb2c07d3182ec3fb05452b064f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
There is no issue to export org to latex pdf when "Bo= dy Only" is "off"

But, when "Body On= ly" is "on", the export is failed always.

Comparing "Body Only" on and off case, the on-case doesn&#= 39;t have \documentclass or=C2=A0\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?
--94eb2c07d3182ec3fb05452b064f--