emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tianxiang Xiong <tianxiang.xiong@gmail.com>
To: emacs-orgmode@gnu.org
Subject: 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: Fri, 11 Mar 2016 15:20:14 -0600	[thread overview]
Message-ID: <CACMkxixZqNS3jMaTy=C2U16wMzKQ6uvmd5JW0hg2J=csRuULRw@mail.gmail.com> (raw)

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

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/)

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

             reply	other threads:[~2016-03-11 21:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-11 21:20 Tianxiang Xiong [this message]
2016-03-12 18:45 ` 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/)] Robert Klein

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='CACMkxixZqNS3jMaTy=C2U16wMzKQ6uvmd5JW0hg2J=csRuULRw@mail.gmail.com' \
    --to=tianxiang.xiong@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).