From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Levy, Roger" Subject: Re: Defining new structural markup element Date: Wed, 14 Dec 2011 19:06:48 +0000 Message-ID: <497EE111-21B5-4B9A-913C-97067CCFEC04@ucsd.edu> References: <3496BDF0-8057-4079-95BF-9C6B25251602@ucsd.edu> <20111214180851.GA62066@client195-35.wlan.hu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:52756) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RauAQ-0007X2-Ns for emacs-orgmode@gnu.org; Wed, 14 Dec 2011 14:07:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RauAP-0003YX-Bc for emacs-orgmode@gnu.org; Wed, 14 Dec 2011 14:07:02 -0500 Received: from iport-c1-out.ucsd.edu ([132.239.0.176]:8360) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RauAP-0003YJ-1u for emacs-orgmode@gnu.org; Wed, 14 Dec 2011 14:07:01 -0500 In-Reply-To: <20111214180851.GA62066@client195-35.wlan.hu-berlin.de> Content-Language: en-US Content-ID: 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: Viktor Rosenfeld Cc: Org-mode Thanks so much, Viktor, this is exactly what I wanted! Best Roger On Dec 14, 2011, at 1:08 PM EST, Viktor Rosenfeld wrote: > Hi, >=20 > the Worg page on LaTeX publishing covers this under "Block-level Markup" > and "Inline Markup": >=20 > 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 >=20 > Haven't tried it myself so far (but planning to do so). >=20 > Cheers, > Viktor >=20 > Levy, Roger wrote: >=20 >> Hi, >>=20 >> I'm a relative org newbie and I expect that this question is answered so= mewhere in the manual, but I've searched and I can't find the answer. >>=20 >> I would like to define a new structural markup element for an org file a= nd specify its translation into latex. e.g., I'd like to be able to put in= my document >>=20 >> #+begin_foo >> bar >> #+end_foo >>=20 >> and have this translated into LaTeX as something like=20 >>=20 >> \em >> bar >> \em >>=20 >> 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 th= is? >>=20 >> Best & many thanks in advance! >>=20 >> Roger >>=20 >>=20 -- Roger Levy Email: rlevy@ucsd.edu Assistant Professor Phone: 858-534-7219 Department of Linguistics Fax: 858-534-4789 UC San Diego Web: http://idiom.ucsd.edu/~rlevy