Html (version 0.4)
index
/usr2/hgg9140/pdx/Pdx/Html.py

#/* Pdx/Html.py 
# * Copyright (C) 1999  Harry George
# *
# * This library is free software; you can redistribute it and/or
# * modify it under the terms of the GNU Library General Public
# * License as published by the Free Software Foundation; either
# * version 2 of the License, or (at your option) any later version.
# *
# * This library is distributed in the hope that it will be useful,
# * but WITHOUT ANY WARRANTY; without even the implied warranty of
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# * Library General Public License for more details.
# *
# * You should have received a copy of the GNU Library General Public
# * License along with this library; if not, write to the
# * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# * Boston, MA 02111-1307, USA.
# */

 
Modules
            
Base
cgi
os
re
string
sys
time
 
Classes
            
Base.Base
Html
 
class Html(Base.Base)
      #====================================
 
   Methods defined here:
__del__(self)
#------------------
__init__(self)
#------------------
driver_center(self)
#--------------------
driver_head(self, label, level, name)
#--------------------
driver_head_numbered(self, label, level, name)
Given stack of headings with [[1],[1,1],[1,2],[2]]
get the current head, and build the label.
Maintain stack.
driver_index(self)
#--------------------
driver_line(self, line)
#--------------------
driver_list(self, marker)
#--------------------
driver_para(self)
#-------------------
driver_quote(self)
#--------------------
driver_table_begin(self, caption)
#--------------------
driver_table_cell_begin(self, width=None)
#--------------------
driver_table_cell_end(self)
#--------------------
driver_table_end(self, caption)
#--------------------
driver_table_row_begin(self)
#--------------------
driver_table_row_end(self)
#--------------------
driver_texmath(self, lines)
#--------------------
driver_toc(self)
#--------------------
driver_verbatim(self, lines)
#-------------------------
driver_xref(self, term)
#---------------------

Data and non-method functions defined here:
__doc__ = None
__module__ = 'Html'
classname = 'Html'

Methods inherited from Base.Base:
close_files(self)
#------------------------
do_begin(self, driver)
#----------------
do_cfg(self)
#-------------
do_cut(self)
#----------------
do_def(self, name, sep, value)
#-------------------
do_for(self, driver, line)
#------------------
do_head(self, level, name)
#-------------------
do_include(self, filename)
#------------------
do_include_for(self, driver, filename)
#------------------
do_include_getdata(self, filename)
#------------------
do_include_raw(self, driver, filename)
#------------------
do_include_verbatim(self, filename)
#------------------
do_list(self, marker)
#----------------
do_over(self)
#----------------
do_para(self)
#-------------------
do_pathpop(self)
#-------------------
do_pathpush(self, name)
#-------------------
do_postamble_for(self, name)
#--------------------
do_preamble_append_for(self, name)
#--------------------
do_preamble_begin_for(self, name)
#--------------------
do_preamble_end_for(self, name)
#--------------------
do_table(self, m)
#-------------------
do_table0(self, caption)
default style
do_table1(self, colwidths, grid, caption)
with percent field sizes, and grid/nogrid
do_table_cell_begin(self)
#--------------------------
do_table_cell_end(self)
#---------------------------
do_table_cells(self, cells)
#--------------------------
do_table_row(self, line, first_row_p=0, caption=None)
#-------------------
do_table_row_out(self, cells)
#--------------------------
do_texmath(self)
#-------------------
do_texmath_png(self, filename, lines)
#--------------------
do_verbatim(self)
#------------------
do_verbatim_pod(self)
#------------------
driver_reset(self)
#===driver stubs==================
driver_verbatim_line(self, line)
dump(self, prompt)
#-------------------
err(self, txt)
#--------------------------
fatal(self, txt)
#------------------------
genlabel(self)
#-----------------------
get_date(self)
#----------------------
morelines(self)
#--------------------
nextline(self)
#--------------------
open_files(self)
#-------------------
out(self, line)
#--------------------
parse(self, args)
#-------------------
parse_args(self, args)
#-------------------
process_file(self)
#----------------------
rawout(self, line)
#--------------------
reset(self)
#--------------------
write_postamble(self)
#-------------------
write_preamble(self)
#--------------------

Data and non-method functions inherited from Base.Base:
B_pat = <_sre.SRE_Pattern object>
C_pat = <_sre.SRE_Pattern object>
I_pat = <_sre.SRE_Pattern object>
L_hash_pat = <_sre.SRE_Pattern object>
L_pat = <_sre.SRE_Pattern object>
N_pat = <_sre.SRE_Pattern object>
U_pat = <_sre.SRE_Pattern object>
X_pat = <_sre.SRE_Pattern object>
amp_pat = <_sre.SRE_Pattern object>
back_pat = <_sre.SRE_Pattern object>
begin_pat = <_sre.SRE_Pattern object>
break_pat = <_sre.SRE_Pattern object>
center_pat = <_sre.SRE_Pattern object>
cfg_pat = <_sre.SRE_Pattern object>
column_pat = <_sre.SRE_Pattern object>
columns_pat = <_sre.SRE_Pattern object>
comment_pat = <_sre.SRE_Pattern object>
cut_pat = <_sre.SRE_Pattern object>
def1_pat = <_sre.SRE_Pattern object>
def2_pat = <_sre.SRE_Pattern object>
end_pat = <_sre.SRE_Pattern object>
equal_pat = <_sre.SRE_Pattern object>
expand_pat = <_sre.SRE_Pattern object>
for_pat = <_sre.SRE_Pattern object>
gt_pat = <_sre.SRE_Pattern object>
head_pat = <_sre.SRE_Pattern object>
hr_pat = <_sre.SRE_Pattern object>
include_for_pat = <_sre.SRE_Pattern object>
include_pat = <_sre.SRE_Pattern object>
include_raw_pat = <_sre.SRE_Pattern object>
include_verbatim_pat = <_sre.SRE_Pattern object>
item_pat = <_sre.SRE_Pattern object>
lb_pat = <_sre.SRE_Pattern object>
list_pat = <_sre.SRE_Pattern object>
lt_pat = <_sre.SRE_Pattern object>
out_pat = <_sre.SRE_Pattern object>
over_pat = <_sre.SRE_Pattern object>
para_pat = <_sre.SRE_Pattern object>
pathpop_pat = <_sre.SRE_Pattern object>
pathpush_pat = <_sre.SRE_Pattern object>
postamble_for_pat = <_sre.SRE_Pattern object>
preamble_append_for_pat = <_sre.SRE_Pattern object>
preamble_begin_for_pat = <_sre.SRE_Pattern object>
preamble_end_for_pat = <_sre.SRE_Pattern object>
quot_pat = <_sre.SRE_Pattern object>
quote_pat = <_sre.SRE_Pattern object>
row_amp_pat = <_sre.SRE_Pattern object>
row_pat = <_sre.SRE_Pattern object>
table_cell_pat = <_sre.SRE_Pattern object>
table_pat = <_sre.SRE_Pattern object>
texmath_pat = <_sre.SRE_Pattern object>
verbatim_pat = <_sre.SRE_Pattern object>
 
Functions
            
TT_fix(m)
Given a C<...> which becomes <TT>...</TT>,
replace leading spaces in the contexts with hardspaces
debug(ftn, txt)
test(basename)
#==main=======================
testloop(basename)
 
Data
             __file__ = './Html.pyc'
__name__ = 'Html'
__version__ = '0.4'