Hi Grant,

Thanks for the patch.

Grant Rettke <g...@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!


Reply via email to