emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] markup in environments in latex export


From: Carsten Dominik
Subject: Re: [Orgmode] markup in environments in latex export
Date: Thu, 16 Apr 2009 14:21:18 +0200

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.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode





reply via email to

[Prev in Thread] Current Thread [Next in Thread]