From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id UFOBOo/pjGRA8AAASxT56A (envelope-from ) for ; Sat, 17 Jun 2023 01:00:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id INeWOo/pjGTaewAAauVa8A (envelope-from ) for ; Sat, 17 Jun 2023 01:00:31 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B34D82EF42 for ; Sat, 17 Jun 2023 01:00:26 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qAIPh-0004di-EJ; Fri, 16 Jun 2023 18:59:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qAIPc-0004dE-Oj for emacs-orgmode@gnu.org; Fri, 16 Jun 2023 18:59:27 -0400 Received: from 96-100-31-185.ftth.cust.kwaoo.net ([185.31.100.96] helo=gandalf.k-7.ch) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qAIPa-0006Cs-RJ for emacs-orgmode@gnu.org; Fri, 16 Jun 2023 18:59:24 -0400 Received: from sherazad-lan (_gateway [192.168.1.1]) (Authenticated sender: seb) by gandalf.k-7.ch (Postfix) with ESMTPSA id B71A0716B for ; Sat, 17 Jun 2023 00:59:19 +0200 (CEST) References: <87ttv7kp2j.fsf@k-7.ch> User-agent: mu4e 1.8.11; emacs 28.2 From: =?utf-8?Q?S=C3=A9bastien?= Gendre 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 In-reply-to: <87ttv7kp2j.fsf@k-7.ch> Message-ID: <87pm5vko8o.fsf@k-7.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.31.100.96; envelope-from=seb@k-7.ch; helo=gandalf.k-7.ch X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) BAYES_00=-1.9, PDS_RDNS_DYNAMIC_FP=0.001, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, TVD_RCVD_IP=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1686956426; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=mGUNevgN4muJgHtv1vMx0z/S7Krq6LeRHBCz7Cuy4m4=; b=usetKFvvtdyw3XD3Ttn0Jts83ti9w8zlgi1X/j1GZ35ZVl6Vf7SUAAVJNWo8Qb2xdaOeQT lzs0Ozb1Ivf8Tmx/eU2UFvdcsi+0gxX3xuNV3gL379us8k++hSfnVKVaNFcvdcbcyh4lyw 7IMJRRPkmcXf8riILYq7m1rbXdS63hD1dwJrPd8m6b/oq0k6kxX+cUe5lTitz9KaY8w4h1 sttUx9obDOrr8TAFv3y9sYimdZK9PXqJP/XaxxUSb95LUQEkJtWe2axWZmSFhV7u060lkt +TevwNvbMUNH22i+ixLtqIztZLpsGjpt8aUJPGvUnrDKi2Cz15NOoJk+Iesrhw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1686956426; a=rsa-sha256; cv=none; b=juGmIKxyTVh+iOeWDOaFM6t3WR4mgxmVnP1mQFkARWjSxS6X1yxzLCoFRam2l4ll/zy9D8 XVfBaa6aJTqoFoNbjQip2ajsE8CKZsKTjPUKHXzRHqxeMNlHD9wXVDTzHmwfOStId8kwZ9 eQYMcDAYKWVayoBPfiv9T93VakY95FpbLDLq7VVzKPuMlNyO8Shgc4auMcjJ+daU144Mlo 5qWGrFgtqW/gnwrD8nvsUjtQjxJwBxyKb8itnxFPdO5jXyfsAUzrWr5kHhHcRMeNoKDutb 6bIT76c0mL0/RN0Al51miMHo1Bb2YyLymcN/+48xDtJHVlVbVOWFOs1k1YgnjQ== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -1.53 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: B34D82EF42 X-Spam-Score: -1.53 X-TUID: zC2CPPcO7v4w 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=C3=A9bastien Gendre 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 t= est 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 t= est 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 t= est 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=C2=A0? > > Emacs version: 28.2 > Orgmode version: 9.5.5 > > > > Best regards.