|
| From: | andrea Crotti |
| Subject: | [Orgmode] [babel] latex code in final pdf |
| Date: | Tue, 17 Nov 2009 11:05:04 +0000 (UTC) |
| User-agent: | Loom/3.14 (http://gmane.org/) |
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?
| [Prev in Thread] | Current Thread | [Next in Thread] |