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