[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [PATCH] ox-koma-letter.el: Add support for 'location' koma varia
From: |
Myles English |
Subject: |
Re: [O] [PATCH] ox-koma-letter.el: Add support for 'location' koma variable |
Date: |
Fri, 29 Jan 2016 22:08:10 +0000 |
User-agent: |
mu4e 0.9.15; emacs 24.5.1 |
Rasmus,
Rasmus writes:
> I’m arguing for a solution that supports BOTH "one-off" and permanent
> data.
OK, sorry, I thought you were arguing for a heading tagged :location:
and against an option #+LOCATION or property :EXPORT_LOCATION:. How
about applying my patch please and the tagged heading can be developed
by someone™ 'later'.
> The keyword is convenient when you want to insert a pointer to field. I
>
> But for a one-off letter where I might need to include "one-off" details
> on the left, I’d rather type:
>
> * bank details :location:
> Acc. No.: 1234567890
> at Big Bank
> Sort Code: 11-22-33
>
> Than
>
> #+latex_header: \setkomavar{frombank}{\raggedright
> Acc.~No.:\,1234567890\\at Big Bank\\Sort Code: 11-22-33}
> #+Location: \usekomavar{frombank}
>
> To me the former reads much easier and hides away the technical details.
> Thus, I wish to see to see support for entry forms.
Alright, I get the general idea but in that specific case this would be
simpler:
#+LOCATION: \raggedright Acc.~No.:\,1234567890\\at Big Bank\\Sort Code: 11-22-33
Myles
Re: [O] [PATCH] ox-koma-letter.el: Add support for 'location' koma variable, Eric S Fraga, 2016/01/28