From mboxrd@z Thu Jan 1 00:00:00 1970 From: lowstz Subject: Problem with BEGIN_SRC export-as-html Date: Mon, 26 Mar 2012 07:55:25 +0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=bcaec50fe05b0e46dc04bc19ff25 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:48723) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SBxHq-0007Yg-U4 for emacs-orgmode@gnu.org; Sun, 25 Mar 2012 19:55:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SBxHp-0007Qx-27 for emacs-orgmode@gnu.org; Sun, 25 Mar 2012 19:55:50 -0400 Received: from mail-vx0-f169.google.com ([209.85.220.169]:53861) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SBxHo-0007Qo-RK for emacs-orgmode@gnu.org; Sun, 25 Mar 2012 19:55:48 -0400 Received: by vcbfk14 with SMTP id fk14so4973589vcb.0 for ; Sun, 25 Mar 2012 16:55:46 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --bcaec50fe05b0e46dc04bc19ff25 Content-Type: text/plain; charset=UTF-8 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 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
, 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

--bcaec50fe05b0e46dc04bc19ff25
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

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)=C2=A0
{
printf("= ;Hello, World!"\n);
}
#+END_SRC

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

Not have this problem, but after re-installing Fedora a= nd Emacs.
This is the effect before reinstall the Fedora and Emac= s:

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

--
Best regards,
<= div>Lowstz Chen

= Twitter: @lowstz

--bcaec50fe05b0e46dc04bc19ff25--