From mboxrd@z Thu Jan 1 00:00:00 1970 From: Water Lin Subject: The Perl color style Date: Mon, 12 Oct 2009 16:27:52 +0800 Message-ID: <83k4z1t3sn.fsf@ymail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MxGGE-00033M-7E for emacs-orgmode@gnu.org; Mon, 12 Oct 2009 04:28:06 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MxGG8-0002xI-U6 for emacs-orgmode@gnu.org; Mon, 12 Oct 2009 04:28:05 -0400 Received: from [199.232.76.173] (port=51722 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MxGG8-0002x2-Nm for emacs-orgmode@gnu.org; Mon, 12 Oct 2009 04:28:00 -0400 Received: from n23.bullet.mail.mud.yahoo.com ([68.142.206.162]:41165) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1MxGG8-0004xQ-1Y for emacs-orgmode@gnu.org; Mon, 12 Oct 2009 04:28:00 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org I try to tag perl-mode to color the Perl code while I am publishing my org file to html. Here is the example: ----------------------- #+BEGIN_SRC perl-mode #!/usr/bin/perl # some comments; use warnings; use strict; print "hi"; #+END_SRC ----------------------- But after I convert the content to html, the Perl code is badly colored, just having some colors for content between "". So, is there a good way to color Perl code in org? What's the tag for Perl souce code? Thanks Water Lin -- Water Lin's notes and pencils: http://en.waterlin.org Email: WaterLin@ymail.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com