Re: [O] Patch adding from-logo to ox-koma-letter.el

2018-04-27 Thread Bastien
Hi Grant,

Grant Rettke  writes:

> Here is how it works, the same way as the other ones:

If needed, don't hesitate to advertize this in the comment section
of the code.

Thanks!

-- 
 Bastien



Re: [O] Patch adding from-logo to ox-koma-letter.el

2018-04-27 Thread Bastien
Hi Grant,

Grant Rettke  writes:

> This patch adds from-logo support to ox-koma-letter.el.

Applied, thanks!

-- 
 Bastien



Re: [O] Patch adding from-logo to ox-koma-letter.el

2018-04-27 Thread Grant Rettke
On Fri, Apr 27, 2018 at 11:30 PM, Grant Rettke  wrote:
> Tested it manually with Elisp and also in buffer properties. There are
> four combinations (both in properties, both in Elisp, and then the two
> permutations).

Here is how it works, the same way as the other ones:

#+name: 
org_gcr_2018-04-27T22-46-38-05-00_mara_081C9DD8-1C37-4A55-833C-1BEC6AA754FF
#+begin_src sh
#+FROM_LOGO: \includegraphics{wnw-from-logo-1inx1in}
#+OPTIONS: from-logo:t
#+end_src

#+name: 
org_gcr_2018-04-27T22-46-38-05-00_mara_F28B56C1-0226-4AFB-B044-702315603A99
#+begin_src emacs-lisp
(setq org-koma-letter-from-logo "\\includegraphics{wnw-from-logo-1inx1in}")
(setq org-koma-letter-use-from-logo t)
#+end_src

If eventually this patch is accepted then I will update Worg with this variable.



[O] Patch adding from-logo to ox-koma-letter.el

2018-04-27 Thread Grant Rettke
Hi,

This patch adds from-logo support to ox-koma-letter.el.

Tested it manually with Elisp and also in buffer properties. There are
four combinations (both in properties, both in Elisp, and then the two
permutations).

It was a copy-and-paste job so I marked it as a tinychange even though
it was more than 15 lines.

Ran the system tests and they pass.

Sincerely,

Grant Rettke


0001-ox-koma-letter.el-Adds-from-logo-variable.patch
Description: Binary data