From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: [PATCH] ox-koma-letter.el: Add support for fromurl variable
Date: Mon, 09 Jan 2017 10:42:16 +0100 [thread overview]
Message-ID: <87a8b0h8nb.fsf@gmx.us> (raw)
In-Reply-To: CAAjq1me1sNih800nms8UgAWyPvDuVGre0Xueg8ih+TDVtrM+Zw@mail.gmail.com
Hi Grant,
Thanks for the patch.
Grant Rettke <gcr@wisdomandwonder.com> writes:
> I want to use the fromurl variable in KOMA so I copied how the phone
> variable works.
>
> The next change that I want to make is to include the description for
> the fromurl like this:
>
> \setkomavar{fromurl}[description]{content}
>
> I haven't figured out how to do that yet.
At the moment there's no direct support for [description] for any
variables in KOMA letters generated through Org. What is the use-case
here?
The default description is "Url" and it does not have a corresponding
"symbolicname".
In general, descriptors are used in headers or footers which would
typically be set up in a separate LCO file, I’d guess. E.g.
\ifkomavarempty{fromurl}{}{\usekomavar*{fromurl}\usekomavar{fromurl}}
> Maybe the simplest thing is to let the user define it as a list with
> url and description like this:
This should be done for all komavars if it was to be added IMO.
Thanks,
Rasmus
--
Hooray!
next prev parent reply other threads:[~2017-01-09 9:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-04 22:10 [PATCH] ox-koma-letter.el: Add support for fromurl variable Grant Rettke
2017-01-04 22:57 ` Nicolas Goaziou
2017-01-09 9:42 ` Rasmus [this message]
2017-07-14 1:39 ` Grant Rettke
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a8b0h8nb.fsf@gmx.us \
--to=rasmus@gmx.us \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).