emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [PATCH] ox-koma-letter.el: Add support for fromurl variable


From: Rasmus
Subject: Re: [O] [PATCH] ox-koma-letter.el: Add support for fromurl variable
Date: Mon, 09 Jan 2017 10:42:16 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Hi Grant,

Thanks for the patch.

Grant Rettke <address@hidden> 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!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]