From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Eglen Subject: Problems with latex exporting in verbatim environment Date: Mon, 01 Aug 2011 10:27:41 +0100 Message-ID: <7828.1312190861@maps> Return-path: Received: from eggs.gnu.org ([140.186.70.92]:56422) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qnomm-00054j-Lf for emacs-orgmode@gnu.org; Mon, 01 Aug 2011 05:27:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qnoml-0000Bx-IT for emacs-orgmode@gnu.org; Mon, 01 Aug 2011 05:27:44 -0400 Received: from ppsw-41.csi.cam.ac.uk ([131.111.8.141]:44983) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qnoml-0000Bc-EL for emacs-orgmode@gnu.org; Mon, 01 Aug 2011 05:27:43 -0400 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 Cc: Stephen Eglen Consider the following short example (code taken from Eric S's foo.org file, which I'm working on): ---------------------------------------------------------------------- * Example 1 Using colon, the text is not reported verbatim. : were $\beta_2$ = src_R{round(out3$coef[3], 4)} : and $\beta_3$ = src_R{round(out3$coef[4], 4)} * Example 2 Using example environment it seems to be exported fine in .tex #+begin_example were $\beta_2$ = src_R{round(out3$coef[3], 4)} and $\beta_3$ = src_R{round(out3$coef[4], 4)} #+end_example ---------------------------------------------------------------------- Example 1 is not exported okay, there are stray = and \texttt added; whereas version two seems fine. See snippet from tex file below. This looks like a bug to me. Are the two forms of verbatim really equivalent? Stephen ---------------------------------------------------------------------- relevant snippet from tex file, exported from above. \section{Example 1} \label{sec-1} Using colon \begin{verbatim} were $\beta_2$ = =src_R{round(out3$coef[3], 4)}= and $\beta_3$ = \texttt{src\_R\{round(out3\$coef[4], 4)\}} \end{verbatim} \section{Example 2} \label{sec-2} Using example environment \begin{verbatim} were $\beta_2$ = src_R{round(out3$coef[3], 4)} and $\beta_3$ = src_R{round(out3$coef[4], 4)} \end{verbatim} Stephen