emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] #+BEGIN_SRC export in Latex


From: Eric S Fraga
Subject: Re: [O] #+BEGIN_SRC export in Latex
Date: Wed, 30 Apr 2014 23:03:47 +0100

On Wednesday, 30 Apr 2014 at 20:28, Luke Crook wrote:

[...]

> Found the culprit. I have the following in my emacs.org file
>
> ** Fontify source blocks in Latext
> #+BEGIN_SRC emacs-lisp
>  (setq org-latex-listings t)
>  #+END_SRC
>
> Setting org-latex-listings back to NIL fixed the problem.

I have this variable set to t.  Of course, I also have this:

#+begin_src emacs-lisp
  (add-to-list 'org-latex-packages-alist '("" "listings"))
#+end_src

If you have the variable set to t, does the LaTeX export work but maybe
not PDF export?  That is, do you get a LaTeX source file that has the
source code block in it using the listings package?
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.4.50.2, Org release_8.2.6-923-g233c11



reply via email to

[Prev in Thread] Current Thread [Next in Thread]