From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Problem with BEGIN_SRC export-as-html Date: Mon, 26 Mar 2012 01:05:07 -0400 Message-ID: <21886.1332738307@alphaville> References: Reply-To: nicholas.dokos@hp.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44435) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SC27H-0004yM-BT for emacs-orgmode@gnu.org; Mon, 26 Mar 2012 01:05:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SC27F-0001tf-KW for emacs-orgmode@gnu.org; Mon, 26 Mar 2012 01:05:14 -0400 Received: from g5t0008.atlanta.hp.com ([15.192.0.45]:21744) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SC27F-0001tN-Fo for emacs-orgmode@gnu.org; Mon, 26 Mar 2012 01:05:13 -0400 In-Reply-To: Message from lowstz of "Mon\, 26 Mar 2012 07\:55\:25 +0800." 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: lowstz Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org lowstz wrote: > #+BEGIN_SRC C > #include >=20 > int main(void)=C2=A0 > { > printf("Hello, World!"\n); > } > #+END_SRC >=20 > 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
>=20

I cannot reproduce this. I get (both with my normal startup and with a mini=
mal
.emacs):

,----
| 
#include =
<stdio.h>
|=20
| int void) 
| {
| printf("Hello, World!"\n);
| }
| 
`---- Have you activated C as a babel language? Maybe some some initialization is interfering: try with emacs -q and a minimal .emacs (search the list archives for examples), although the fact that (iiuc) things worked before you reinstalled emacs and fedora, seems to point to some more basic misconfiguration (maybe you are picking up pieces of the org mode distributed with the platform emacs?). Just guessing here. GNU Emacs 24.0.92.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.4) of 2012= -01-24 Org-mode version 7.8.06 (release_7.8.06.110.g2756.dirty) (my org-mode version includes half a dozen local modifications). Nick