help-source-highlight
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-source-highlight] End of Perl POD sections not being seen?


From: Lorenzo Bettini
Subject: Re: [Help-source-highlight] End of Perl POD sections not being seen?
Date: Sun, 27 Jul 2003 18:09:47 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030428

Grant McLean wrote:
Hi

I've just discovered source-highlight and it seems to solve exactly the problem I have right now. I downloaded and built version 1.7 and it
seems to work pretty well except for one minor glitch.  In Perl code,
the end of a POD section is signalled by:

=cut

Source-highlight seems to ignore '=cut' and marks everything from the
first '=head' to the end of the file as a comment :-(

This is the command I used:

  source-highlight -s perl -f html -d -c /perl.css < MyModule.pm

Is this a known problem or have I done something wrong?

Hi

I've uploaded a possible next release candidate that fixes this problem (hopefully) here:

http://rap.dsi.unifi.it/~bettini/source-highlight-1.8.tar.gz

please test it to see if the problem disappears (I tested and it works, but, as I said, I'm not a perl programmer).

This release also has some more features:

Version 1.8

   * new output format: ESC ascii code (e.g. for less, with the
     help of Konstantine Serebriany <address@hidden>).
   * tab character are correctly handled by --tab option is given
     (thanks to Don Stauffer <address@hidden>).
   * presence of getopt_long is handled in a cleaner way.
   * some changes in how changelog files are highlighted
   * =head =cut sections in perl sources are correctly handled
     (reported by Grant McLean <address@hidden>)

so others may want to test it too.

cheers
        Lorenzo

--
+-----------------------------------------------------+
|  Lorenzo Bettini          ICQ# lbetto, 16080134     |
|  PhD in Computer Science                            |
|  Dip. Sistemi e Informatica, Univ. di Firenze       |
|  Tel +39 055 4796741, Fax +39 055 4796730           |
|  Florence - Italy        (GNU/Linux User # 158233)  |
|  Home Page        : http://www.lorenzobettini.it    |
|  http://music.dsi.unifi.it         XKlaim language  |
|  http://www.lorenzobettini.it/purple    Cover Band  |
|  http://www.gnu.org/software/src-highlite           |
|  http://www.gnu.org/software/gengetopt              |
|  http://www.lorenzobettini.it/software/gengen       |
+-----------------------------------------------------+





reply via email to

[Prev in Thread] Current Thread [Next in Thread]