From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: markup in environments in latex export Date: Thu, 16 Apr 2009 14:21:18 +0200 Message-ID: References: <86iql57zkh.fsf@portan.ibr.cs.tu-bs.de> Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LuQav-0001oh-LJ for emacs-orgmode@gnu.org; Thu, 16 Apr 2009 08:21:30 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LuQap-0001mX-Fz for emacs-orgmode@gnu.org; Thu, 16 Apr 2009 08:21:28 -0400 Received: from [199.232.76.173] (port=41884 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LuQan-0001lj-Vm for emacs-orgmode@gnu.org; Thu, 16 Apr 2009 08:21:22 -0400 Received: from mail-ew0-f160.google.com ([209.85.219.160]:63721) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LuQan-0007b9-BF for emacs-orgmode@gnu.org; Thu, 16 Apr 2009 08:21:21 -0400 Received: by ewy4 with SMTP id 4so345122ewy.42 for ; Thu, 16 Apr 2009 05:21:20 -0700 (PDT) In-Reply-To: <86iql57zkh.fsf@portan.ibr.cs.tu-bs.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Chris Gray Cc: emacs-orgmode@gnu.org Hi Chris, you can't have the cake and eat it. if you insert a LaTeX environment, the entire environment will be protected. After all, you rely on this quoting with your itemize environment! However, you can do this: --8<---------------cut here---------------start------------->8--- #+TITLE: None #+begin_center - /a/ this is a - /b/ this is b \begin{itemize} \item \emph{a} this is a \item \emph{b} this is b \end{itemize} #+end_center - /a/ this is a - /b/ this is b --8<---------------cut here---------------end--------------->8--- This works by the protection being done first, and only then #+begin_center is turned into \begin{center} HTH - Carsten On Apr 16, 2009, at 10:49 AM, Chris Gray wrote: > Hello, > > I have been writing a draft of a paper in org, and I would like to > have > the customary org markup commands work inside of LaTeX > environments. As > an example, I would like the following to have the same thing three > times instead of only twice. > > --8<---------------cut here---------------start------------->8--- > #+TITLE: None > > > \begin{center} > > - /a/ this is a > - /b/ this is b > > \begin{itemize} > \item \emph{a} this is a > \item \emph{b} this is b > \end{itemize} > > \end{center} > > - /a/ this is a > - /b/ this is b > --8<---------------cut here---------------end--------------->8--- > > > Cheers, > Chris > > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode