You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
(22) |
Apr
(10) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(3) |
Nov
(23) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
|
Feb
(1) |
Mar
(4) |
Apr
(1) |
May
|
Jun
|
Jul
(10) |
Aug
|
Sep
(5) |
Oct
(5) |
Nov
|
Dec
(1) |
2004 |
Jan
|
Feb
|
Mar
|
Apr
(8) |
May
|
Jun
(15) |
Jul
(10) |
Aug
|
Sep
(2) |
Oct
(10) |
Nov
(1) |
Dec
(4) |
2005 |
Jan
(1) |
Feb
(6) |
Mar
(2) |
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: A.M. K. <aku...@us...> - 2004-09-24 12:29:09
|
Update of /cvsroot/ht2html/ht2html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22651 Modified Files: PDOGenerator.py Log Message: Switch search-box default to 'yes' Index: PDOGenerator.py =================================================================== RCS file: /cvsroot/ht2html/ht2html/PDOGenerator.py,v retrieving revision 2.21 retrieving revision 2.22 diff -C2 -d -r2.21 -r2.22 *** PDOGenerator.py 9 Sep 2004 00:17:04 -0000 2.21 --- PDOGenerator.py 24 Sep 2004 12:28:58 -0000 2.22 *************** *** 132,136 **** def get_banner(self): banner = Banner.get_banner(self) ! if self.__parser.get('search-box', 'no').lower() == 'yes': banner = SEARCHBOX + banner return banner --- 132,136 ---- def get_banner(self): banner = Banner.get_banner(self) ! if self.__parser.get('search-box', 'yes').lower() == 'yes': banner = SEARCHBOX + banner return banner |
From: A.M. K. <aku...@us...> - 2004-09-09 00:17:14
|
Update of /cvsroot/ht2html/ht2html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19381 Modified Files: DocsPDOGenerator.py PDOGenerator.py Log Message: Move Google searchbox out of DocsPDOGenerator and into PDOGenerator. Currently the searchbox is disabled; to enable it on a specific page, just add 'Search-box: yes' to the .ht file. Index: DocsPDOGenerator.py =================================================================== RCS file: /cvsroot/ht2html/ht2html/DocsPDOGenerator.py,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** DocsPDOGenerator.py 9 Apr 2004 00:22:37 -0000 1.5 --- DocsPDOGenerator.py 9 Sep 2004 00:17:04 -0000 1.6 *************** *** 18,22 **** def get_banner(self): ! return SEARCHBOX def get_banner_bgcolor(self): --- 18,22 ---- def get_banner(self): ! return PDOGenerator.SEARCHBOX def get_banner_bgcolor(self): *************** *** 24,40 **** - SEARCHBOX = \ - '''<!-- start of search bar --> - <div id="search"> - <form method="get" action="http://www.google.com/search"> - Search: <input id="q" name="q" size="30" value=""> - <input type="hidden" id="domains" name="domains" - value="docs.python.org" /> - <input type="hidden" id="sitesearch" name="sitesearch" - value="docs.python.org" /> - <input type="hidden" id="sourceid" name="sourceid" - value="google-search" /> - <input type="submit" id="submit" name="submit" value="submit" /> - </form> - </div><!-- end of search bar --> - ''' --- 24,25 ---- Index: PDOGenerator.py =================================================================== RCS file: /cvsroot/ht2html/ht2html/PDOGenerator.py,v retrieving revision 2.20 retrieving revision 2.21 diff -C2 -d -r2.20 -r2.21 *** PDOGenerator.py 22 Jul 2004 01:06:28 -0000 2.20 --- PDOGenerator.py 9 Sep 2004 00:17:04 -0000 2.21 *************** *** 22,25 **** --- 22,41 ---- rst_html = None + SEARCHBOX = \ + '''<!-- start of search bar --> + <div id="search"> + <form method="get" action="http://www.google.com/search"> + Search: <input id="q" name="q" size="30" value=""> + <input type="hidden" id="domains" name="domains" + value="docs.python.org" /> + <input type="hidden" id="sitesearch" name="sitesearch" + value="docs.python.org" /> + <input type="hidden" id="sourceid" name="sourceid" + value="google-search" /> + <input type="submit" id="submit" name="submit" value="submit" /> + </form> + </div><!-- end of search bar --> + ''' + class PDOGenerator(Skeleton, Sidebar, Banner): *************** *** 115,120 **** def get_banner(self): ! return Banner.get_banner(self) ! def get_banner_attributes(self): return 'cellspacing="0" cellpadding="0"' --- 131,139 ---- def get_banner(self): ! banner = Banner.get_banner(self) ! if self.__parser.get('search-box', 'no').lower() == 'yes': ! banner = SEARCHBOX + banner ! return banner ! def get_banner_attributes(self): return 'cellspacing="0" cellpadding="0"' |
From: Rob H. <ro...@ho...> - 2004-07-23 23:08:25
|
Fred L. Drake, Jr. wrote: > On Friday 23 July 2004 05:17 pm, David Goodger wrote: > > My first thought is to replace class-private method and > > attribute names with single-underscore names, qualified with the class > > name. So Banner.__links becomes Banner._banner_links. Basically what > > class-privacy does, but in a non-magical form. > > Actually, I'd be inclined to remove all the inheritance, and use aggregation > and delegation instead. But that's an ever bigger task, and there's been > little interest (at least from me) and no time. I hacked away on this already in October 2003. Attached. Maybe someone can use this as a starting point. Rob |
From: Fred L. D. Jr. <fd...@ac...> - 2004-07-23 21:28:33
|
On Friday 23 July 2004 05:17 pm, David Goodger wrote: > banner. I still want to use Banner.Banner.get_banner to do it, but > much of that class is double-underscore-class-private. Which makes it > a royal pain to subclass. Yes, it does. ;-( > What's reason for all this __privacy? I can see that with so many > mixin classes, there's a risk of namespace collision. But that's > pretty easy to avoid. Any other reason? This is a phenomenon known as "Barrynoia." If you work with people named Barry long enough, you start to recognize it. > Any objection to refactoring the guts of ht2html to remove all this > __privacy? Not from me! > My first thought is to replace class-private method and > attribute names with single-underscore names, qualified with the class > name. So Banner.__links becomes Banner._banner_links. Basically what > class-privacy does, but in a non-magical form. Actually, I'd be inclined to remove all the inheritance, and use aggregation and delegation instead. But that's an ever bigger task, and there's been little interest (at least from me) and no time. So knock yourself out! I'm sure the extensive test suite will make your task swift and pleasant. ;-( ;-( ;-( -Fred -- Fred L. Drake, Jr. <fdrake at acm.org> |
From: David G. <go...@py...> - 2004-07-23 21:17:47
|
I'm thinking about reimplementing the Docutils website with ht2html. Having looked at ht2html a bit, I think I see what to do. There are a few places where I'd like to subclass ht2html's default behavior though. For instance, I'd like to put a Google search box in the banner. I still want to use Banner.Banner.get_banner to do it, but much of that class is double-underscore-class-private. Which makes it a royal pain to subclass. What's reason for all this __privacy? I can see that with so many mixin classes, there's a risk of namespace collision. But that's pretty easy to avoid. Any other reason? Any objection to refactoring the guts of ht2html to remove all this __privacy? My first thought is to replace class-private method and attribute names with single-underscore names, qualified with the class name. So Banner.__links becomes Banner._banner_links. Basically what class-privacy does, but in a non-magical form. -- David Goodger <http://python.net/~goodger> |
From: David G. <go...@us...> - 2004-07-22 01:06:46
|
Update of /cvsroot/ht2html/ht2html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8903 Modified Files: rst_html.py Log Message: Leave encoding of result up to client code. (Rev. 1.2 checkin message should have been """simplified glue code (for new Docutils API); needs Docutils 0.3.3+ (and Python 2.3 for non-Latin-1 output)""".) Index: rst_html.py =================================================================== RCS file: /cvsroot/ht2html/ht2html/rst_html.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** rst_html.py 20 Jul 2004 23:16:44 -0000 1.2 --- rst_html.py 22 Jul 2004 01:06:38 -0000 1.3 *************** *** 8,13 **** ! def process_rst (filename, body): ! "Parse 'body' as RST and convert it to HTML" settings = { # `body` text already decoded (already Unicode): --- 8,16 ---- ! def process_rst(filename, body): ! """ ! Parse 'body' (Unicode string) as RST and convert it to HTML fragment. ! Returned HTML is also a Unicode string. ! """ settings = { # `body` text already decoded (already Unicode): *************** *** 27,30 **** # for Docutils config files: config_section='ht2html application') ! body = parts['fragment'] ! return body.encode('latin-1', 'xmlcharrefreplace') --- 30,32 ---- # for Docutils config files: config_section='ht2html application') ! return parts['fragment'] |
From: David G. <go...@us...> - 2004-07-22 01:06:36
|
Update of /cvsroot/ht2html/ht2html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8878 Modified Files: PDOGenerator.py Log Message: Treat RST & HTML uniformly; decode & encode both. (Rev. 2.19 checkin message should have been """added support for "encoding" header""".) Index: PDOGenerator.py =================================================================== RCS file: /cvsroot/ht2html/ht2html/PDOGenerator.py,v retrieving revision 2.19 retrieving revision 2.20 diff -C2 -d -r2.19 -r2.20 *** PDOGenerator.py 20 Jul 2004 23:16:55 -0000 2.19 --- PDOGenerator.py 22 Jul 2004 01:06:28 -0000 2.20 *************** *** 161,164 **** --- 161,165 ---- if self.__body is None: data = self.__parser.fp.read() + # convert to Unicode: text = data.decode(self.get_encoding()) if self.get_content_type() == 'text/x-rst': *************** *** 167,171 **** else: text = rst_html.process_rst(self.filename, text) ! i = text.find('<!--table-stop-->') if i >= 0: --- 168,173 ---- else: text = rst_html.process_rst(self.filename, text) ! # convert Unicode back to 8-bit string: ! text = text.encode(self.get_charset(), 'xmlcharrefreplace') i = text.find('<!--table-stop-->') if i >= 0: |
From: David G. <go...@py...> - 2004-07-21 00:34:49
|
BTW, there are some tips for i18n and Emacs at http://docutils.sourceforge.net/tools/editors/emacs/README.html -- David Goodger <http://python.net/~goodger> |
From: David G. <go...@py...> - 2004-07-20 23:36:22
|
As promised at PyCon in March, I have just checked in support for a new "Encoding:" header for PDOGenerator.py, defaulting to "latin-1". At the same time, I simplified the rst_html.py glue code. (Got the checkin messages mixed up, sorry.) A recent Docutils is needed [1]_, and Python 2.3+ is required for non-Latin-1 output. For an example of the input and output, see http://python.net/~goodger/tmp/test.html http://python.net/~goodger/tmp/test.ht If you see garbage characters in the lines between "Python fits your brain!" and "Python Software Foundation", your OS or browser can't handle Japanese. If you see garbage characters anywhere else, your OS or browser is retarded ;-) No changes to the Makefile are needed. I thought about extending the "Content-type" header as in email & web pages, but a new "Encoding" header was easier. Which is better? Encoding: ISO-8859-1 or Content-type: text/x-rst; charset=ISO-8859-1 Also, I considered adding support for an Emacs top-turd like -*- coding: iso-8859-1 -*- But then the .ht file would no longer be RFC-2822-compliant. Instead, a bottom-turd works fine: Local Variables: coding: utf-8 End: .. [1] The latest Docutils is *mostly* installed on creosote. setup.py tried to install the rst2html.py script in /usr/bin, but permissions prevented it. This brings up a couple of points: * Why is Distutils installing in /usr/bin, and not /usr/local/bin? Isn't /usr/local/bin a better default? * I tried sudo'ing the install, but I don't seem to be on the sudoers list on creosote. So I couldn't install Docutils for Python 2.3 at all. Could somebody add me to sudoers please (or copy my ssh key to root)? -- David Goodger <http://python.net/~goodger> |
From: David G. <go...@us...> - 2004-07-20 23:17:06
|
Update of /cvsroot/ht2html/ht2html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27545 Modified Files: PDOGenerator.py Log Message: simplified glue code (for new Docutils API); needs Docutils 0.3.3+ (and Python 2.3 for non-Latin-1 output) Index: PDOGenerator.py =================================================================== RCS file: /cvsroot/ht2html/ht2html/PDOGenerator.py,v retrieving revision 2.18 retrieving revision 2.19 diff -C2 -d -r2.18 -r2.19 *** PDOGenerator.py 8 Apr 2004 05:43:55 -0000 2.18 --- PDOGenerator.py 20 Jul 2004 23:16:55 -0000 2.19 *************** *** 106,109 **** --- 106,112 ---- return self.__parser.get('content-type') + def get_encoding(self): + return self.__parser.get('encoding', 'latin-1') + def get_sidebar(self): if self.__parser.get('wide-page', 'no').lower() == 'yes': *************** *** 157,161 **** def __grokbody(self): if self.__body is None: ! text = self.__parser.fp.read() if self.get_content_type() == 'text/x-rst': if rst_html is None: --- 160,165 ---- def __grokbody(self): if self.__body is None: ! data = self.__parser.fp.read() ! text = data.decode(self.get_encoding()) if self.get_content_type() == 'text/x-rst': if rst_html is None: |
From: David G. <go...@us...> - 2004-07-20 23:16:52
|
Update of /cvsroot/ht2html/ht2html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27488 Modified Files: rst_html.py Log Message: added support for "encoding" header Index: rst_html.py =================================================================== RCS file: /cvsroot/ht2html/ht2html/rst_html.py,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** rst_html.py 26 Jul 2003 10:39:05 -0000 1.1 --- rst_html.py 20 Jul 2004 23:16:44 -0000 1.2 *************** *** 2,52 **** # Code for translating ReST to HTML suitable for inclusion in a page. # ! # Originally from AMK's unreleased weblogging software (visible in CVS ! # at www.sf.net/oedipus). ! ! import StringIO ! from docutils import core, io ! from docutils.writers import html4css1 ! ! ! class WeblogWriter (html4css1.Writer): ! def __init__ (self): ! html4css1.Writer.__init__(self) ! self.translator_class = WeblogHTMLTranslator ! class WeblogHTMLTranslator (html4css1.HTMLTranslator): ! def __init__(self, document): ! html4css1.HTMLTranslator.__init__(self, document) ! self.head_prefix = [] ! self.body_prefix = [] ! self.stylesheet = [] ! self.body_suffix = [] ! self.section_level = 2 ! ! def visit_system_message(self, node): ! pass - def visit_document (self, node): - pass - - def depart_document (self, node): - pass - def process_rst (filename, body): "Parse 'body' as RST and convert it to HTML" ! output_file = StringIO.StringIO() ! body = core.publish_string( reader_name='standalone', parser_name='restructuredtext', - writer=WeblogWriter(), writer_name='html', ! source_path=filename, ! source=body, ! destination_path=filename, ! settings=None) ! ! body = unicode(body, 'utf-8') ! body = body.encode('latin-1') ! return body ! --- 2,30 ---- # Code for translating ReST to HTML suitable for inclusion in a page. # ! # Originally from AMK's unreleased weblogging software (visible in CVS ! # at www.sf.net/oedipus). ! import docutils.core def process_rst (filename, body): "Parse 'body' as RST and convert it to HTML" ! settings = { ! # `body` text already decoded (already Unicode): ! 'input_encoding': 'unicode', ! # start section titles at <h3>: ! 'initial_header_level': 3, ! # document title given in .ht headers; don't take from section title: ! 'doctitle_xform': None} ! parts = docutils.core.publish_parts( ! source=body, ! source_path=filename, ! destination_path=filename, reader_name='standalone', parser_name='restructuredtext', writer_name='html', ! settings_overrides=settings, ! # for Docutils config files: ! config_section='ht2html application') ! body = parts['fragment'] ! return body.encode('latin-1', 'xmlcharrefreplace') |
From: Fred L. D. Jr. <fd...@ac...> - 2004-07-01 01:27:24
|
On Wednesday 30 June 2004 10:07 am, Boris Dev wrote: > i cant figure out how to change browser window title > away from xxx.ht where xxx.ht in source file for > relevant html file to something more appropriate , > which would normally be customized with <title>etc. > etc. </title> tags??? Use the Title: header at the top of you .ht file, like so: ------------------------------------- Title: Page Title <p>Content goes here...</p> ------------------------------------- -Fred -- Fred L. Drake, Jr. <fdrake at acm.org> |
From: Boris D. <bor...@ya...> - 2004-06-30 14:07:48
|
i cant figure out how to change browser window title away from xxx.ht where xxx.ht in source file for relevant html file to something more appropriate , which would normally be customized with <title>etc. etc. </title> tags??? Anyone can help? |
From: David G. <go...@py...> - 2004-06-29 03:43:50
|
David Goodger wrote: > Ah, but you were the last one to post! crap |
From: David G. <go...@py...> - 2004-06-29 03:40:59
|
Barry Warsaw wrote: > Yes, sorry I've been swamped. Of course, since David's the last person > to make changes here, he's now legally obligated to take over list > admin'ing, project management, and general community evangelizing. Ah, but you were the last one to post! -- David Goodger <http://python.net/~goodger> |
From: Barry W. <ba...@py...> - 2004-06-28 18:17:37
|
On Mon, 2004-06-28 at 14:08, Fred L. Drake, Jr. wrote: > On Monday 28 June 2004 11:06 am, David Goodger wrote: > > The CVS messages are in limbo pending list > > administrator approval. >=20 > Barry was the list admin, but I guess he's busy. I've taken care of this= now;=20 > further checkins from you should not have the emails held. Yes, sorry I've been swamped. Of course, since David's the last person to make changes here, he's now legally obligated to take over list admin'ing, project management, and general community evangelizing. we-gotcha-ly y'rs, -Barry |
From: Fred L. D. Jr. <fd...@ac...> - 2004-06-28 18:08:48
|
On Monday 28 June 2004 11:06 am, David Goodger wrote: > The CVS messages are in limbo pending list > administrator approval. Barry was the list admin, but I guess he's busy. I've taken care of this now; further checkins from you should not have the emails held. -Fred -- Fred L. Drake, Jr. <fdrake at acm.org> PythonLabs at Zope Corporation |
From: David G. <go...@py...> - 2004-06-28 15:06:08
|
> On Sunday 27 June 2004 10:58 pm, David Goodger wrote: >> Please let me know if it's OK to push these onto the SF >> web site. Fred L. Drake, Jr. wrote: > Knock yourself out! OK, done. > Thanks for updating the docs. Yer welcome. The CVS messages are in limbo pending list administrator approval. -- David Goodger <http://python.net/~goodger> |
From: Fred L. D. Jr. <fd...@ac...> - 2004-06-28 14:10:52
|
On Sunday 27 June 2004 10:58 pm, David Goodger wrote: > Brett and I are preparing to add Unicode & encoding support to > ht2html. But first, I thought I'd brush up on how ht2html works. I > found several typos & other problems in the docs, which I've fixed & > checked in. Please let me know if it's OK to push these onto the SF > web site. Knock yourself out! Thanks for updating the docs. -Fred -- Fred L. Drake, Jr. <fdrake at acm.org> PythonLabs at Zope Corporation |
From: David G. <go...@py...> - 2004-06-28 02:58:34
|
Brett and I are preparing to add Unicode & encoding support to ht2html. But first, I thought I'd brush up on how ht2html works. I found several typos & other problems in the docs, which I've fixed & checked in. Please let me know if it's OK to push these onto the SF web site. -- David Goodger <http://python.net/~goodger> |
From: David G. <go...@us...> - 2004-06-28 02:55:19
|
Update of /cvsroot/ht2html/ht2html/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32750 Modified Files: bugs.html components.html docstring.html examples.html index.html style.html Log Message: updated Index: bugs.html =================================================================== RCS file: /cvsroot/ht2html/ht2html/doc/bugs.html,v retrieving revision 2.8 retrieving revision 2.9 diff -C2 -d -r2.8 -r2.9 *** bugs.html 1 Nov 2002 15:47:22 -0000 2.8 --- bugs.html 28 Jun 2004 02:55:11 -0000 2.9 *************** *** 1,6 **** ! <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <!-- THIS PAGE IS AUTOMATICALLY GENERATED. DO NOT EDIT. --> ! <!-- Fri Nov 1 10:42:41 2002 --> <!-- USING HT2HTML 2.0 --> <!-- SEE http://ht2html.sf.net --> --- 1,7 ---- ! <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" ! "http://www.w3.org/TR/html4/loose.dtd" > <html> <!-- THIS PAGE IS AUTOMATICALLY GENERATED. DO NOT EDIT. --> ! <!-- Sun Jun 27 22:33:58 2004 --> <!-- USING HT2HTML 2.0 --> <!-- SEE http://ht2html.sf.net --> *************** *** 12,17 **** <head> <title>Bugs and Peculiarities</title> ! <meta http-equiv="Content-Type" content="text/html; charset=us-ascii"> ! <meta name="generator" content="HT2HTML/2.0"> <style type="text/css"> body { margin: 0px; } --- 13,18 ---- <head> <title>Bugs and Peculiarities</title> ! <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" /> ! <meta name="generator" content="HT2HTML/2.0" /> <style type="text/css"> body { margin: 0px; } *************** *** 32,36 **** <a href="index.html"> <img alt="ht2html" border="0" ! src="ht2html.png"></a></center> </td> <td width="15" bgcolor="#89aaaa"> </td><!--spacer--> <!-- end of corner cells --> --- 33,37 ---- <a href="index.html"> <img alt="ht2html" border="0" ! src="ht2html.png" /></a></center> </td> <td width="15" bgcolor="#89aaaa"> </td><!--spacer--> <!-- end of corner cells --> *************** *** 39,43 **** <!-- start of site links table --> <table width="100%" border="0" ! cellspacing="0" cellpadding="0" bgcolor="#ffffff"> <tr> --- 40,44 ---- <!-- start of site links table --> <table width="100%" border="0" ! cellspacing="0" cellpadding="0" bgcolor="#ffffff"> <tr> *************** *** 87,91 **** <a href="examples.html">Examples</a> </td></tr> ! <tr><td bgcolor="#89aaaa"> <tr><td bgcolor="#238e68"><b><font color="#ffffff"> Download --- 88,92 ---- <a href="examples.html">Examples</a> </td></tr> ! <tr><td bgcolor="#89aaaa"> </td></tr> <tr><td bgcolor="#238e68"><b><font color="#ffffff"> Download *************** *** 94,98 **** <a href="http://sourceforge.net/project/showfiles.php?group_id=46757">Download from SF</a> </td></tr> ! <tr><td bgcolor="#89aaaa"> <tr><td bgcolor="#238e68"><b><font color="#ffffff"> ht2html sites --- 95,99 ---- <a href="http://sourceforge.net/project/showfiles.php?group_id=46757">Download from SF</a> </td></tr> ! <tr><td bgcolor="#89aaaa"> </td></tr> <tr><td bgcolor="#238e68"><b><font color="#ffffff"> ht2html sites *************** *** 119,123 **** <a href="http://mayavi.sf.net/">MayaVi</a> </td></tr> ! <tr><td bgcolor="#89aaaa"> <tr><td bgcolor="#238e68"><b><font color="#ffffff"> Email Us --- 120,124 ---- <a href="http://mayavi.sf.net/">MayaVi</a> </td></tr> ! <tr><td bgcolor="#89aaaa"> </td></tr> <tr><td bgcolor="#238e68"><b><font color="#ffffff"> Email Us *************** *** 133,137 **** <center> <img alt="[Python Powered]" border="0" ! src="PythonPoweredSmall.png"></center> </a> </td></tr> --- 134,138 ---- <center> <img alt="[Python Powered]" border="0" ! src="PythonPoweredSmall.png" /></center> </a> </td></tr> *************** *** 140,144 **** </td></tr> <tr><td bgcolor="#89aaaa"> ! © 1999-2002 </td></tr> <tr><td bgcolor="#89aaaa"> --- 141,145 ---- </td></tr> <tr><td bgcolor="#89aaaa"> ! © 1999-2004 </td></tr> <tr><td bgcolor="#89aaaa"> *************** *** 146,150 **** </td></tr> <tr><td bgcolor="#89aaaa"> ! <hr> </td></tr> <tr><td bgcolor="#89aaaa"> --- 147,151 ---- </td></tr> <tr><td bgcolor="#89aaaa"> ! <hr /> </td></tr> <tr><td bgcolor="#89aaaa"> *************** *** 157,166 **** <!-- end of sidebar cell --> <!-- start of body cell --> ! <td valign="top" width="90%" class="body"><br> <h3>Bugs and Peculiarities</h3> <p>If you have really wide <pre> stuff in the body section, the banner can get drawn too wide by most browsers. In this case, you ! might want to but the wide body text in a <a href="components.html#continuation">continuation</a> section. --- 158,167 ---- <!-- end of sidebar cell --> <!-- start of body cell --> ! <td valign="top" width="90%" class="body"><br /> <h3>Bugs and Peculiarities</h3> <p>If you have really wide <pre> stuff in the body section, the banner can get drawn too wide by most browsers. In this case, you ! might want to put the wide body text in a <a href="components.html#continuation">continuation</a> section. Index: components.html =================================================================== RCS file: /cvsroot/ht2html/ht2html/doc/components.html,v retrieving revision 2.8 retrieving revision 2.9 diff -C2 -d -r2.8 -r2.9 *** components.html 1 Nov 2002 15:47:24 -0000 2.8 --- components.html 28 Jun 2004 02:55:11 -0000 2.9 *************** *** 1,6 **** ! <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <!-- THIS PAGE IS AUTOMATICALLY GENERATED. DO NOT EDIT. --> ! <!-- Fri Nov 1 10:42:41 2002 --> <!-- USING HT2HTML 2.0 --> <!-- SEE http://ht2html.sf.net --> --- 1,7 ---- ! <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" ! "http://www.w3.org/TR/html4/loose.dtd" > <html> <!-- THIS PAGE IS AUTOMATICALLY GENERATED. DO NOT EDIT. --> ! <!-- Sun Jun 27 22:33:58 2004 --> <!-- USING HT2HTML 2.0 --> <!-- SEE http://ht2html.sf.net --> *************** *** 12,17 **** <head> <title>The components of a web page generated by ht2html</title> ! <meta http-equiv="Content-Type" content="text/html; charset=us-ascii"> ! <meta name="generator" content="HT2HTML/2.0"> <style type="text/css"> body { margin: 0px; } --- 13,18 ---- <head> <title>The components of a web page generated by ht2html</title> ! <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" /> ! <meta name="generator" content="HT2HTML/2.0" /> <style type="text/css"> body { margin: 0px; } *************** *** 32,36 **** <a href="index.html"> <img alt="ht2html" border="0" ! src="ht2html.png"></a></center> </td> <td width="15" bgcolor="#89aaaa"> </td><!--spacer--> <!-- end of corner cells --> --- 33,37 ---- <a href="index.html"> <img alt="ht2html" border="0" ! src="ht2html.png" /></a></center> </td> <td width="15" bgcolor="#89aaaa"> </td><!--spacer--> <!-- end of corner cells --> *************** *** 39,43 **** <!-- start of site links table --> <table width="100%" border="0" ! cellspacing="0" cellpadding="0" bgcolor="#ffffff"> <tr> --- 40,44 ---- <!-- start of site links table --> <table width="100%" border="0" ! cellspacing="0" cellpadding="0" bgcolor="#ffffff"> <tr> *************** *** 87,91 **** <a href="examples.html">Examples</a> </td></tr> ! <tr><td bgcolor="#89aaaa"> <tr><td bgcolor="#238e68"><b><font color="#ffffff"> Download --- 88,92 ---- <a href="examples.html">Examples</a> </td></tr> ! <tr><td bgcolor="#89aaaa"> </td></tr> <tr><td bgcolor="#238e68"><b><font color="#ffffff"> Download *************** *** 94,98 **** <a href="http://sourceforge.net/project/showfiles.php?group_id=46757">Download from SF</a> </td></tr> ! <tr><td bgcolor="#89aaaa"> <tr><td bgcolor="#238e68"><b><font color="#ffffff"> ht2html sites --- 95,99 ---- <a href="http://sourceforge.net/project/showfiles.php?group_id=46757">Download from SF</a> </td></tr> ! <tr><td bgcolor="#89aaaa"> </td></tr> <tr><td bgcolor="#238e68"><b><font color="#ffffff"> ht2html sites *************** *** 119,123 **** <a href="http://mayavi.sf.net/">MayaVi</a> </td></tr> ! <tr><td bgcolor="#89aaaa"> <tr><td bgcolor="#238e68"><b><font color="#ffffff"> Email Us --- 120,124 ---- <a href="http://mayavi.sf.net/">MayaVi</a> </td></tr> ! <tr><td bgcolor="#89aaaa"> </td></tr> <tr><td bgcolor="#238e68"><b><font color="#ffffff"> Email Us *************** *** 133,137 **** <center> <img alt="[Python Powered]" border="0" ! src="PythonPoweredSmall.png"></center> </a> </td></tr> --- 134,138 ---- <center> <img alt="[Python Powered]" border="0" ! src="PythonPoweredSmall.png" /></center> </a> </td></tr> *************** *** 140,144 **** </td></tr> <tr><td bgcolor="#89aaaa"> ! © 1999-2002 </td></tr> <tr><td bgcolor="#89aaaa"> --- 141,145 ---- </td></tr> <tr><td bgcolor="#89aaaa"> ! © 1999-2004 </td></tr> <tr><td bgcolor="#89aaaa"> *************** *** 146,150 **** </td></tr> <tr><td bgcolor="#89aaaa"> ! <hr> </td></tr> <tr><td bgcolor="#89aaaa"> --- 147,151 ---- </td></tr> <tr><td bgcolor="#89aaaa"> ! <hr /> </td></tr> <tr><td bgcolor="#89aaaa"> *************** *** 157,161 **** <!-- end of sidebar cell --> <!-- start of body cell --> ! <td valign="top" width="90%" class="body"><br> <h3>The components of a web page generated by ht2html</h3> --- 158,162 ---- <!-- end of sidebar cell --> <!-- start of body cell --> ! <td valign="top" width="90%" class="body"><br /> <h3>The components of a web page generated by ht2html</h3> Index: docstring.html =================================================================== RCS file: /cvsroot/ht2html/ht2html/doc/docstring.html,v retrieving revision 2.7 retrieving revision 2.8 diff -C2 -d -r2.7 -r2.8 *** docstring.html 1 Nov 2002 15:47:25 -0000 2.7 --- docstring.html 28 Jun 2004 02:55:11 -0000 2.8 *************** *** 1,6 **** ! <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <!-- THIS PAGE IS AUTOMATICALLY GENERATED. DO NOT EDIT. --> ! <!-- Fri Nov 1 10:42:42 2002 --> <!-- USING HT2HTML 2.0 --> <!-- SEE http://ht2html.sf.net --> --- 1,7 ---- ! <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" ! "http://www.w3.org/TR/html4/loose.dtd" > <html> <!-- THIS PAGE IS AUTOMATICALLY GENERATED. DO NOT EDIT. --> ! <!-- Sun Jun 27 22:33:59 2004 --> <!-- USING HT2HTML 2.0 --> <!-- SEE http://ht2html.sf.net --> *************** *** 12,17 **** <head> <title>Usage</title> ! <meta http-equiv="Content-Type" content="text/html; charset=us-ascii"> ! <meta name="generator" content="HT2HTML/2.0"> <style type="text/css"> body { margin: 0px; } --- 13,18 ---- <head> <title>Usage</title> ! <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" /> ! <meta name="generator" content="HT2HTML/2.0" /> <style type="text/css"> body { margin: 0px; } *************** *** 32,36 **** <a href="index.html"> <img alt="ht2html" border="0" ! src="ht2html.png"></a></center> </td> <td width="15" bgcolor="#89aaaa"> </td><!--spacer--> <!-- end of corner cells --> --- 33,37 ---- <a href="index.html"> <img alt="ht2html" border="0" ! src="ht2html.png" /></a></center> </td> <td width="15" bgcolor="#89aaaa"> </td><!--spacer--> <!-- end of corner cells --> *************** *** 39,43 **** <!-- start of site links table --> <table width="100%" border="0" ! cellspacing="0" cellpadding="0" bgcolor="#ffffff"> <tr> --- 40,44 ---- <!-- start of site links table --> <table width="100%" border="0" ! cellspacing="0" cellpadding="0" bgcolor="#ffffff"> <tr> *************** *** 87,91 **** <a href="examples.html">Examples</a> </td></tr> ! <tr><td bgcolor="#89aaaa"> <tr><td bgcolor="#238e68"><b><font color="#ffffff"> Download --- 88,92 ---- <a href="examples.html">Examples</a> </td></tr> ! <tr><td bgcolor="#89aaaa"> </td></tr> <tr><td bgcolor="#238e68"><b><font color="#ffffff"> Download *************** *** 94,98 **** <a href="http://sourceforge.net/project/showfiles.php?group_id=46757">Download from SF</a> </td></tr> ! <tr><td bgcolor="#89aaaa"> <tr><td bgcolor="#238e68"><b><font color="#ffffff"> ht2html sites --- 95,99 ---- <a href="http://sourceforge.net/project/showfiles.php?group_id=46757">Download from SF</a> </td></tr> ! <tr><td bgcolor="#89aaaa"> </td></tr> <tr><td bgcolor="#238e68"><b><font color="#ffffff"> ht2html sites *************** *** 119,123 **** <a href="http://mayavi.sf.net/">MayaVi</a> </td></tr> ! <tr><td bgcolor="#89aaaa"> <tr><td bgcolor="#238e68"><b><font color="#ffffff"> Email Us --- 120,124 ---- <a href="http://mayavi.sf.net/">MayaVi</a> </td></tr> ! <tr><td bgcolor="#89aaaa"> </td></tr> <tr><td bgcolor="#238e68"><b><font color="#ffffff"> Email Us *************** *** 133,137 **** <center> <img alt="[Python Powered]" border="0" ! src="PythonPoweredSmall.png"></center> </a> </td></tr> --- 134,138 ---- <center> <img alt="[Python Powered]" border="0" ! src="PythonPoweredSmall.png" /></center> </a> </td></tr> *************** *** 140,144 **** </td></tr> <tr><td bgcolor="#89aaaa"> ! © 1999-2002 </td></tr> <tr><td bgcolor="#89aaaa"> --- 141,145 ---- </td></tr> <tr><td bgcolor="#89aaaa"> ! © 1999-2004 </td></tr> <tr><td bgcolor="#89aaaa"> *************** *** 146,150 **** </td></tr> <tr><td bgcolor="#89aaaa"> ! <hr> </td></tr> <tr><td bgcolor="#89aaaa"> --- 147,151 ---- </td></tr> <tr><td bgcolor="#89aaaa"> ! <hr /> </td></tr> <tr><td bgcolor="#89aaaa"> *************** *** 157,161 **** <!-- end of sidebar cell --> <!-- start of body cell --> ! <td valign="top" width="90%" class="body"><br> <h3>Usage</h3> --- 158,162 ---- <!-- end of sidebar cell --> <!-- start of body cell --> ! <td valign="top" width="90%" class="body"><br /> <h3>Usage</h3> *************** *** 176,180 **** directory is used. ! <p><dt>--style <em>classmod</em><br> -s <em>classmod</em> <dd>Specifies the generator style. <em>classmod</em> is both a module --- 177,183 ---- directory is used. ! <br><br> ! ! <dt>--style <em>classmod</em><br> -s <em>classmod</em> <dd>Specifies the generator style. <em>classmod</em> is both a module *************** *** 184,187 **** --- 187,192 ---- passing the following arguments: + <br><br> + <ul> <li><b>file</b> -- the .ht file to be parsed *************** *** 190,209 **** directory. Note that <em>rootdir</em> must be a direct parent of the current directory. ! <em>file</em> should be passed to <tt>HTParser</tt> to create an instance of the file parser. Your class should also create a <tt>LinkFixer</tt> using (the .html version of) <em>file</em>, <em>rootdir</em>, and <em>relthis</em>. ! <p><dt>--backup<br> -b <dd>Make a backup of any existing .html if it would get overwritten. ! <p><dt>--backupext <em>ext</em><br> -x <em>ext</em> <dd>Specify the extension for backup files. Otherwise <tt>.bak</tt> is used. ! <p><dt>--force<br> -f <dd>Force overwritting of .html file even if the generated file is the --- 195,219 ---- directory. Note that <em>rootdir</em> must be a direct parent of the current directory. + </ul> ! <p><em>file</em> should be passed to <tt>HTParser</tt> to create an instance of the file parser. Your class should also create a <tt>LinkFixer</tt> using (the .html version of) <em>file</em>, <em>rootdir</em>, and <em>relthis</em>. ! <dt>--backup<br> -b <dd>Make a backup of any existing .html if it would get overwritten. ! <br><br> ! ! <dt>--backupext <em>ext</em><br> -x <em>ext</em> <dd>Specify the extension for backup files. Otherwise <tt>.bak</tt> is used. ! <br><br> ! ! <dt>--force<br> -f <dd>Force overwritting of .html file even if the generated file is the *************** *** 211,223 **** different. ! <p><dt>--version<br> -v <dd>Print the version number and exit. ! <p><dt>--quiet<br> -q <dd>Be quiet. ! <p><dt>--help<br> -h <dd>Print this message and exit. --- 221,239 ---- different. ! <br><br> ! ! <dt>--version<br> -v <dd>Print the version number and exit. ! <br><br> ! ! <dt>--quiet<br> -q <dd>Be quiet. ! <br><br> ! ! <dt>--help<br> -h <dd>Print this message and exit. Index: examples.html =================================================================== RCS file: /cvsroot/ht2html/ht2html/doc/examples.html,v retrieving revision 2.7 retrieving revision 2.8 diff -C2 -d -r2.7 -r2.8 *** examples.html 1 Nov 2002 15:47:26 -0000 2.7 --- examples.html 28 Jun 2004 02:55:11 -0000 2.8 *************** *** 1,17 **** ! <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <!-- THIS PAGE IS AUTOMATICALLY GENERATED. DO NOT EDIT. --> ! <!-- Fri Nov 1 10:42:42 2002 --> <!-- USING HT2HTML 2.0 --> <!-- SEE http://ht2html.sf.net --> <!-- User-specified headers: ! Title: Usage --> <head> ! <title>Usage</title> ! <meta http-equiv="Content-Type" content="text/html; charset=us-ascii"> ! <meta name="generator" content="HT2HTML/2.0"> <style type="text/css"> body { margin: 0px; } --- 1,18 ---- ! <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" ! "http://www.w3.org/TR/html4/loose.dtd" > <html> <!-- THIS PAGE IS AUTOMATICALLY GENERATED. DO NOT EDIT. --> ! <!-- Sun Jun 27 22:33:59 2004 --> <!-- USING HT2HTML 2.0 --> <!-- SEE http://ht2html.sf.net --> <!-- User-specified headers: ! Title: Examples --> <head> ! <title>Examples</title> ! <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" /> ! <meta name="generator" content="HT2HTML/2.0" /> <style type="text/css"> body { margin: 0px; } *************** *** 32,36 **** <a href="index.html"> <img alt="ht2html" border="0" ! src="ht2html.png"></a></center> </td> <td width="15" bgcolor="#89aaaa"> </td><!--spacer--> <!-- end of corner cells --> --- 33,37 ---- <a href="index.html"> <img alt="ht2html" border="0" ! src="ht2html.png" /></a></center> </td> <td width="15" bgcolor="#89aaaa"> </td><!--spacer--> <!-- end of corner cells --> *************** *** 39,43 **** <!-- start of site links table --> <table width="100%" border="0" ! cellspacing="0" cellpadding="0" bgcolor="#ffffff"> <tr> --- 40,44 ---- <!-- start of site links table --> <table width="100%" border="0" ! cellspacing="0" cellpadding="0" bgcolor="#ffffff"> <tr> *************** *** 87,91 **** <b>Examples</b> </td></tr> ! <tr><td bgcolor="#89aaaa"> <tr><td bgcolor="#238e68"><b><font color="#ffffff"> Download --- 88,92 ---- <b>Examples</b> </td></tr> ! <tr><td bgcolor="#89aaaa"> </td></tr> <tr><td bgcolor="#238e68"><b><font color="#ffffff"> Download *************** *** 94,98 **** <a href="http://sourceforge.net/project/showfiles.php?group_id=46757">Download from SF</a> </td></tr> ! <tr><td bgcolor="#89aaaa"> <tr><td bgcolor="#238e68"><b><font color="#ffffff"> ht2html sites --- 95,99 ---- <a href="http://sourceforge.net/project/showfiles.php?group_id=46757">Download from SF</a> </td></tr> ! <tr><td bgcolor="#89aaaa"> </td></tr> <tr><td bgcolor="#238e68"><b><font color="#ffffff"> ht2html sites *************** *** 119,123 **** <a href="http://mayavi.sf.net/">MayaVi</a> </td></tr> ! <tr><td bgcolor="#89aaaa"> <tr><td bgcolor="#238e68"><b><font color="#ffffff"> Email Us --- 120,124 ---- <a href="http://mayavi.sf.net/">MayaVi</a> </td></tr> ! <tr><td bgcolor="#89aaaa"> </td></tr> <tr><td bgcolor="#238e68"><b><font color="#ffffff"> Email Us *************** *** 133,137 **** <center> <img alt="[Python Powered]" border="0" ! src="PythonPoweredSmall.png"></center> </a> </td></tr> --- 134,138 ---- <center> <img alt="[Python Powered]" border="0" ! src="PythonPoweredSmall.png" /></center> </a> </td></tr> *************** *** 140,144 **** </td></tr> <tr><td bgcolor="#89aaaa"> ! © 1999-2002 </td></tr> <tr><td bgcolor="#89aaaa"> --- 141,145 ---- </td></tr> <tr><td bgcolor="#89aaaa"> ! © 1999-2004 </td></tr> <tr><td bgcolor="#89aaaa"> *************** *** 146,150 **** </td></tr> <tr><td bgcolor="#89aaaa"> ! <hr> </td></tr> <tr><td bgcolor="#89aaaa"> --- 147,151 ---- </td></tr> <tr><td bgcolor="#89aaaa"> ! <hr /> </td></tr> <tr><td bgcolor="#89aaaa"> *************** *** 157,161 **** <!-- end of sidebar cell --> <!-- start of body cell --> ! <td valign="top" width="90%" class="body"><br> <h3>Examples</h3> --- 158,162 ---- <!-- end of sidebar cell --> <!-- start of body cell --> ! <td valign="top" width="90%" class="body"><br /> <h3>Examples</h3> *************** *** 163,169 **** web site styles. These are done by creating a <em>generator</em> class, which customizes not only style elements such as the ! <a href="components#sidebar">sidebar</a> colors and the ! <a href="components#corner">corner</a> icon, but also such elements as the copyright notice and what --- 164,170 ---- web site styles. These are done by creating a <em>generator</em> class, which customizes not only style elements such as the ! <a href="components.html#sidebar">sidebar</a> colors and the ! <a href="components.html#corner">corner</a> icon, but also such elements as the copyright notice and what Index: index.html =================================================================== RCS file: /cvsroot/ht2html/ht2html/doc/index.html,v retrieving revision 2.7 retrieving revision 2.8 diff -C2 -d -r2.7 -r2.8 *** index.html 1 Nov 2002 15:47:26 -0000 2.7 --- index.html 28 Jun 2004 02:55:11 -0000 2.8 *************** *** 1,17 **** ! <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <!-- THIS PAGE IS AUTOMATICALLY GENERATED. DO NOT EDIT. --> ! <!-- Fri Nov 1 10:42:42 2002 --> <!-- USING HT2HTML 2.0 --> <!-- SEE http://ht2html.sf.net --> <!-- User-specified headers: ! Title: ht2html.py -- A web page template processor --> <head> ! <title>ht2html.py -- A web page template processor</title> ! <meta http-equiv="Content-Type" content="text/html; charset=us-ascii"> ! <meta name="generator" content="HT2HTML/2.0"> <style type="text/css"> body { margin: 0px; } --- 1,18 ---- ! <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" ! "http://www.w3.org/TR/html4/loose.dtd" > <html> <!-- THIS PAGE IS AUTOMATICALLY GENERATED. DO NOT EDIT. --> ! <!-- Sun Jun 27 22:43:52 2004 --> <!-- USING HT2HTML 2.0 --> <!-- SEE http://ht2html.sf.net --> <!-- User-specified headers: ! Title: ht2html.py: A web page template processor --> <head> ! <title>ht2html.py: A web page template processor</title> ! <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" /> ! <meta name="generator" content="HT2HTML/2.0" /> <style type="text/css"> body { margin: 0px; } *************** *** 32,36 **** <a href="index.html"> <img alt="ht2html" border="0" ! src="ht2html.png"></a></center> </td> <td width="15" bgcolor="#89aaaa"> </td><!--spacer--> <!-- end of corner cells --> --- 33,37 ---- <a href="index.html"> <img alt="ht2html" border="0" ! src="ht2html.png" /></a></center> </td> <td width="15" bgcolor="#89aaaa"> </td><!--spacer--> <!-- end of corner cells --> *************** *** 39,43 **** <!-- start of site links table --> <table width="100%" border="0" ! cellspacing="0" cellpadding="0" bgcolor="#ffffff"> <tr> --- 40,44 ---- <!-- start of site links table --> <table width="100%" border="0" ! cellspacing="0" cellpadding="0" bgcolor="#ffffff"> <tr> *************** *** 87,91 **** <a href="examples.html">Examples</a> </td></tr> ! <tr><td bgcolor="#89aaaa"> <tr><td bgcolor="#238e68"><b><font color="#ffffff"> Download --- 88,92 ---- <a href="examples.html">Examples</a> </td></tr> ! <tr><td bgcolor="#89aaaa"> </td></tr> <tr><td bgcolor="#238e68"><b><font color="#ffffff"> Download *************** *** 94,98 **** <a href="http://sourceforge.net/project/showfiles.php?group_id=46757">Download from SF</a> </td></tr> ! <tr><td bgcolor="#89aaaa"> <tr><td bgcolor="#238e68"><b><font color="#ffffff"> ht2html sites --- 95,99 ---- <a href="http://sourceforge.net/project/showfiles.php?group_id=46757">Download from SF</a> </td></tr> ! <tr><td bgcolor="#89aaaa"> </td></tr> <tr><td bgcolor="#238e68"><b><font color="#ffffff"> ht2html sites *************** *** 119,123 **** <a href="http://mayavi.sf.net/">MayaVi</a> </td></tr> ! <tr><td bgcolor="#89aaaa"> <tr><td bgcolor="#238e68"><b><font color="#ffffff"> Email Us --- 120,124 ---- <a href="http://mayavi.sf.net/">MayaVi</a> </td></tr> ! <tr><td bgcolor="#89aaaa"> </td></tr> <tr><td bgcolor="#238e68"><b><font color="#ffffff"> Email Us *************** *** 133,137 **** <center> <img alt="[Python Powered]" border="0" ! src="PythonPoweredSmall.png"></center> </a> </td></tr> --- 134,138 ---- <center> <img alt="[Python Powered]" border="0" ! src="PythonPoweredSmall.png" /></center> </a> </td></tr> *************** *** 140,144 **** </td></tr> <tr><td bgcolor="#89aaaa"> ! © 1999-2002 </td></tr> <tr><td bgcolor="#89aaaa"> --- 141,145 ---- </td></tr> <tr><td bgcolor="#89aaaa"> ! © 1999-2004 </td></tr> <tr><td bgcolor="#89aaaa"> *************** *** 146,150 **** </td></tr> <tr><td bgcolor="#89aaaa"> ! <hr> </td></tr> <tr><td bgcolor="#89aaaa"> --- 147,151 ---- </td></tr> <tr><td bgcolor="#89aaaa"> ! <hr /> </td></tr> <tr><td bgcolor="#89aaaa"> *************** *** 157,162 **** <!-- end of sidebar cell --> <!-- start of body cell --> ! <td valign="top" width="90%" class="body"><br> ! <h3>ht2html.py -- A web page template processor</h3> <p>HTML frames are cool in theory, but have severe practical problems. --- 158,163 ---- <!-- end of sidebar cell --> <!-- start of body cell --> ! <td valign="top" width="90%" class="body"><br /> ! <h3>ht2html.py: A web page template processor</h3> <p>HTML frames are cool in theory, but have severe practical problems. *************** *** 210,214 **** </ul> ! <p><strong>Note:</strong> Python 2.0 or newer is required! </td><!-- end of body cell --> --- 211,216 ---- </ul> ! <p><strong>Note:</strong> <a href="http://www.python.org">Python</a> ! 2.0 or newer is required! </td><!-- end of body cell --> Index: style.html =================================================================== RCS file: /cvsroot/ht2html/ht2html/doc/style.html,v retrieving revision 2.4 retrieving revision 2.5 diff -C2 -d -r2.4 -r2.5 *** style.html 1 Nov 2002 15:47:27 -0000 2.4 --- style.html 28 Jun 2004 02:55:11 -0000 2.5 *************** *** 1,17 **** ! <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <!-- THIS PAGE IS AUTOMATICALLY GENERATED. DO NOT EDIT. --> ! <!-- Fri Nov 1 10:42:42 2002 --> <!-- USING HT2HTML 2.0 --> <!-- SEE http://ht2html.sf.net --> <!-- User-specified headers: ! Title: ht2html.py -- A web page template processor --> <head> ! <title>ht2html.py -- A web page template processor</title> ! <meta http-equiv="Content-Type" content="text/html; charset=us-ascii"> ! <meta name="generator" content="HT2HTML/2.0"> <style type="text/css"> body { margin: 0px; } --- 1,18 ---- ! <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" ! "http://www.w3.org/TR/html4/loose.dtd" > <html> <!-- THIS PAGE IS AUTOMATICALLY GENERATED. DO NOT EDIT. --> ! <!-- Sun Jun 27 22:34:00 2004 --> <!-- USING HT2HTML 2.0 --> <!-- SEE http://ht2html.sf.net --> <!-- User-specified headers: ! Title: Using Stylesheets with HT2HTML --> <head> ! <title>Using Stylesheets with HT2HTML</title> ! <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" /> ! <meta name="generator" content="HT2HTML/2.0" /> <style type="text/css"> body { margin: 0px; } *************** *** 32,36 **** <a href="index.html"> <img alt="ht2html" border="0" ! src="ht2html.png"></a></center> </td> <td width="15" bgcolor="#89aaaa"> </td><!--spacer--> <!-- end of corner cells --> --- 33,37 ---- <a href="index.html"> <img alt="ht2html" border="0" ! src="ht2html.png" /></a></center> </td> <td width="15" bgcolor="#89aaaa"> </td><!--spacer--> <!-- end of corner cells --> *************** *** 39,43 **** <!-- start of site links table --> <table width="100%" border="0" ! cellspacing="0" cellpadding="0" bgcolor="#ffffff"> <tr> --- 40,44 ---- <!-- start of site links table --> <table width="100%" border="0" ! cellspacing="0" cellpadding="0" bgcolor="#ffffff"> <tr> *************** *** 87,91 **** <a href="examples.html">Examples</a> </td></tr> ! <tr><td bgcolor="#89aaaa"> <tr><td bgcolor="#238e68"><b><font color="#ffffff"> Download --- 88,92 ---- <a href="examples.html">Examples</a> </td></tr> ! <tr><td bgcolor="#89aaaa"> </td></tr> <tr><td bgcolor="#238e68"><b><font color="#ffffff"> Download *************** *** 94,98 **** <a href="http://sourceforge.net/project/showfiles.php?group_id=46757">Download from SF</a> </td></tr> ! <tr><td bgcolor="#89aaaa"> <tr><td bgcolor="#238e68"><b><font color="#ffffff"> ht2html sites --- 95,99 ---- <a href="http://sourceforge.net/project/showfiles.php?group_id=46757">Download from SF</a> </td></tr> ! <tr><td bgcolor="#89aaaa"> </td></tr> <tr><td bgcolor="#238e68"><b><font color="#ffffff"> ht2html sites *************** *** 119,123 **** <a href="http://mayavi.sf.net/">MayaVi</a> </td></tr> ! <tr><td bgcolor="#89aaaa"> <tr><td bgcolor="#238e68"><b><font color="#ffffff"> Email Us --- 120,124 ---- <a href="http://mayavi.sf.net/">MayaVi</a> </td></tr> ! <tr><td bgcolor="#89aaaa"> </td></tr> <tr><td bgcolor="#238e68"><b><font color="#ffffff"> Email Us *************** *** 133,137 **** <center> <img alt="[Python Powered]" border="0" ! src="PythonPoweredSmall.png"></center> </a> </td></tr> --- 134,138 ---- <center> <img alt="[Python Powered]" border="0" ! src="PythonPoweredSmall.png" /></center> </a> </td></tr> *************** *** 140,144 **** </td></tr> <tr><td bgcolor="#89aaaa"> ! © 1999-2002 </td></tr> <tr><td bgcolor="#89aaaa"> --- 141,145 ---- </td></tr> <tr><td bgcolor="#89aaaa"> ! © 1999-2004 </td></tr> <tr><td bgcolor="#89aaaa"> *************** *** 146,150 **** </td></tr> <tr><td bgcolor="#89aaaa"> ! <hr> </td></tr> <tr><td bgcolor="#89aaaa"> --- 147,151 ---- </td></tr> <tr><td bgcolor="#89aaaa"> ! <hr /> </td></tr> <tr><td bgcolor="#89aaaa"> *************** *** 157,161 **** <!-- end of sidebar cell --> <!-- start of body cell --> ! <td valign="top" width="90%" class="body"><br> <h3>Using Stylesheets with HT2HTML</h3> --- 158,162 ---- <!-- end of sidebar cell --> <!-- start of body cell --> ! <td valign="top" width="90%" class="body"><br /> <h3>Using Stylesheets with HT2HTML</h3> *************** *** 167,171 **** a good deal of duplicated code.</p> ! <p>Fortunately, support has been added to support using stylesheets with HT2HTML, at least to some degree. Each of the <a href= "components.html">major components</a> of the page is assigned a class --- 168,172 ---- a good deal of duplicated code.</p> ! <p>Fortunately, support has been added for the use of stylesheets with HT2HTML, at least to some degree. Each of the <a href= "components.html">major components</a> of the page is assigned a class *************** *** 175,191 **** <h4>Page Component Classes</h4> ! <p>Each of the page components is contained in an element which ! carries a <tt>class</tt> attribute with the same name as the component ! is given in the description of the <a href="components.html">page ! components</a>. The class names are given in all lower case. The <a href="components.html#continuation">continuation</a> component is ! treated a little specially since the general expectation is that it's ! content should be mostly like that of the <a href= ! "components.html#body">body</a>. Specifically, it is contained in a ! pair of elements, the outer having the class <tt>body</tt> and the ! inner having the class <tt>continuation</tt>. This allows a style sheet to set up all the normal body styles using the <tt>body</tt> ! class, and speciallize anything that needs to be by using both both in ! the selector, like this:</p> <blockquote> --- 176,192 ---- <h4>Page Component Classes</h4> ! <p>Each of the <a href="components.html">page components</a> (banner, ! corner, sidebar, body, and continuation) is contained in an element ! which carries a <tt>class</tt> attribute whose value is the name of ! the component. The class names are given in all lower case. The <a href="components.html#continuation">continuation</a> component is ! treated a little specially since the general expectation is that its ! content should be mostly like that of the <a ! href="components.html#body">body</a>. Specifically, it is contained ! in a pair of elements, the outer having the class <tt>body</tt> and ! the inner having the class <tt>continuation</tt>. This allows a style sheet to set up all the normal body styles using the <tt>body</tt> ! class, and speciallize anything that needs it by using both both ! classes in the selector, like this:</p> <blockquote> |
From: David G. <go...@us...> - 2004-06-28 02:54:47
|
Update of /cvsroot/ht2html/ht2html/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32619 Modified Files: style.ht Log Message: fixed title & text Index: style.ht =================================================================== RCS file: /cvsroot/ht2html/ht2html/doc/style.ht,v retrieving revision 2.1 retrieving revision 2.2 diff -C2 -d -r2.1 -r2.2 *** style.ht 5 Apr 2002 06:02:28 -0000 2.1 --- style.ht 28 Jun 2004 02:54:38 -0000 2.2 *************** *** 1,3 **** ! Title: ht2html.py -- A web page template processor <h3>Using Stylesheets with HT2HTML</h3> --- 1,3 ---- ! Title: Using Stylesheets with HT2HTML <h3>Using Stylesheets with HT2HTML</h3> *************** *** 10,14 **** a good deal of duplicated code.</p> ! <p>Fortunately, support has been added to support using stylesheets with HT2HTML, at least to some degree. Each of the <a href= "components.html">major components</a> of the page is assigned a class --- 10,14 ---- a good deal of duplicated code.</p> ! <p>Fortunately, support has been added for the use of stylesheets with HT2HTML, at least to some degree. Each of the <a href= "components.html">major components</a> of the page is assigned a class *************** *** 18,34 **** <h4>Page Component Classes</h4> ! <p>Each of the page components is contained in an element which ! carries a <tt>class</tt> attribute with the same name as the component ! is given in the description of the <a href="components.html">page ! components</a>. The class names are given in all lower case. The <a href="components.html#continuation">continuation</a> component is ! treated a little specially since the general expectation is that it's ! content should be mostly like that of the <a href= ! "components.html#body">body</a>. Specifically, it is contained in a ! pair of elements, the outer having the class <tt>body</tt> and the ! inner having the class <tt>continuation</tt>. This allows a style sheet to set up all the normal body styles using the <tt>body</tt> ! class, and speciallize anything that needs to be by using both both in ! the selector, like this:</p> <blockquote> --- 18,34 ---- <h4>Page Component Classes</h4> ! <p>Each of the <a href="components.html">page components</a> (banner, ! corner, sidebar, body, and continuation) is contained in an element ! which carries a <tt>class</tt> attribute whose value is the name of ! the component. The class names are given in all lower case. The <a href="components.html#continuation">continuation</a> component is ! treated a little specially since the general expectation is that its ! content should be mostly like that of the <a ! href="components.html#body">body</a>. Specifically, it is contained ! in a pair of elements, the outer having the class <tt>body</tt> and ! the inner having the class <tt>continuation</tt>. This allows a style sheet to set up all the normal body styles using the <tt>body</tt> ! class, and speciallize anything that needs it by using both both ! classes in the selector, like this:</p> <blockquote> |
From: David G. <go...@us...> - 2004-06-28 02:54:35
|
Update of /cvsroot/ht2html/ht2html/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32592 Modified Files: index.ht Log Message: fixed title ("--" caused HTML comment problems) Index: index.ht =================================================================== RCS file: /cvsroot/ht2html/ht2html/doc/index.ht,v retrieving revision 2.2 retrieving revision 2.3 diff -C2 -d -r2.2 -r2.3 *** index.ht 1 Nov 2002 15:28:48 -0000 2.2 --- index.ht 28 Jun 2004 02:54:26 -0000 2.3 *************** *** 1,5 **** ! Title: ht2html.py -- A web page template processor ! <h3>ht2html.py -- A web page template processor</h3> <p>HTML frames are cool in theory, but have severe practical problems. --- 1,5 ---- ! Title: ht2html.py: A web page template processor ! <h3>ht2html.py: A web page template processor</h3> <p>HTML frames are cool in theory, but have severe practical problems. *************** *** 53,55 **** </ul> ! <p><strong>Note:</strong> Python 2.0 or newer is required! --- 53,56 ---- </ul> ! <p><strong>Note:</strong> <a href="http://www.python.org">Python</a> ! 2.0 or newer is required! |
From: David G. <go...@us...> - 2004-06-28 02:54:21
|
Update of /cvsroot/ht2html/ht2html/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32556 Modified Files: examples.ht Log Message: fixed title Index: examples.ht =================================================================== RCS file: /cvsroot/ht2html/ht2html/doc/examples.ht,v retrieving revision 2.1 retrieving revision 2.2 diff -C2 -d -r2.1 -r2.2 *** examples.ht 4 Nov 2002 15:23:03 -0000 2.1 --- examples.ht 28 Jun 2004 02:54:12 -0000 2.2 *************** *** 1,3 **** ! Title: Usage <h3>Examples</h3> --- 1,3 ---- ! Title: Examples <h3>Examples</h3> |
From: David G. <go...@us...> - 2004-06-28 02:54:09
|
Update of /cvsroot/ht2html/ht2html/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32493 Modified Files: docstring.ht Log Message: fixed markup; now works in Firefox, Safari, MSIE Index: docstring.ht =================================================================== RCS file: /cvsroot/ht2html/ht2html/doc/docstring.ht,v retrieving revision 2.0 retrieving revision 2.1 diff -C2 -d -r2.0 -r2.1 *** docstring.ht 22 Mar 2002 17:45:40 -0000 2.0 --- docstring.ht 28 Jun 2004 02:54:00 -0000 2.1 *************** *** 19,23 **** directory is used. ! <p><dt>--style <em>classmod</em><br> -s <em>classmod</em> <dd>Specifies the generator style. <em>classmod</em> is both a module --- 19,25 ---- directory is used. ! <br><br> ! ! <dt>--style <em>classmod</em><br> -s <em>classmod</em> <dd>Specifies the generator style. <em>classmod</em> is both a module *************** *** 27,30 **** --- 29,34 ---- passing the following arguments: + <br><br> + <ul> <li><b>file</b> -- the .ht file to be parsed *************** *** 33,52 **** directory. Note that <em>rootdir</em> must be a direct parent of the current directory. ! <em>file</em> should be passed to <tt>HTParser</tt> to create an instance of the file parser. Your class should also create a <tt>LinkFixer</tt> using (the .html version of) <em>file</em>, <em>rootdir</em>, and <em>relthis</em>. ! <p><dt>--backup<br> -b <dd>Make a backup of any existing .html if it would get overwritten. ! <p><dt>--backupext <em>ext</em><br> -x <em>ext</em> <dd>Specify the extension for backup files. Otherwise <tt>.bak</tt> is used. ! <p><dt>--force<br> -f <dd>Force overwritting of .html file even if the generated file is the --- 37,61 ---- directory. Note that <em>rootdir</em> must be a direct parent of the current directory. + </ul> ! <p><em>file</em> should be passed to <tt>HTParser</tt> to create an instance of the file parser. Your class should also create a <tt>LinkFixer</tt> using (the .html version of) <em>file</em>, <em>rootdir</em>, and <em>relthis</em>. ! <dt>--backup<br> -b <dd>Make a backup of any existing .html if it would get overwritten. ! <br><br> ! ! <dt>--backupext <em>ext</em><br> -x <em>ext</em> <dd>Specify the extension for backup files. Otherwise <tt>.bak</tt> is used. ! <br><br> ! ! <dt>--force<br> -f <dd>Force overwritting of .html file even if the generated file is the *************** *** 54,66 **** different. ! <p><dt>--version<br> -v <dd>Print the version number and exit. ! <p><dt>--quiet<br> -q <dd>Be quiet. ! <p><dt>--help<br> -h <dd>Print this message and exit. --- 63,81 ---- different. ! <br><br> ! ! <dt>--version<br> -v <dd>Print the version number and exit. ! <br><br> ! ! <dt>--quiet<br> -q <dd>Be quiet. ! <br><br> ! ! <dt>--help<br> -h <dd>Print this message and exit. |