emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [PATCH] ox-koma-letter.el: Reintroduce variables removed in comm


From: Alan Schmitt
Subject: Re: [O] [PATCH] ox-koma-letter.el: Reintroduce variables removed in commit 832c6fd with proper defaults (was Re: [patch] ox-koma-letter.el: clean-up/semantic bug [4/4])
Date: Sat, 25 May 2013 11:20:41 +0200
User-agent: mu4e 0.9.9.5; emacs 24.3.1

Hello,

Viktor Rosenfeld writes:

> Hi Robert,
>
> Robert Klein wrote:
>
>> Hi,
>> 
>> FWIW, from a users view it would be nice if:
>> 
>> - Use Author/Email information from org file
>> - If not present use information from LCO file
>> - if neither org file nor LCO file has any information use
>>   user-full-name and user-email-address
>> 
>> Could this be solved by having several e.g. `setkomavar{fromname}'
>> and so on in the tex file, so is created as follows:
>> 
>> 
>> if no #+AUTHOR in org-file and user-full-name is set:
>>     add user-full-name
>> if #+LCO(s) in org-file:
>>     add LCO file(s)
>> if #+AUTHOR in org-file:
>>     add \setkomavar{fromname}{#+AUTHOR}
>> ....  same for email
>> add \setkomavar{signature}{\usekomavar{fromname}}
>
> This is what is implemented by the latest patch
> (http://thread.gmane.org/gmane.emacs.orgmode/72430/focus=72525).

I'm waiting for Rasmus's confirmation that it works for him before
committing it.

Alan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]