From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: Special blocks with options in LaTeX export
Date: Sun, 28 Jun 2015 13:30:33 +0200 [thread overview]
Message-ID: <87pp4gnk86.fsf@gmx.us> (raw)
In-Reply-To: 20150628112350.GC24926@chitra.no-ip.org
Suvayu Ali <fatkasuvayu+linux@gmail.com> writes:
> Hi,
>
> I am trying to export special blocks with options. But it seems the
> options part is being ignored completely. I expect the following:
>
> #+begin_aside :options {Combinatorial background}
> It is all random!
> #+end_aside
>
> to be exported as:
>
> \begin{aside}{Combinatorial background}
> It is all random!
> \end{aside}
>
> However what I get is without the extra argument to the environment.
>
> Am I missing something, or is this a bug?
#+attr_latex: :options test
#+begin_aside
random
#+end_aside
Options are read via
(org-export-read-attribute :attr_latex special-block :options).
As to whether special blocks should support options via a keyword like in
your example, I do not know. FWIW ox-html also reads attributes for
special blocks via an ATTR_BACKEND line.
Rasmus
--
There are known knowns; there are things we know that we know
next prev parent reply other threads:[~2015-06-28 11:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-28 11:23 Special blocks with options in LaTeX export Suvayu Ali
2015-06-28 11:30 ` Rasmus [this message]
2015-06-28 11:41 ` Suvayu Ali
2015-07-30 8:50 ` Sebastien Vauban
2015-07-30 10:09 ` Rasmus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pp4gnk86.fsf@gmx.us \
--to=rasmus@gmx.us \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).