[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Export settings in subtree level with org-koma-letter
From: |
Sébastien Gendre |
Subject: |
Export settings in subtree level with org-koma-letter |
Date: |
Sat, 17 Jun 2023 00:32:49 +0200 |
User-agent: |
mu4e 1.8.11; emacs 28.2 |
Hello,
I try to use Org-mode and org-koma-letter to make letters.
I want to have one file where each first level headline as a letter. So,
I tried to define the export settings of org-koma-letter as headline
properties. With no success.
Here is an example:
#+begin_src org
* Example of letter
:PROPERTIES:
:LANGUAGE: en
:AUTHOR: Me
:FROM_ADDRESS: 4 place of nowhere
:EMAIL: me@example.com
:PHONE_NUMBER: 000-000-000
:TO_ADDRESS: Someone, 4 place somewhere
:OPENING: Hello,
:CLOSING: Bye.
:DATE: \today
:PLACE: Here
:OPTIONS: foldmarks:nil phone:t email:t
:END:
This is a test of text, a test of text, a test of text, a test of
text, a test of text, a test of text, a test of text, a test of text,
a test of text, a test of text, a test of text, a test of text, a test
of text, a test of text, a test of text, a test of text, a test of
text, a test of text, a test of text, a test of text, a test of text,
a test of text, a test of text, a test of text, a test of text, a test
of text, a test of text, a test of text, a test of text, a test of
text, a test of text, a test of text, a test of text, a test of text,
a test of text, a test of text, a test of text, a test of text.
* Another example of letter
:PROPERTIES:
:LANGUAGE: en
:AUTHOR: Not me
:FROM_ADDRESS: 5 place of nowhere
:EMAIL: not-me@example.com
:PHONE_NUMBER: 000-000-001
:TO_ADDRESS: Someone, 5 place somewhere
:OPENING: Hello there,
:CLOSING: I'll be back.
:DATE: \today
:PLACE: There
:OPTIONS: foldmarks:nil phone:t email:t
:END:
This is not a test of text, not a test of text, not a test of text, not a test
of
text, not a test of text, not a test of text, not a test of text, not a test of
text,
not a test of text, not a test of text, not a test of text, not a test of text,
not a test
of text, not a test of text, not a test of text, not a test of text, not a test
of
text, not a test of text, not a test of text, not a test of text, not a test of
text,
not a test of text, not a test of text, not a test of text, not a test of text,
not a test
of text, not a test of text, not a test of text, not a test of text, not a test
of
text, not a test of text, not a test of text, not a test of text, not a test of
text,
not a test of text, not a test of text, not a test of text, not a test of text.
#+end_src
After an export with ~(org-koma-letter-export-to-pdf nil t)~, in the
resulted PDF, only the author and date are set.
Do I do something wrong ?
Emacs version: 28.2
Orgmode version: 9.5.5
Best regards.
- Export settings in subtree level with org-koma-letter,
Sébastien Gendre <=