ox-koma-letter: AUTHOR and EMAIL handling changes
authorViktor Rosenfeld (kenny) <he-sk@kenny>
Wed, 22 May 2013 15:00:15 +0000 (17:00 +0200)
committerViktor Rosenfeld (kenny) <he-sk@kenny>
Wed, 22 May 2013 15:00:31 +0000 (17:00 +0200)
exporters/koma-letter-example.org
exporters/koma-letter-export.org

index 0e21896..7e5d9d0 100644 (file)
@@ -1,7 +1,7 @@
 #+LATEX_CLASS: my-letter
 #+TITLE: A simple letter
 #+DATE: April 22, 2013
-#+SENDER: Jane Doe
+#+AUTHOR: Jane Doe
 #+FROM_ADDRESS: Some Street 1\\
 #+FROM_ADDRESS: 12345 Some City
 #+TO_ADDRESS: John Doe\\
index f1f83cb..0096ce2 100644 (file)
@@ -237,20 +237,20 @@ lines. In general, they correspond to a LaTeX command such as:
 \setkomavar{<KOMA variable>}{<value>}
 #+END_SRC
 
-| Option line       | Emacs variable                      | KOMA variable | Default value | Description                           |
-|-------------------+-------------------------------------+---------------+---------------+---------------------------------------|
-| =#+LCO:=          | =org-koma-letter-class-option-file= |               | =DIN=         | The default LCO file.                 |
-| =#+TITLE:=        |                                     | =subject=     | Empty[fn:1]   | The letter's subject.                 |
-| =#+DATE:=         |                                     | =date=        | Today's date  | The letter's date stamp.              |
-| =#+PLACE:=        | =org-koma-letter-place=             | =place=       | =nil=         | The letter's place stamp.             |
-| =#+SENDER:=       | =org-koma-letter-sender=            | =fromname=    | =nil=         | The sender's name.                    |
-| =#+FROM_ADDRESS:= | =org-koma-letter-from-address=      | =fromaddress= | =nil=         | The sender's address.[fn:2]           |
-| =#+PHONE_NUMBER:= | =org-koma-letter-phone=             | =fromphone=   | =nil=         | The sender's phone number.            |
-| =#+EMAIL:=        | =org-koma-letter-email=             | =fromemail=   | =nil=         | The sender's email.                   |
-| =#+TO_ADDRESS:=   |                                     |               |               | The recipient's address.[fn:2][fn:3]  |
-| =#+OPENING:=      | =org-koma-letter-opening=           |               | =nil=         | The opening line of the letter.[fn:4] |
-| =#+CLOSING:=      | =org-koma-letter-closing=           |               | =nil=         | The closing line of the letter.[fn:4] |
-| =#+SIGNATURE:=    | =org-koma-letter-signature=         | =signature=   | =nil=         | The sender's signature.               |
+| Option line       | Emacs variable                      | KOMA variable | Default value                | Description                           |
+|-------------------+-------------------------------------+---------------+------------------------------+---------------------------------------|
+| =#+LCO:=          | =org-koma-letter-class-option-file= |               | =DIN=                        | The default LCO file.                 |
+| =#+TITLE:=        |                                     | =subject=     | Empty[fn:1]                  | The letter's subject.                 |
+| =#+DATE:=         |                                     | =date=        | Today's date                 | The letter's date stamp.              |
+| =#+PLACE:=        | =org-koma-letter-place=             | =place=       | =nil=                        | The letter's place stamp.             |
+| =#+AUTHOR:=       | =org-koma-letter-sender=            | =fromname=    | value of =user-full-name=    | The sender's name.                    |
+| =#+FROM_ADDRESS:= | =org-koma-letter-from-address=      | =fromaddress= | =nil=                        | The sender's address.[fn:2]           |
+| =#+PHONE_NUMBER:= | =org-koma-letter-phone=             | =fromphone=   | =nil=                        | The sender's phone number.            |
+| =#+EMAIL:=        | =org-koma-letter-email=             | =fromemail=   | value of =user-mail-address= | The sender's email.                   |
+| =#+TO_ADDRESS:=   |                                     |               |                              | The recipient's address.[fn:2][fn:3]  |
+| =#+OPENING:=      | =org-koma-letter-opening=           |               | =nil=                        | The opening line of the letter.[fn:4] |
+| =#+CLOSING:=      | =org-koma-letter-closing=           |               | =nil=                        | The closing line of the letter.[fn:4] |
+| =#+SIGNATURE:=    | =org-koma-letter-signature=         | =signature=   | =nil=                        | The sender's signature.               |
 
 *** DONE List of KOMA letter options