emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [RFC] [PATCH] [parser] org-element.el: Handle block parameters


From: Aaron Ecay
Subject: Re: [O] [RFC] [PATCH] [parser] org-element.el: Handle block parameters
Date: Wed, 30 Oct 2013 00:28:42 -0400
User-agent: Notmuch/0.16+113~g516efb7 (http://notmuchmail.org) Emacs/24.3.50.1 (x86_64-unknown-linux-gnu)

Hi Nicolas,

2013ko urriak 29an, Nicolas Goaziou-ek idatzi zuen:

[...]

>> This brings the parser in line with the Org Syntax as documented on
>> Worg: <http://orgmode.org/worg/dev/org-syntax.html#Greater_Blocks>.
> 
> Besides this reason (which could also be solved by updating Org Syntax
> document), do you have a need for this extension?

I have several export filters which translate special blocks into latex
code (doing some tedious string munging in elisp, such that a simple
latex block is not warranted; I also have the eventual goal of making
them cross-backend, which will involve a different bit of tedious
munging).  These filters take arguments in the #+begin_foo line.

I also think it would be nice for the org code following this paragraph
to be translated to output that makes sense for each backend, with the
quote’s author formatted nicely (on a new line preceded by a dash,
aligned to the right margin in text/html, using the csquotes package in
latex, etc.).  This patch would enable such a functionality.

#+begin_quote Chico Marx
Why a duck?
#+end_quote

If these seem like compelling use cases, then I will make the
adjustments you proposed to the code (which all look correct).

Thanks,

-- 
Aaron Ecay



reply via email to

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