I've tried to export a code block like this: --8<---------------cut here---------------start------------->8--- #+BEGIN_SRC python L[1:2] = 'a' # L.insert(1, 'a') L[len(L):] = ['a', 'b', 'c'] # L.extend(['a', 'b', 'c']) L[3:] = [] # del L[3:] #+END_SRC --8<---------------cut here---------------end--------------->8---
The result html doesn't highlight the code. Instead it gives me: --8<---------------cut here---------------start------------->8--- <pre class="example"> L[1:2] = 'a' # L.insert(1, 'a') L[len(L):] = ['a', 'b', 'c'] # L.extend(['a', 'b', 'c']) L[3:] = [] # del L[3:] </pre> --8<---------------cut here---------------end--------------->8--- And I have not changed any option related to org-babel or the exporting function. So how can I make the syntax highlighting work for exporting to html? And there is another problem when I tried to 'make doc'. It says: --8<---------------cut here---------------start------------->8--- This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7) %&-line parsing enabled. entering extended mode (./orgcard.tex (./pdflayout.sty ! I can't find file `ifpdf.sty'. l.24 \input ifpdf.sty (Press Enter to retry, or Control-D to exit) Please type another input file name: --8<---------------cut here---------------end--------------->8--- _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode