emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* 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/)]
@ 2016-03-11 21:20 Tianxiang Xiong
  2016-03-12 18:45 ` Robert Klein
  0 siblings, 1 reply; 2+ messages in thread
From: Tianxiang Xiong @ 2016-03-11 21:20 UTC (permalink / raw)
  To: emacs-orgmode

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* 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/)]
  2016-03-11 21:20 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/)] Tianxiang Xiong
@ 2016-03-12 18:45 ` Robert Klein
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Klein @ 2016-03-12 18:45 UTC (permalink / raw)
  To: emacs-orgmode

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 <tianxiang.xiong@gmail.com> 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/)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-03-12 18:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-11 21:20 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/)] Tianxiang Xiong
2016-03-12 18:45 ` Robert Klein

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