emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Problems with latex exporting in verbatim environment
@ 2011-08-01  9:27 Stephen Eglen
  2011-08-16 14:51 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Eglen @ 2011-08-01  9:27 UTC (permalink / raw)
  To: emacs-orgmode; +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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Problems with latex exporting in verbatim environment
  2011-08-01  9:27 Problems with latex exporting in verbatim environment Stephen Eglen
@ 2011-08-16 14:51 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2011-08-16 14:51 UTC (permalink / raw)
  To: Stephen Eglen; +Cc: emacs-orgmode

Hi Stephen,

Stephen Eglen <S.J.Eglen@damtp.cam.ac.uk> writes:

> Using colon, the text is not reported verbatim.

I cannot reproduce this with Org 7.7.  Can you?

Best,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-16 15:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-01  9:27 Problems with latex exporting in verbatim environment Stephen Eglen
2011-08-16 14:51 ` Bastien

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).