From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MM3FNwTBYV9bSgAA0tVLHw (envelope-from ) for ; Wed, 16 Sep 2020 07:38:44 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id CH4aMgTBYV+cNgAAbx9fmQ (envelope-from ) for ; Wed, 16 Sep 2020 07:38:44 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6F6519404D7 for ; Wed, 16 Sep 2020 07:38:44 +0000 (UTC) Received: from localhost ([::1]:52082 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kIS1b-0006wS-Ef for larch@yhetil.org; Wed, 16 Sep 2020 03:38:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49042) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kIS0S-0006eG-BT for emacs-orgmode@gnu.org; Wed, 16 Sep 2020 03:37:32 -0400 Received: from basilikum.nobis-admin.de ([89.238.71.130]:41908) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kIS0P-0007yj-PV for emacs-orgmode@gnu.org; Wed, 16 Sep 2020 03:37:31 -0400 Received: from bohne (p200300cd6736d3007859ba0db1e6cdbd.dip0.t-ipconnect.de [IPv6:2003:cd:6736:d300:7859:ba0d:b1e6:cdbd]) by basilikum.nobis-admin.de (Postfix) with ESMTPSA id 6871E6D81793 for ; Wed, 16 Sep 2020 09:37:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=snobis.de; s=default; t=1600241846; bh=ikM47CDfXPFLIzxBtfGFAI6V8drNy3sEzhiuRnkJBOw=; h=From:To:Subject:References:Date:In-Reply-To:From; b=fEwUf9XRDZFXlueZFdh8wm57N4TuPk0jsVZuYGFWb62lmiQuO4keqYv53lL2UVm/H 9SUaew/aGNWh9oLTwhuPtgLtuZTQn9o7tHdcZneQPltXTf64b4bN240tk6vF+yDlVV WjmTLViNoNaD6tSh1z2K9RhAZaif1iXLsrNh+FLI= From: Stefan Nobis To: emacs-orgmode@gnu.org Subject: Re: basic org questions References: <87o8m7t5xa.fsf@ebih.ebihd> <87a6xq37tm.fsf@gmail.com> <878sdaiiti.fsf@ebih.ebihd> Mail-Followup-To: emacs-orgmode@gnu.org Date: Wed, 16 Sep 2020 09:37:25 +0200 In-Reply-To: <878sdaiiti.fsf@ebih.ebihd> (Emanuel Berg via's message of "Wed, 16 Sep 2020 03:58:17 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=89.238.71.130; envelope-from=stefan-ml@snobis.de; helo=basilikum.nobis-admin.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/16 02:15:33 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=snobis.de header.s=default header.b=fEwUf9XR; dmarc=pass (policy=reject) header.from=snobis.de; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -1.71 X-TUID: nVu6f6CZslky Emanuel Berg via "General discussions about Org-mode." writes: > Tim Cross wrote: >> #+latex_class: korma-article > user-error: Unknown LaTeX class =E2=80=98korma-article=E2=80=99 >> #+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 =3Dparskip=3D (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=3Dnormal, ver= sion=3Dlast]{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=3Dfull" 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. --=20 Until the next mail..., Stefan.