From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: How to add custom markup elements and to define custom backends? Date: Wed, 4 Sep 2013 09:15:56 +0200 Message-ID: <22F8B30C-7CF5-42D7-8B96-E15ED2A6CE72@gmail.com> References: <20130904070606.GA802@smoon> Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56929) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VH7Ju-0007mH-LF for emacs-orgmode@gnu.org; Wed, 04 Sep 2013 03:16:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VH7Jm-0008RL-7v for emacs-orgmode@gnu.org; Wed, 04 Sep 2013 03:16:06 -0400 Received: from mail-ea0-x22f.google.com ([2a00:1450:4013:c01::22f]:34275) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VH7Jm-0008RF-18 for emacs-orgmode@gnu.org; Wed, 04 Sep 2013 03:15:58 -0400 Received: by mail-ea0-f175.google.com with SMTP id m14so3496169eaj.34 for ; Wed, 04 Sep 2013 00:15:57 -0700 (PDT) In-Reply-To: <20130904070606.GA802@smoon> 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Vladimir Lomov Cc: General discussions about Org-mode On Sep 4, 2013, at 9:06 AM, Vladimir Lomov wrote: > Hello, > sometimes I need markup elements than missing in Org mode, for example > combination of both bold and italic. Some backends, for instance html > and latex (with minor exception) support such combinations. So I = wonder > 1) how to define custom or new markup elements that can be used in > backends, if it is possible > 2) and how to extend or customize (write a custom backend) to take = into > accout these new elements. >=20 Hi Vladimir, Org mode does not support this directly (and to be honest, I know very = few applications where combining different attributes makes a lot of sense). You could probably play with org-emphasis-alist and = org-latex-text-markup-alist to cook something up. but first I would think very hard about the question if this is really = needed and does not create too much visual clutter. Regards - Carsten=