[Top][All Lists]

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

Re: [O] How to add custom markup elements and to define custom backends?

From: Suvayu Ali
Subject: Re: [O] How to add custom markup elements and to define custom backends?
Date: Wed, 4 Sep 2013 09:33:10 +0200
User-agent: Mutt/1.5.21 (2012-12-30)

On Wed, Sep 04, 2013 at 09:15:56AM +0200, Carsten Dominik wrote:
> On Sep 4, 2013, at 9:06 AM, Vladimir Lomov <address@hidden> 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.
> > 
> 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.

I agree with Carsten on the last point about visual clutter.  That said,
if the OP rarely uses one of the standard mark-ups, say +strikethrough+,
then an export filter overriding the default would do just fine.  For an
example, see here:


Hope this helps,


Open source is the future. It sets us free.

reply via email to

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