From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabrice Popineau Subject: Export / LaTeX / suggestion Date: Tue, 7 May 2013 21:42:10 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b3a7fe69b956304dc26048d Return-path: Received: from eggs.gnu.org ([208.118.235.92]:50783) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZnmV-00045p-6C for emacs-orgmode@gnu.org; Tue, 07 May 2013 15:42:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UZnmS-0001J2-HJ for emacs-orgmode@gnu.org; Tue, 07 May 2013 15:42:35 -0400 Received: from mail-ea0-x22e.google.com ([2a00:1450:4013:c01::22e]:50904) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZnmS-0001Ht-B2 for emacs-orgmode@gnu.org; Tue, 07 May 2013 15:42:32 -0400 Received: by mail-ea0-f174.google.com with SMTP id f15so512179eak.5 for ; Tue, 07 May 2013 12:42:31 -0700 (PDT) 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: "emacs-orgmode@gnu.org" --047d7b3a7fe69b956304dc26048d Content-Type: text/plain; charset=ISO-8859-1 Currently we need to write this : #+ATTR_LATEX: :options [title of definition] #+begin_definition This is a definition. #+end_definition to get this with the LaTeX exporter : \begin{definition}[title of definition] This is a definition. \end{definition} I was wondering if something like this is possible : #+begin_definition :options [title of definition] This is a definition. #+end_definition Generally speaking, the rest of the line with #+begin_... could be considered as an implicit #+ATTR_HTML for this environment. Is it something doable ? -- Fabrice --047d7b3a7fe69b956304dc26048d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Currently we need to write this :

#+ATTR_LATEX: :options [title of definition]
#+begin_definition
This is a definition.
#+end_defin= ition

to get this with the LaTeX exporter :
=

\begin{definition}[title of definition]
This is a definition.
\end{definition}

I was wondering if something like this is possible :
#+begin_definition :options [title of definition]
This is a definition.
#+end_definition

Generally speaking, the rest of the line with #+begin_... could = be considered as an implicit #+ATTR_HTML for this environment.=A0

Is it something doable ?

--
Fabrice --047d7b3a7fe69b956304dc26048d--