Emanuel Berg via "General discussions about Org-mode." <emacs-orgmode@gnu.org> writes:
> Tim Cross wrote: >> #+latex_class: korma-article > user-error: Unknown LaTeX class ‘korma-article’ >> #+latex_header: \setlength{\parindent}{0pt} > Yes, that's removed the indentation but didn't insert > a blank line... First of all: You don't want this. :) Marking paragraphs by blank lines and without indentation is deemed less readable (see for example section 3.10 "Marking Paragraphs" in https://komascript.de/~mkohm/scrguien.pdf). But if you really insist on using this style, still the variant of setting the length parindent and parskip is considered bad practise. These are very fundamental values for LaTeX and influence a lot more that just the space between paragraphs. A much better solution would be to use the package =parskip= (just add "\usepackage{parskip}" to the preamble of the LaTeX document or add "#+LATEX_HEADER: \usepackage{parskip}" to the preamble of the Org document). If you want to customize the Org LaTeX export more globally, you can put something like this in your Emacs init.el: #+begin_src elisp (add-to-list 'org-latex-classes '("koma-article" "\\documentclass[a4paper, pagesize, headings=normal, version=last]{scrartcl}" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))) (setq org-latex-default-class "koma-article") (setq org-latex-packages-alist '(("" "unicode-math" t ("lualatex" "xelatex")) ("" "caption" nil) ("" "booktabs" t))) #+end_src In the case of the document classes of the Koma world, you have quite some options for paragraph formatting. If you still insist on your style of paragraph markings, you may add "parskip=full" to the global options of the documentclass. With the above settings, you globally define your preferred LaTeX documentclass and some global settings as well as add some additionals packages that are used on every LaTeX export done via Org. So you do not have to put anything special in the individual Org documents but the pure content (at the cost that the same Org document may produce a different output on other Emacs installations with different global settings). For more details on what can be configured see https://orgmode.org/manual/Exporting.html#Exporting. The options there are mostly presented as in-document settings but most if not all of them may also be set in some way globally via Emacs init. -- Until the next mail..., Stefan.