[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: |
Mon, 19 Mar 2018 09:52:52 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
On Sunday, 18 Mar 2018 at 21:41, Samuel Wales wrote:
> On 3/13/18, Eric S Fraga <address@hidden> wrote:
>> Could you post a minimal example that illustrates this?
>
> here is the minimal example. [btw, it turns out that pandoc erros
> now, so i have to either get your direct export code to work, or fix
> pandoc's export.]
Couple of things:
1. Start your document with a top level heading, i.e. single * heading.
2. Remove any whitespace before the \[...] entries in your
org-latex-classes setting.
For instance, this seems to work fine for me although obviously with no
real content it is difficult to see the settings taking effect:
* NEXTKA fixing pdf to have better paragraphs
SCHEDULED: <2018-03-21 Wed>
#+begin_src emacs-lisp
(add-to-list 'org-latex-classes
'("article"
"
\\documentclass{scrartcl}
\[DEFAULT-PACKAGES]
\[PACKAGES]
\[EXTRA]
\\setlength{\\parindent}{0pt}
\\setlength{\\parskip}{6pt}
"
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
("\\paragraph{%s}" . "\\paragraph*{%s}")
("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
#+end_src
--
Eric S Fraga via Emacs 27.0.50, Org release_9.1.7-475-g3ffc7d
signature.asc
Description: PGP signature
- Re: [O] what settings would make original export to pdf as good as pandoc conversion?, (continued)
- Re: [O] what settings would make original export to pdf as good as pandoc conversion?, Eric S Fraga, 2018/03/09
- Re: [O] what settings would make original export to pdf as good as pandoc conversion?, Samuel Wales, 2018/03/09
- Re: [O] what settings would make original export to pdf as good as pandoc conversion?, Eric S Fraga, 2018/03/09
- Re: [O] what settings would make original export to pdf as good as pandoc conversion?, Samuel Wales, 2018/03/09
- Re: [O] what settings would make original export to pdf as good as pandoc conversion?, Eric S Fraga, 2018/03/12
- Re: [O] what settings would make original export to pdf as good as pandoc conversion?, Samuel Wales, 2018/03/12
- Re: [O] what settings would make original export to pdf as good as pandoc conversion?, Samuel Wales, 2018/03/12
- Re: [O] what settings would make original export to pdf as good as pandoc conversion?, Eric S Fraga, 2018/03/13
- Re: [O] what settings would make original export to pdf as good as pandoc conversion?, Samuel Wales, 2018/03/19
- Re: [O] what settings would make original export to pdf as good as pandoc conversion?, Samuel Wales, 2018/03/19
- Re: [O] what settings would make original export to pdf as good as pandoc conversion?,
Eric S Fraga <=
- Re: [O] what settings would make original export to pdf as good as pandoc conversion?, Samuel Wales, 2018/03/24
- Re: [O] what settings would make original export to pdf as good as pandoc conversion?, Eric S Fraga, 2018/03/25