emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Patch adding from-logo commentary ox-koma-letter.el
@ 2018-06-18 17:27 Grant Rettke
  2018-06-19  8:11 ` Nicolas Goaziou
  0 siblings, 1 reply; 8+ messages in thread
From: Grant Rettke @ 2018-06-18 17:27 UTC (permalink / raw)
  To: Bastien; +Cc: Org-mode

[-- Attachment #1: Type: text/plain, Size: 328 bytes --]

On Sat, Apr 28, 2018 at 1:32 AM, Bastien <bzg@gnu.org> wrote:
> Hi Grant,
>
> Grant Rettke <gcr@wisdomandwonder.com> 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.

Here is a patch to a commentary on how to use FROM_LOGO.

[-- Attachment #2: 0001-exporters-koma-letter-export.org-Add-FROM_LOGO-comme.patch --]
[-- Type: application/octet-stream, Size: 1609 bytes --]

From 324fc4dc82d929cb9310d8f491b6613c421e6a6c Mon Sep 17 00:00:00 2001
From: Grant Rettke <gcr@wisdomandwonder.com>
Date: Mon, 18 Jun 2018 12:14:04 -0500
Subject: [PATCH] * exporters/koma-letter-export.org: Add FROM_LOGO commentary.

* koma-letter-export.org: Enhance commentary on FROM_LOGO

Using FROM_LOGO is noticeably different than using the other options because:

1. It requires providing an image file for the logo.

2. It requires providing LaTeX markup to specify that logo.

Although the function document ion mentions the markup to use, it
doesn't explain that the user needs to provide a logo file in the same
directory as the letter.
---
 contrib/lisp/ox-koma-letter.el | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/contrib/lisp/ox-koma-letter.el b/contrib/lisp/ox-koma-letter.el
index fc6599fe7..4c09b456a 100644
--- a/contrib/lisp/ox-koma-letter.el
+++ b/contrib/lisp/ox-koma-letter.el
@@ -77,6 +77,12 @@
 ;;     (See also `org-koma-letter-author'),
 ;;   - EMAIL: Same as AUTHOR. (see also `org-koma-letter-email'),
 ;;
+;; Unlike using other variables, FROM_LOGO requires LaTeX markup and
+;; an image file for the logo. This is the markup to provide:
+;; \includegraphics{logo}. It's argument is the name of the logo file
+;; but without the file extension. The logo file needs to be located in
+;; the same directory as the letter that you are writing.
+;;
 ;; Headlines are in general ignored.  However, headlines with special
 ;; tags can be used for specified contents like postscript (ps),
 ;; carbon copy (cc), enclosures (encl) and code to be inserted after
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-06-28 16:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-18 17:27 Patch adding from-logo commentary ox-koma-letter.el Grant Rettke
2018-06-19  8:11 ` Nicolas Goaziou
2018-06-20 22:38   ` Grant Rettke
2018-06-21  3:40     ` Van L
2018-06-21  9:37     ` Nicolas Goaziou
2018-06-24  1:32       ` Grant Rettke
2018-06-27 14:28         ` Nicolas Goaziou
2018-06-28 16:03           ` Grant Rettke

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).