From mboxrd@z Thu Jan 1 00:00:00 1970 From: Viktor Rosenfeld Subject: Re: Defining new structural markup element Date: Wed, 14 Dec 2011 19:08:51 +0100 Message-ID: <20111214180851.GA62066@client195-35.wlan.hu-berlin.de> References: <3496BDF0-8057-4079-95BF-9C6B25251602@ucsd.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:48754) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RatGU-0005g5-Sh for emacs-orgmode@gnu.org; Wed, 14 Dec 2011 13:09:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RatGO-0006bS-Vt for emacs-orgmode@gnu.org; Wed, 14 Dec 2011 13:09:14 -0500 Received: from mail-ee0-f41.google.com ([74.125.83.41]:39134) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RatGO-0006bO-NE for emacs-orgmode@gnu.org; Wed, 14 Dec 2011 13:09:08 -0500 Received: by eekc41 with SMTP id c41so1182142eek.0 for ; Wed, 14 Dec 2011 10:09:08 -0800 (PST) Content-Disposition: inline In-Reply-To: <3496BDF0-8057-4079-95BF-9C6B25251602@ucsd.edu> 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: "Levy, Roger" Cc: Org-mode Hi, the Worg page on LaTeX publishing covers this under "Block-level Markup" and "Inline Markup": http://orgmode.org/worg/org-tutorials/org-latex-export.html#sec-10-2 http://orgmode.org/worg/org-tutorials/org-latex-export.html#sec-10-3 Haven't tried it myself so far (but planning to do so). Cheers, Viktor Levy, Roger wrote: > Hi, > > I'm a relative org newbie and I expect that this question is answered somewhere in the manual, but I've searched and I can't find the answer. > > I would like to define a new structural markup element for an org file and specify its translation into latex. e.g., I'd like to be able to put in my document > > #+begin_foo > bar > #+end_foo > > and have this translated into LaTeX as something like > > \em > bar > \em > > but I'd like to be able to flexibly specify the LaTeX commands inserted at the beginning and end of the "foo" block. Is there an easy way to do this? > > Best & many thanks in advance! > > Roger > >