emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: lowstz <lowstz@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Problem with BEGIN_SRC export-as-html
Date: Mon, 26 Mar 2012 07:55:25 +0800	[thread overview]
Message-ID: <CAOk+9yNc0WwD0=qZ5qS2ceB4H+77Gme12irfAU8duY0=4XmVsQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 701 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1830 bytes --]

             reply	other threads:[~2012-03-25 23:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-25 23:55 lowstz [this message]
2012-03-26  5:05 ` Problem with BEGIN_SRC export-as-html Nick Dokos
2012-03-26 11:49   ` Eric Schulte

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAOk+9yNc0WwD0=qZ5qS2ceB4H+77Gme12irfAU8duY0=4XmVsQ@mail.gmail.com' \
    --to=lowstz@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).