emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Sébastien Gendre" <seb@k-7.ch>
To: emacs-orgmode@gnu.org
Subject: Re: Export settings in subtree level with org-koma-letter
Date: Sat, 17 Jun 2023 00:57:07 +0200	[thread overview]
Message-ID: <87pm5vko8o.fsf@k-7.ch> (raw)
In-Reply-To: <87ttv7kp2j.fsf@k-7.ch>

So, I posted my question too soon.

To use the export option as properties, I had to add EXPORT_ prefix.

Example, not this:
:PROPERTIES:
:LANGUAGE: en
:AUTHOR: Me
:FROM_ADDRESS: 4 place of nowhere
:END:

But this:
:PROPERTIES:
:EXPORT_LANGUAGE: en
:EXPORT_AUTHOR: Me
:EXPORT_FROM_ADDRESS: 4 place of nowhere
:END:

Sorry.


Sébastien Gendre <seb@k-7.ch> writes:

> 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.



  reply	other threads:[~2023-06-16 23:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-16 22:32 Export settings in subtree level with org-koma-letter Sébastien Gendre
2023-06-16 22:57 ` Sébastien Gendre [this message]
2023-06-17 12:12   ` Ihor Radchenko

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=87pm5vko8o.fsf@k-7.ch \
    --to=seb@k-7.ch \
    --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).