emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] what settings would make original export to pdf as good as pando


From: Eric S Fraga
Subject: Re: [O] what settings would make original export to pdf as good as pandoc conversion?
Date: Sat, 10 Mar 2018 00:05:27 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

On Friday,  9 Mar 2018 at 13:26, Samuel Wales wrote:

[...]

> 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}")))

No, this won't work.  You need to check the documentation for the
variable to see the structure that is expected:

org-latex-classes is a variable defined in ‘ox-latex.el’.
Its value is shown below.

Documentation:
Alist of LaTeX classes and associated header and structure.
If #+LATEX_CLASS is set in the buffer, use its value and the
associated information.  Here is the structure of each cell:

  (class-name
    header-string
    (numbered-section . unnumbered-section)
    ...)

(continues)

Type C-h v org-latex-classes RET for the full description.  The
header-string can include those particular indent and skip settings
along with other bits.

-- 
Eric S Fraga via Emacs 27.0.50, Org release_9.1.6-191-g90607d

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]