From mboxrd@z Thu Jan 1 00:00:00 1970 From: KURODA Hisao Subject: Re: Bug: Literal Example does not work [7.9.3f (release_7.9.3f-17-g7524ef @ /usr/share/emacs/24.3/lisp/org/)] Date: Tue, 10 Jun 2014 17:33:51 +0900 Message-ID: References: <714n104qsj.fsf@msi.co.jp> <87d2ffs5nx.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57652) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WuHVD-0008T9-1j for emacs-orgmode@gnu.org; Tue, 10 Jun 2014 04:33:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WuHVB-00017b-Ok for emacs-orgmode@gnu.org; Tue, 10 Jun 2014 04:33:54 -0400 In-Reply-To: <87d2ffs5nx.fsf@bzg.ath.cx> 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: Bastien Cc: emacs-orgmode@gnu.org Hi, Thank you for your answer and sorry for delayed reply. I tried org-8. Now org-html-export-as-html works as you said. Thank you. However, still there are serious problems. (1) Even if I edit the original file with coding-system iso-2022-jp, the generated HTML's header says it is UTF-8. Previous version keeps original coding-system and I believe the previous behavior make sense. (2) org-8.2.6 seems to ignore whole #+STYLE: description. On Thu, May 15, 2014 at 7:22 PM, Bastien wrote: > Hi Hisao, > > KURODA Hisao writes: > >> A very simple literal example below seems not work >> with M-x org-export-as-html. >> >> >> #+BEGIN_SRC emacs-lisp >> (save-excursion >> (goto-char (point-min))) >> #+END_SRC >> >> >> The HTML output is class=example not emacs-lisp as follows. >> >>
(save-excursion
>>      (goto-char (point-min)))
>>   
>> >> It also reproducible on 8.2.6. > > I can't reproduce this with 8.2.6. In Org >8, `org-export-as-html' > does not exist anymore, you need to try `org-html-export-as-html'. > Can you test again, making sure you are using Org >8 ? > > Test this with M-x org-version RET > > Thanks, > > -- > Bastien >