From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Wales Subject: Re: what settings would make original export to pdf as good as pandoc conversion? Date: Fri, 9 Mar 2018 13:26:46 -0700 Message-ID: References: <87y3jbara4.fsf@gmail.com> <87h8pxo0xf.fsf@gmail.com> <87fu59u585.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49231) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1euObJ-0006fK-PE for emacs-orgmode@gnu.org; Fri, 09 Mar 2018 15:26:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1euObJ-0005uc-18 for emacs-orgmode@gnu.org; Fri, 09 Mar 2018 15:26:49 -0500 Received: from mail-it0-x22c.google.com ([2607:f8b0:4001:c0b::22c]:37020) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1euObI-0005uJ-Rd for emacs-orgmode@gnu.org; Fri, 09 Mar 2018 15:26:48 -0500 Received: by mail-it0-x22c.google.com with SMTP id k79-v6so4333425ita.2 for ; Fri, 09 Mar 2018 12:26:48 -0800 (PST) In-Reply-To: <87fu59u585.fsf@gmail.com> 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: Samuel Wales , emacs-orgmode@gnu.org On 3/8/18, Eric S Fraga wrote: > On Thursday, 8 Mar 2018 at 12:55, Samuel Wales wrote: >> On 3/3/18, Eric S Fraga wrote: >>> #+latex_header: \setlength{\parindent}{0pt}\setlength{\parskip}{6pt} >> are there settings in .emacs that will do the same thing? > > Yes, you can put such commands in the definition of the org-latex > class. Check org-latex-classes. just feedback on the manual and the docstring, but i found nothing about an org-latex class. perhaps i wasn't supposed to? in my latex ignorance i think a class is probably like article, etc. maybe org-latex is a generic thing that gets put in front of article or something. in any case, greek to me. this was my best guess. (with-eval-after-load (add-to-list org-latex-classes '("org-latex" "\setlength{\parindent}{0pt}\setlength{\parskip}{6pt}"))) this isn't critical enough for me to pursue it further as i can use html export and then pandoc, but maybe the doc could say what org-latex class is. >>> A table of contents will probably only be generated if you have not >>> turned of heading numbering. this is interesting. i wonder why. >> interesting. i have 2 tables of contents for the same document. [1 >> level at front and complete at end.] i have num:t in properties >> drawer. >> >> in html, both export. in pdf, only the first exports. > > Cannot help here. Sorry. ok. :]. thanks.