From: andrea Crotti <andrea.crotti.0@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [babel] latex code in final pdf
Date: Tue, 17 Nov 2009 11:05:04 +0000 (UTC) [thread overview]
Message-ID: <loom.20091117T120208-362@post.gmane.org> (raw)
I'm not so sure it's related to babel since it's in
#+BEGIN_SRC haskell
tags.
Anyway in short I see latex code in the final source
code block exported.
I updated from git org-mode.
This is the code that gives program:
sumListCond :: Int -> Int -> [Int] -> Int
sumListCond l n xs
| foldl (+) 0 (take l xs) <= n = sumListCond (l + 1) n xs
| otherwise = foldl (+) 0 (take (l - 1) xs)
I get this strange thing
sumListCond :: Int -> Int -> [Int] -> Int
sumListCond l n xs
\begin{center} \begin{tabular}{l}
foldl(+)0(takelxs)<=n=sumListCond(l+1)nxs \\
otherwise = foldl (+) 0 (take (l - 1) xs) \\ \end{tabular} \end{center}
Who tell it to create a tabular in the center?
It's inside the source code block so it shoudn't evaluate "|" right?
next reply other threads:[~2009-11-17 11:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-17 11:05 andrea Crotti [this message]
2009-11-17 15:04 ` [babel] latex code in final pdf Eric Schulte
2009-11-17 21:41 ` andrea Crotti
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=loom.20091117T120208-362@post.gmane.org \
--to=andrea.crotti.0@gmail.com \
--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).