From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Lindner Subject: Templating of PDF export Date: Sun, 2 Feb 2020 10:54:31 +0100 Message-ID: <899dd194-c042-47c9-a202-bc308a1f15ac@xgm.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:40562) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iyBxc-0006Tk-9i for emacs-orgmode@gnu.org; Sun, 02 Feb 2020 04:54:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iyBxb-0007r4-6l for emacs-orgmode@gnu.org; Sun, 02 Feb 2020 04:54:36 -0500 Received: from venus.centershock.net ([2a03:4000:13:2f1::1]:43302) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iyBxb-0007da-0W for emacs-orgmode@gnu.org; Sun, 02 Feb 2020 04:54:35 -0500 Received: from [IPv6:2a02:8070:1ba:c300:1ac8:efe9:90cd:bc3f] (unknown [IPv6:2a02:8070:1ba:c300:1ac8:efe9:90cd:bc3f]) by venus.centershock.net (Postfix) with ESMTPSA id 69911722C77 for ; Sun, 2 Feb 2020 10:54:31 +0100 (CET) Content-Language: en-US-large 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-mx.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Hello, I am collecting my cooking recipes in an org-mode file. While that certainly works for, I would like to have a nice LaTeX export for non-nerd mortals to look at. All recipes are in one file and each one looks like: * Pancakes ** Ingredients + 6 Eggs + 3 Apples ** Directions Just do it! ** Source My mother Sometimes I take a photo of the meal and ATTACH it. Most guides how to customize org export are about modifying the document class and latex snippets there there. However, the basic association with * Pancakes -> \section, ** Ingredients -> \subsection stays the same. Is there something builtin org-mode which allows to use a templating language that allows for a more freely combination of elements, similar to Jinja or alike? For example, I want to embed the attachment in the export, appropriately scaled and nicely placed and have a line break after each recipe. I know about org-chef, but AFAIK it's more about importing templates from websites, not about a nice export. Any ideas for that? Thanks! Florian