emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Stephen Eglen <S.J.Eglen@damtp.cam.ac.uk>
To: emacs-orgmode@gnu.org
Cc: Stephen Eglen <S.J.Eglen@damtp.cam.ac.uk>
Subject: Problems with latex exporting in verbatim environment
Date: Mon, 01 Aug 2011 10:27:41 +0100	[thread overview]
Message-ID: <7828.1312190861@maps> (raw)

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

             reply	other threads:[~2011-08-01  9:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-01  9:27 Stephen Eglen [this message]
2011-08-16 14:51 ` Problems with latex exporting in verbatim environment Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7828.1312190861@maps \
    --to=s.j.eglen@damtp.cam.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).