emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Florian Lindner <mailinglists@xgm.de>
To: emacs-orgmode@gnu.org
Subject: Templating of PDF export
Date: Sun, 2 Feb 2020 10:54:31 +0100	[thread overview]
Message-ID: <899dd194-c042-47c9-a202-bc308a1f15ac@xgm.de> (raw)

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

             reply	other threads:[~2020-02-02  9:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-02  9:54 Florian Lindner [this message]
2020-02-03 12:48 ` Templating of PDF export John Kitchin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=899dd194-c042-47c9-a202-bc308a1f15ac@xgm.de \
    --to=mailinglists@xgm.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).