Re: FWD: Texi2HTML, some additions and bugfixes

Derek Robert Price <[email protected]> Fri, 29 Aug 2003 12:42:12 -0400
Newsgroups gmane.comp.tex.texi2html.devel
Organization Ximbiot <http://ximbiot.com>
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dumas Patrice wrote:
|>I agree that it's a matter of taste.  Single dash options bother me too,
|>but I've been leaving them the way they are for backwards compatibility
|>with previous texi2htmls.  I still don't think I'm inclined to change
|>this myself but if Pat or somebody decided to, I wouldn't object.
|
|
| I have no objection too. I have allready changed '_' to '-' in option
names.

Okay, I changed it.

Pat, I'm getting an undeclared global variable warning for $CSS_LINES
with the CVS version of texi2html.  The attached patch fixes the issue,
but I didn't commit it because I wasn't sure this was what you intended.
~ My fix involved declaring my $CSS_LINES in texi2html.pl, but there are
comments about its usage in texi2html.init near portions of code which
initialize Texi2HTML::Config variables.

Index: texi2html.pl
===================================================================
RCS file: /cvs/texi2html/texi2html.pl,v
retrieving revision 1.60
diff -u -r1.60 texi2html.pl
- --- texi2html.pl    12 Aug 2003 09:07:59 -0000    1.60
+++ texi2html.pl    29 Aug 2003 16:34:16 -0000
@@ -114,6 +114,8 @@
~ my $MAX_LEVEL = 4;
~ my $MIN_LEVEL = 1;

+my $CSS_LINES;
+
~
#+++############################################################################
~ #
~        #
~ # Initialization
~        #

Derek
- --
~                *8^)

Email: [email protected]

Get CVS support at <http://ximbiot.com>!
- --
It seems that destiny has taken a hand.

		- Humphrey Bogart as Rick, _Casablanca_
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org

iD8DBQE/T4JkLD1OTBfyMaQRAnkFAJ9ave4ZFSz4NNeqFk/rzMlrVR9/5wCfVAFm
GkJrHSC882GHbnCnKu3C8Zc=
=KAgP
-----END PGP SIGNATURE-----