From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: [PATCH] ox-koma-letter.el: Add support for section Date: Sat, 02 Jan 2016 21:29:20 +0100 Message-ID: <87y4c7wwrj.fsf@gmx.us> References: <87lh88zzzzz01o@me.localhost.invalid> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34305) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFSnu-0000fX-BR for emacs-orgmode@gnu.org; Sat, 02 Jan 2016 15:29:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aFSnq-0000Ho-4w for emacs-orgmode@gnu.org; Sat, 02 Jan 2016 15:29:34 -0500 Received: from plane.gmane.org ([80.91.229.3]:48040) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFSnp-0000Hk-UK for emacs-orgmode@gnu.org; Sat, 02 Jan 2016 15:29:30 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aFSno-00036m-MI for emacs-orgmode@gnu.org; Sat, 02 Jan 2016 21:29:28 +0100 Received: from 192.38.10.18 ([192.38.10.18]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 02 Jan 2016 21:29:28 +0100 Received: from rasmus by 192.38.10.18 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 02 Jan 2016 21:29:28 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi Daniele, First, thanks for your patch. Daniele Pizzolli writes: > I was really surprised that headlines, that are so common in org-mode > are discarded by default in ox-koma-letter. Why? They are not supported by scrlttr2.cls, except if you download an extra lco file, not distributed via CTAN. As such, I don’t think it should be supported by ox-koma-letter.el. A general headline property that allows to insert arbitrary code right before a headline (such as "@@latex:\clearpage@@") might be a more fruitful approach. > +Add [sections] to LATEX_CLASS_OPTIONS with: > + > +#+LATEX_CLASS_OPTIONS: [sections] > + > +If section.lco is unavaliable the section are exported in the tex > +source but not rendered in the final pdf. Whether section.lco is available or not is a complicated question. You first need to figure out what is the tex distribution (what if it’s not in PATH) and whether section.lco is available via something like kpsewhich. Note that e.g. TL also looks in the current path. Regards, Rasmus -- Summon the Mothership!