* Exporting to html doesn't highlight code syntax. And a make doc error
@ 2010-10-05 2:48 Kane Dou
0 siblings, 0 replies; only message in thread
From: Kane Dou @ 2010-10-05 2:48 UTC (permalink / raw)
To: emacs-orgmode
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---
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-10-05 2:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-05 2:48 Exporting to html doesn't highlight code syntax. And a make doc error Kane Dou
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.