On Sunday, 18 Mar 2018 at 21:41, Samuel Wales wrote: > On 3/13/18, Eric S Fraga <[email protected]> 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
