From MAILER-DAEMON Fri Jul 25 05:53:07 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19fzFZ-0005DO-EM
	for mharc-help-source-highlight@gnu.org; Fri, 25 Jul 2003 05:52:33 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19foke-0003Sb-PD
	for help-source-highlight@gnu.org; Thu, 24 Jul 2003 18:39:56 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19fokQ-00035y-Gr
	for help-source-highlight@gnu.org; Thu, 24 Jul 2003 18:39:43 -0400
Received: from socrates.catalyst.net.nz ([202.49.159.2])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19fojy-00028t-Lu
	for help-source-highlight@gnu.org; Thu, 24 Jul 2003 18:39:14 -0400
Received: from localhost.localdomain (leibniz.catalyst.net.nz [202.49.159.7])
	by socrates.catalyst.net.nz (8.12.3/8.12.3/Debian-6.4) with ESMTP id
	h6OMdALs025359
	for <help-source-highlight@gnu.org>; Fri, 25 Jul 2003 10:39:10 +1200
From: Grant McLean <grant@catalyst.net.nz>
To: help-source-highlight@gnu.org
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.5 
Date: 25 Jul 2003 10:39:10 +1200
Message-Id: <1059086350.29851.5.camel@putnam>
Mime-Version: 1.0
X-Mailman-Approved-At: Fri, 25 Jul 2003 05:52:31 -0400
Subject: [Help-source-highlight] End of Perl POD sections not being seen?
X-BeenThere: help-source-highlight@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: discussion list for source-highlight <help-source-highlight@gnu.org>
List-Id: discussion list for source-highlight <help-source-highlight.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-source-highlight>, 
	<mailto:help-source-highlight-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-source-highlight>
List-Post: <mailto:help-source-highlight@gnu.org>
List-Help: <mailto:help-source-highlight-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-source-highlight>, 
	<mailto:help-source-highlight-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Jul 2003 22:40:04 -0000

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?

Regards
Grant





From MAILER-DAEMON Fri Jul 25 06:18:22 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19fzaN-0000xM-FV
	for mharc-help-source-highlight@gnu.org; Fri, 25 Jul 2003 06:14:03 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19fzZv-0000so-9J
	for help-source-highlight@gnu.org; Fri, 25 Jul 2003 06:13:35 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19fzZm-0000gJ-7F
	for help-source-highlight@gnu.org; Fri, 25 Jul 2003 06:13:27 -0400
Received: from opale.dsi.unifi.it ([150.217.15.187])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19fzZc-0000Fm-3g
	for help-source-highlight@gnu.org; Fri, 25 Jul 2003 06:13:16 -0400
Received: from opale (localhost.localdomain [127.0.0.1])
	by opale.dsi.unifi.it  with ESMTP id h6PAD6s16024
	for <help-source-highlight@gnu.org>; Fri, 25 Jul 2003 12:13:06 +0200
Received: from prog.dsi.unifi.it ([150.217.14.182])
	by opale (MailMonitor for SMTP v1.2.0 ) ;
	Fri, 25 Jul 2003 12:13:06 +0200 (CEST)
Message-ID: <3F2102B6.90000@dsi.unifi.it>
Date: Fri, 25 Jul 2003 12:13:10 +0200
From: Lorenzo Bettini <bettini@dsi.unifi.it>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030428
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: discussion list for source-highlight <help-source-highlight@gnu.org>
Subject: Re: [Help-source-highlight] End of Perl POD sections not being seen?
References: <1059086350.29851.5.camel@putnam>
In-Reply-To: <1059086350.29851.5.camel@putnam>
X-Enigmail-Version: 0.73.1.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-BeenThere: help-source-highlight@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: discussion list for source-highlight <help-source-highlight@gnu.org>
List-Id: discussion list for source-highlight <help-source-highlight.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-source-highlight>, 
	<mailto:help-source-highlight-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-source-highlight>
List-Post: <mailto:help-source-highlight@gnu.org>
List-Help: <mailto:help-source-highlight-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-source-highlight>, 
	<mailto:help-source-highlight-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 25 Jul 2003 10:14:02 -0000

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 haven't written the perl scanner myself (Martin, it was you, wasn't 
it?).  I think this is a bug I could easily fix.  Could you please send 
me the source of the perl program that exhibits this problem (sorry, I'm 
not a Perl programmer :-) directly to me (not to the list) so that I can 
have a test source to solve the problem?

see you soon
	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       |
+-----------------------------------------------------+





From MAILER-DAEMON Fri Jul 25 07:22:30 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19g0eC-0002wr-GP
	for mharc-help-source-highlight@gnu.org; Fri, 25 Jul 2003 07:22:04 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19g0dh-0002Vt-Me
	for help-source-highlight@gnu.org; Fri, 25 Jul 2003 07:21:33 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19g0cA-0001Zo-Ef
	for help-source-highlight@gnu.org; Fri, 25 Jul 2003 07:19:58 -0400
Received: from moutng.kundenserver.de ([212.227.126.177])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19g0Pn-0007Mk-Bs
	for help-source-highlight@gnu.org; Fri, 25 Jul 2003 07:07:11 -0400
Received: from [212.227.126.206] (helo=mrelayng.kundenserver.de)
	by moutng.kundenserver.de with esmtp (Exim 3.35 #1)
	id 19g0Pl-0006Qh-00
	for help-source-highlight@gnu.org; Fri, 25 Jul 2003 13:07:09 +0200
Received: from [80.140.69.183] (helo=gmx.de)
	by mrelayng.kundenserver.de with asmtp (TLSv1:RC4-MD5:128)
	(Exim 3.35 #1) id 19g0Pl-0000pE-00
	for help-source-highlight@gnu.org; Fri, 25 Jul 2003 13:07:09 +0200
Message-ID: <3F210F5A.6070703@gmx.de>
Date: Fri, 25 Jul 2003 13:07:06 +0200
From: Martin Gebert <Murphy.Gebert@gmx.de>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.3) Gecko/20030312
X-Accept-Language: de-DE, de, en
MIME-Version: 1.0
To: discussion list for source-highlight <help-source-highlight@gnu.org>
Subject: Re: [Help-source-highlight] End of Perl POD sections not being seen?
References: <1059086350.29851.5.camel@putnam> <3F2102B6.90000@dsi.unifi.it>
In-Reply-To: <3F2102B6.90000@dsi.unifi.it>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-BeenThere: help-source-highlight@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: discussion list for source-highlight <help-source-highlight@gnu.org>
List-Id: discussion list for source-highlight <help-source-highlight.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-source-highlight>, 
	<mailto:help-source-highlight-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-source-highlight>
List-Post: <mailto:help-source-highlight@gnu.org>
List-Help: <mailto:help-source-highlight-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-source-highlight>, 
	<mailto:help-source-highlight-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 25 Jul 2003 11:22:03 -0000



Lorenzo Bettini schrieb:

> I haven't written the perl scanner myself (Martin, it was you, wasn't it?)

Thanks for trusting me to do so, but no, I didn't. According to the 
CREDITS it was Alain Barbet.

> (sorry, I'm not a Perl programmer :-)

Me too. All I ever did in Perl was hacking some script by copy&paste. 
But you may ask me Python and C++ questions ;-)

Have a nice weekend!

Martin




From MAILER-DAEMON Sun Jul 27 12:13:25 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19go7b-0003rq-Ou
	for mharc-help-source-highlight@gnu.org; Sun, 27 Jul 2003 12:11:43 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19go71-0003Ra-LA
	for help-source-highlight@gnu.org; Sun, 27 Jul 2003 12:11:07 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19go6x-0003OU-FD
	for help-source-highlight@gnu.org; Sun, 27 Jul 2003 12:11:04 -0400
Received: from mail1.portalis.it ([213.199.4.23] helo=portalis.it)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19go6I-0003Ag-Bm
	for help-source-highlight@gnu.org; Sun, 27 Jul 2003 12:10:22 -0400
Received: from dsi.unifi.it ([62.123.53.217]) by portalis.it with Microsoft
	SMTPSVC(5.5.1877.197.19); Sun, 27 Jul 2003 18:19:56 +0200
Message-ID: <3F23F94B.4020205@dsi.unifi.it>
Date: Sun, 27 Jul 2003 18:09:47 +0200
From: Lorenzo Bettini <bettini@dsi.unifi.it>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030428
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: discussion list for source-highlight <help-source-highlight@gnu.org>
Subject: Re: [Help-source-highlight] End of Perl POD sections not being seen?
References: <1059086350.29851.5.camel@putnam>
In-Reply-To: <1059086350.29851.5.camel@putnam>
X-Enigmail-Version: 0.73.1.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-BeenThere: help-source-highlight@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: discussion list for source-highlight <help-source-highlight@gnu.org>
List-Id: discussion list for source-highlight <help-source-highlight.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-source-highlight>, 
	<mailto:help-source-highlight-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-source-highlight>
List-Post: <mailto:help-source-highlight@gnu.org>
List-Help: <mailto:help-source-highlight-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-source-highlight>, 
	<mailto:help-source-highlight-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 27 Jul 2003 16:11:42 -0000

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 <kcc@mcst.ru>).
    * tab character are correctly handled by --tab option is given
      (thanks to Don Stauffer <Don@Skyler.com>).
    * 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 <grant@catalyst.net.nz>)

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       |
+-----------------------------------------------------+




From MAILER-DAEMON Sun Jul 27 17:13:17 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19gspC-0003eW-N2
	for mharc-help-source-highlight@gnu.org; Sun, 27 Jul 2003 17:13:02 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19gsp9-0003Xh-Qf
	for help-source-highlight@gnu.org; Sun, 27 Jul 2003 17:12:59 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19gsp5-0003RR-3r
	for help-source-highlight@gnu.org; Sun, 27 Jul 2003 17:12:55 -0400
Received: from socrates.catalyst.net.nz ([202.49.159.2])
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19gsp3-0003Du-NE
	for help-source-highlight@gnu.org; Sun, 27 Jul 2003 17:12:54 -0400
Received: from localhost.localdomain (leibniz.catalyst.net.nz [202.49.159.7])
	by socrates.catalyst.net.nz (8.12.3/8.12.3/Debian-6.4) with ESMTP id
	h6RLCZLs026061
	for <help-source-highlight@gnu.org>; Mon, 28 Jul 2003 09:12:35 +1200
Subject: Re: [Help-source-highlight] End of Perl POD sections not being seen?
From: Grant McLean <grant@catalyst.net.nz>
To: discussion list for source-highlight <help-source-highlight@gnu.org>
In-Reply-To: <3F23F94B.4020205@dsi.unifi.it>
References: <1059086350.29851.5.camel@putnam> <3F23F94B.4020205@dsi.unifi.it>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.5 
Date: 28 Jul 2003 09:12:35 +1200
Message-Id: <1059340355.16113.11.camel@putnam>
Mime-Version: 1.0
X-BeenThere: help-source-highlight@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: discussion list for source-highlight <help-source-highlight@gnu.org>
List-Id: discussion list for source-highlight <help-source-highlight.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-source-highlight>, 
	<mailto:help-source-highlight-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-source-highlight>
List-Post: <mailto:help-source-highlight@gnu.org>
List-Help: <mailto:help-source-highlight-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-source-highlight>, 
	<mailto:help-source-highlight-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 27 Jul 2003 21:13:01 -0000

On Mon, 2003-07-28 at 04:09, Lorenzo Bettini wrote:
> 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 <kcc@mcst.ru>).
>     * tab character are correctly handled by --tab option is given
>       (thanks to Don Stauffer <Don@Skyler.com>).
>     * 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 <grant@catalyst.net.nz>)
> 
> so others may want to test it too.
> 
> cheers
> 	Lorenzo

Yes, that works nicely.  Thank you very much.

I had one other question relating to the CSS option.  I'd quite like 
to have the generated HTML use CSS without forcing --doc mode.  Is 
that possible?  The reason is that I'm using source-highlight to 
generate the content of a page with the remaining elements (document
<HEAD> and site navigation links etc) coming from my template.  If 
that's not currently possible, perhaps the simplest approach would 
be to make --doc a boolean flag and turn it off with --nodoc.

Regards
Grant





From MAILER-DAEMON Tue Jul 29 04:31:36 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19hPri-00076i-Hs
	for mharc-help-source-highlight@gnu.org; Tue, 29 Jul 2003 04:29:50 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19hPqW-0006oV-JF
	for help-source-highlight@gnu.org; Tue, 29 Jul 2003 04:28:36 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19hPlm-0004Gw-Jr
	for help-source-highlight@gnu.org; Tue, 29 Jul 2003 04:23:45 -0400
Received: from mail2.portalis.it ([213.199.4.24] helo=portalis.it)
	by monty-python.gnu.org with esmtp (Exim 4.20) id 19hPkR-0003b4-Sp
	for help-source-highlight@gnu.org; Tue, 29 Jul 2003 04:22:20 -0400
Received: from dsi.unifi.it ([62.123.94.208]) by portalis.it with Microsoft
	SMTPSVC(5.5.1877.197.19); Tue, 29 Jul 2003 10:30:11 +0200
Message-ID: <3F262E8F.4020004@dsi.unifi.it>
Date: Tue, 29 Jul 2003 10:21:35 +0200
From: Lorenzo Bettini <bettini@dsi.unifi.it>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030428
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: discussion list for source-highlight <help-source-highlight@gnu.org>
Subject: Re: [Help-source-highlight] End of Perl POD sections not being seen?
References: <1059086350.29851.5.camel@putnam> <3F23F94B.4020205@dsi.unifi.it>
	<1059340355.16113.11.camel@putnam>
In-Reply-To: <1059340355.16113.11.camel@putnam>
X-Enigmail-Version: 0.73.1.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-BeenThere: help-source-highlight@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: discussion list for source-highlight <help-source-highlight@gnu.org>
List-Id: discussion list for source-highlight <help-source-highlight.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-source-highlight>, 
	<mailto:help-source-highlight-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-source-highlight>
List-Post: <mailto:help-source-highlight@gnu.org>
List-Help: <mailto:help-source-highlight-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-source-highlight>, 
	<mailto:help-source-highlight-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 29 Jul 2003 08:29:48 -0000

Grant McLean wrote:
> Yes, that works nicely.  Thank you very much.
> 

GREAT!

> I had one other question relating to the CSS option.  I'd quite like 
> to have the generated HTML use CSS without forcing --doc mode.  Is 
> that possible?  The reason is that I'm using source-highlight to 
> generate the content of a page with the remaining elements (document
> <HEAD> and site navigation links etc) coming from my template.  If 
> that's not currently possible, perhaps the simplest approach would 
> be to make --doc a boolean flag and turn it off with --nodoc.

well I had never thought of such a use of CSS without the --doc mode... 
  I'll try to add such feature.

stay tuned :-)

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       |
+-----------------------------------------------------+




