From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Rettke Subject: Re: [PATCH] ox-koma-letter.el: Add support for fromurl variable Date: Thu, 13 Jul 2017 20:39:18 -0500 Message-ID: References: <87a8b0h8nb.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57591) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVpZg-0002lq-Qe for emacs-orgmode@gnu.org; Thu, 13 Jul 2017 21:39:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVpZf-0005YH-Vu for emacs-orgmode@gnu.org; Thu, 13 Jul 2017 21:39:20 -0400 Received: from mail-it0-x234.google.com ([2607:f8b0:4001:c0b::234]:38351) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dVpZf-0005Y8-QW for emacs-orgmode@gnu.org; Thu, 13 Jul 2017 21:39:19 -0400 Received: by mail-it0-x234.google.com with SMTP id k192so10585396ith.1 for ; Thu, 13 Jul 2017 18:39:19 -0700 (PDT) In-Reply-To: <87a8b0h8nb.fsf@gmx.us> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Rasmus Cc: "emacs-orgmode@gnu.org" On Mon, Jan 9, 2017 at 3:42 AM, Rasmus wrote: > 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=E2=80=99d guess. E.g. > > \ifkomavarempty{fromurl}{}{\usekomavar*{fromurl}\usekomavar{fromurl= }} I set it in the LCO file like this \setkomavar{fromurl}{\href{the ur}{the description}} And then enable/disable or override it in the Org document.