emacs-orgmode
[Top][All Lists]
Advanced

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

[O] Problem with BEGIN_SRC export-as-html


From: lowstz
Subject: [O] Problem with BEGIN_SRC export-as-html
Date: Mon, 26 Mar 2012 07:55:25 +0800

Hi,

I have a problem with BEGIN_SRC export as html,

I use the BEGIN_SRC code block my code like this:

#+BEGIN_SRC C
#include <stdio.h>

int main(void) 
{
printf("Hello, World!"\n);
}
#+END_SRC

It work well in emacs, but when I run export as html
the part of BEGIN_SRC / END_SRC generate <pre class="example">, it same with the BEGIN_EXAMPLE / END_EXAMPLE

Not have this problem, but after re-installing Fedora and Emacs.
This is the effect before reinstall the Fedora and Emacs:
https://lowstz.org/wiki/java.html

Emacs Version: GNU Emacs 23.3.1
Org-mode Version: 7.8.06 (I have tried git version, but still the same problem)

--
Best regards,
Lowstz Chen

http://lowstz.org/blog
Twitter: @lowstz


reply via email to

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