Re: [O] LaTeX export problem

2012-01-17 Thread Piotr Kaźmierczak
Wiadomość napisana przez Nick Dokos w dniu 10 sty 2012, o godz. 01:13:

 Have you tried exporting a simple file to latex? Perhaps something as simple
 as:
 
 ---
 * Foo
 Bar
 ---
 
 
 Nick

Yes I have, it still produces a one-line TeX file. 


Re: [O] LaTeX export problem

2012-01-17 Thread Piotr Kaźmierczak
Wiadomość napisana przez Nick Dokos w dniu 17 sty 2012, o godz. 18:00:

 In that case, it seems like your orgmode install is hosed - have you tried
 reinstalling from scratch?

I did, but no luck. There must be something else I'm missing here, but I don't 
have time to investigate now. 

Thanks for your help, I'll post a solution here once I find one.

Piotr


[O] LaTeX export problem

2012-01-09 Thread Piotr Kaźmierczak
Hi,   

I have a very strange problem: I can no longer process an org file with all my 
notes to LaTeX. I've been using org-mode this way for some time now, and I was 
always able to get a nice tex file I could later process to PDF. Now all I get 
is a TeX file with absolutely no new-line symbols (a huge one-line file), and 
pdflatex obviously can't process that. I haven't updated org for a while, and 
it doesn't seem to matter which Emacs version I try (GNU 23, GNU 24, Aquamacs 
2.4), I still can't get the correct output. The only difference from the last 
time I managed to get a correct tex output is that I added some more notes to 
the org file.  

I'm using Org 7.8.

Any ideas?

regards,
Piotr Kaźmierczak





[O] Org-mode latex-export minted problem

2011-11-16 Thread Piotr Kaźmierczak
Hi, 

I'm having a hard time configuring org-mode LaTeX export to work with minted 
package for code listings. I put 

#+LaTeX_HEADER: \usepackage{minted}
#+LaTeX_HEADER: \usemintedstyle{emacs}

in the header of my org mode file, and then 

#+BEGIN_SRC haskell :exports code
some haskell code here
#+END_SRC

when I wanted to put the code listing. My .emacs has a proper minted 
configuration for org-mode set, too:

; minted latex export
(setq org-export-latex-listings 'minted)
(setq org-export-latex-minted-options
  '((frame lines)
(fontsize \\scriptsize)
(linenos )))
(setq org-latex-to-pdf-process
  '(pdflatex -shell-escape -interaction nonstopmode %s
pdflatex -shell-escape -interaction nonstopmode %s
pdflatex -shell-escape -interaction nonstopmode %s))

but whenever I export the org-mode buffer to LaTeX, I get my listings wrapped 
around \begin{lstlisting} and \end{lstlisting}. 

What am I missing here?

cheers;
Piotr
--
Dept. of Computer Engineering, Bergen University College
Postboks 7030, 5020 Bergen, Norway
(+47) 55 58 75 88
http://soundandcomplete.com