From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Klein Subject: Re: Bug: ox-html.el does not indicate enough languages [8.2.10 (release_8.2.10 @ c:/Users/txiong/emacs-24.5/share/emacs/24.5/lisp/org/)] Date: Sat, 12 Mar 2016 19:45:10 +0100 Message-ID: <20160312194510.3bf026a0@lt70.fritz.box> References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45198) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aeoXL-0006eB-Eu for emacs-orgmode@gnu.org; Sat, 12 Mar 2016 13:45:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aeoXI-0006ef-7k for emacs-orgmode@gnu.org; Sat, 12 Mar 2016 13:45:15 -0500 Received: from mout.kundenserver.de ([212.227.126.130]:64232) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aeoXH-0006eO-UA for emacs-orgmode@gnu.org; Sat, 12 Mar 2016 13:45:12 -0500 Received: from lt70.fritz.box ([80.128.102.9]) by mrelayeu.kundenserver.de (mreue004) with ESMTPSA (Nemesis) id 0MMJXF-1akcMD46H7-007zAX for ; Sat, 12 Mar 2016 19:45:09 +0100 In-Reply-To: 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 Hi, thanks for the report. I already began looking into this after my answer on stackexchange. I'll try to make a patch in the next couple of days. I want to run some tests before submitting a patch. You can expect a patch around Tuesday/Wednesday. Best regards Robert Tianxiang Xiong wrote: > Remember to cover the basics, that is, what you expected to happen and > > what in fact did happen. You don't know how to make a good report? > See > > > > http://orgmode.org/manual/Feedback.html#Feedback > > > > Your bug report will be posted to the Org-mode mailing list. > > ------------------------------------------------------------------------ > > > > In the file "ox-html.el", the following bit of CSS displays the source > > code block language's name on hover: > > > > pre.src:hover:before { display: inline;} > > pre.src-sh:before { content: 'sh'; } > > pre.src-bash:before { content: 'sh'; } > > pre.src-emacs-lisp:before { content: 'Emacs Lisp'; } > > pre.src-R:before { content: 'R'; } > > pre.src-perl:before { content: 'Perl'; } > > pre.src-java:before { content: 'Java'; } > > pre.src-sql:before { content: 'SQL'; } > > > > Org supports far more languages than this. In Section 14.7 of the Org > > manual, the following languages are listed (formatting is screwed up): > > > > Language Identifier Language > Identifier > > Asymptote asymptote Awk awk > > Emacs Calc calc C C > > C++ C++ Clojure clojure > > CSS css ditaa ditaa > > Graphviz dot Emacs Lisp > emacs-lisp > > gnuplot gnuplot Haskell haskell > > Java java > > Javascript js LaTeX latex > > Ledger ledger Lisp lisp > > Lilypond lilypond MATLAB matlab > > Mscgen mscgen Objective Caml ocaml > > Octave octave Org mode org > > Oz oz Perl perl > > Plantuml plantuml Python python > > R R Ruby ruby > > Sass sass Scheme scheme > > GNU Screen screen shell sh > > SQL sql SQLite sqlite > > > > "ox-html.el" should support at least all the languages that Org mode > supports by default. > > > > Emacs : GNU Emacs 24.5.1 (i686-pc-mingw32) > > of 2015-04-11 on LEG570 > > Package: Org-mode version 8.2.10 (release_8.2.10 @ > c:/Users/txiong/emacs-24= > > .5/share/emacs/24.5/lisp/org/)