Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes | Static Public Attributes
texi2html.TexinfoParserHTML3 Class Reference
Inheritance diagram for texi2html.TexinfoParserHTML3:
Inheritance graph
[legend]
Collaboration diagram for texi2html.TexinfoParserHTML3:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def bgn_quotation
def end_quotation
def bgn_example
def end_example
def bgn_flushleft
def bgn_flushright
def end_flushright
def bgn_menu
def end_menu
def sethtmlhelp
def setdirname
def setincludedir
def parse
def parserest
def startsaving
def collectsavings
def write
def endnode
def process
def inmenu
def expand
def unknown_open
def unknown_close
def unknown_handle
def handle_noindent
def handle_refill
def do_include
def open_dmn
def close_dmn
def open_dots
def close_dots
def open_bullet
def close_bullet
def open_TeX
def close_TeX
def handle_copyright
def open_copyright
def close_copyright
def open_minus
def close_minus
def open_exclamdown
def close_exclamdown
def open_questiondown
def close_questiondown
def open_aa
def close_aa
def open_AA
def close_AA
def open_ae
def close_ae
def open_AE
def close_AE
def open_o
def close_o
def open_O
def close_O
def open_ss
def close_ss
def open_oe
def close_oe
def open_OE
def close_OE
def open_l
def close_l
def open_L
def close_L
def open_result
def close_result
def open_expansion
def close_expansion
def open_print
def close_print
def open_error
def close_error
def open_equiv
def close_equiv
def open_point
def close_point
def open_pxref
def close_pxref
def open_xref
def close_xref
def open_ref
def close_ref
def open_inforef
def close_inforef
def makeref
def open_uref
def close_uref
def open_image
def close_image
def makeimage
def open_
def close_
def open_cite
def close_cite
def open_code
def close_code
def open_t
def close_t
def open_dfn
def close_dfn
def open_emph
def close_emph
def open_i
def close_i
def open_footnote
def close_footnote
def writefootnotes
def open_file
def close_file
def open_kbd
def close_kbd
def open_key
def close_key
def open_r
def close_r
def open_samp
def close_samp
def open_sc
def close_sc
def open_strong
def close_strong
def open_b
def close_b
def open_var
def close_var
def open_w
def close_w
def open_url
def close_url
def open_email
def close_email
def open_small
def close_small
def command
def unknown_cmd
def do_end
def unknown_end
def do_comment
def bgn_ifinfo
def end_ifinfo
def bgn_iftex
def end_iftex
def bgn_ignore
def end_ignore
def bgn_tex
def end_tex
def do_set
def do_clear
def bgn_ifset
def end_ifset
def bgn_ifclear
def end_ifclear
def open_value
def close_value
def do_settitle
def do_parskip
def do_bye
def bgn_titlepage
def end_titlepage
def do_shorttitlepage
def do_center
def do_node
def link
def popstack
def do_chapter
def do_unnumbered
def do_appendix
def do_top
def do_chapheading
def do_majorheading
def do_section
def do_unnumberedsec
def do_appendixsec
def do_heading
def do_subsection
def do_unnumberedsubsec
def do_appendixsubsec
def do_subheading
def do_subsubsection
def do_unnumberedsubsubsec
def do_appendixsubsubsec
def do_subsubheading
def heading
def do_contents
def do_shortcontents
def listcontents
def do_page
def do_need
def bgn_group
def end_group
def do_sp
def do_hline
def bgn_deffn
def end_deffn
def do_deffnx
def bgn_defun
def do_defunx
def bgn_defmac
def do_defmacx
def bgn_defspec
def do_defspecx
def bgn_defvr
def do_defvrx
def bgn_defvar
def do_defvarx
def bgn_defopt
def do_defoptx
def bgn_deftypefn
def do_deftypefnx
def bgn_deftypefun
def do_deftypefunx
def bgn_deftypevr
def do_deftypevrx
def bgn_deftypevar
def do_deftypevarx
def bgn_defcv
def do_defcvx
def bgn_defivar
def do_defivarx
def bgn_defop
def do_defopx
def bgn_defmethod
def do_defmethodx
def bgn_deftp
def do_deftpx
def bgn_enumerate
def end_enumerate
def bgn_itemize
def end_itemize
def bgn_table
def end_table
def bgn_ftable
def end_ftable
def bgn_vtable
def end_vtable
def do_item
def bgn_multitable
def end_multitable
def handle_columnfractions
def handle_tab
def do_exdent
def end_flushleft
def bgn_cartouche
def end_cartouche
def resetindex
def user_index
def do_cindex
def do_findex
def do_kindex
def do_pindex
def do_tindex
def do_vindex
def index
def do_synindex
def do_printindex
def prindex
def report

Public Attributes

 nofill
 unknown
 filenames
 debugging
 print_headers
 nodefp
 nodelineno
 links
 savetext
 savestack
 htmlhelp
 dirname
 includedir
 nodename
 topname
 title
 contents
 numbering
 values
 stackinfo
 footnotes
 itemarg
 itemnumber
 itemindex
 node
 nodestack
 cont
 includedepth
 done
 skip
 stack
 nodelinks
 noncodeindices
 indextitle
 whichindex

Static Public Attributes

string COPYRIGHT_SYMBOL = "©"
string FN_ID_PATTERN = "[%(id)s]"
string FN_SOURCE_PATTERN = '<A ID=footnoteref%(id)s '
string FN_TARGET_PATTERN = '<FN ID=footnotetext%(id)s>\n'
string FN_HEADER = '<DIV CLASS=footnotes>\n <HR NOSHADE WIDTH=200>\n'
 Node = HTML3Node
 open_asis = open_
 close_asis = close_
 open_titlefont = open_
 close_titlefont = close_
 do_c = do_comment
 do_finalout = do_comment
 do_setchapternewpage = do_comment
 do_setfilename = do_comment
 do_title = do_center
 do_subtitle = do_center
 do_author = do_center
 do_vskip = do_comment
 do_vfill = do_comment
 do_smallbook = do_comment
 do_paragraphindent = do_comment
 do_headings = do_comment
 do_footnotestyle = do_comment
 do_evenheading = do_comment
 do_evenfooting = do_comment
 do_oddheading = do_comment
 do_oddfooting = do_comment
 do_everyheading = do_comment
 do_everyfooting = do_comment
 do_appendixsection = do_appendixsec
 do_summarycontents = do_shortcontents
 end_defun = end_deffn
 end_defmac = end_deffn
 end_defspec = end_deffn
 end_defvr = end_deffn
 end_defvar = end_defvr
 end_defopt = end_defvr
 end_deftypefn = end_deffn
 end_deftypefun = end_deftypefn
 end_deftypevr = end_deftypefn
 end_deftypevar = end_deftypevr
 end_defcv = end_deftypevr
 end_defivar = end_defcv
 end_defop = end_defcv
 end_defmethod = end_defop
 end_deftp = end_defcv
 do_itemx = do_item
 bgn_lisp = bgn_example
 end_lisp = end_example
 bgn_smallexample = bgn_example
 end_smallexample = end_example
 bgn_smalllisp = bgn_lisp
 end_smalllisp = end_lisp
 bgn_display = bgn_example
 end_display = end_example
 bgn_format = bgn_display
 end_format = end_display
 do_syncodeindex = do_synindex

Detailed Description

Definition at line 1637 of file texi2html.py.


Member Function Documentation

def texi2html.TexinfoParser.bgn_cartouche (   self,
  args 
) [inherited]

Definition at line 1528 of file texi2html.py.

01528 
    def bgn_cartouche(self, args): pass
def texi2html.TexinfoParser.bgn_defcv (   self,
  args 
) [inherited]

Definition at line 1330 of file texi2html.py.

01330 
01331     def bgn_defcv(self, args):
01332         self.write('<DL>')
01333         self.do_defcvx(args)

Here is the caller graph for this function:

def texi2html.TexinfoParser.bgn_deffn (   self,
  args 
) [inherited]

Definition at line 1228 of file texi2html.py.

01228 
01229     def bgn_deffn(self, args):
01230         self.write('<DL>')
01231         self.do_deffnx(args)

Here is the caller graph for this function:

def texi2html.TexinfoParser.bgn_defivar (   self,
  args 
) [inherited]

Definition at line 1347 of file texi2html.py.

01347 
01348     def bgn_defivar(self, args):
        self.bgn_defcv('{Instance Variable} ' + args)

Here is the call graph for this function:

def texi2html.TexinfoParser.bgn_defmac (   self,
  args 
) [inherited]

Definition at line 1249 of file texi2html.py.

01249 
    def bgn_defmac(self, args): self.bgn_deffn('Macro ' + args)

Here is the call graph for this function:

def texi2html.TexinfoParser.bgn_defmethod (   self,
  args 
) [inherited]

Definition at line 1369 of file texi2html.py.

01369 
01370     def bgn_defmethod(self, args):
        self.bgn_defop('Method ' + args)

Here is the call graph for this function:

def texi2html.TexinfoParser.bgn_defop (   self,
  args 
) [inherited]

Definition at line 1353 of file texi2html.py.

01353 
01354     def bgn_defop(self, args):
01355         self.write('<DL>')
01356         self.do_defopx(args)

Here is the caller graph for this function:

def texi2html.TexinfoParser.bgn_defopt (   self,
  args 
) [inherited]

Definition at line 1278 of file texi2html.py.

01278 
    def bgn_defopt(self, args): self.bgn_defvr('{User Option} ' + args)

Here is the call graph for this function:

def texi2html.TexinfoParser.bgn_defspec (   self,
  args 
) [inherited]

Definition at line 1253 of file texi2html.py.

01253 
    def bgn_defspec(self, args): self.bgn_deffn('{Special Form} ' + args)

Here is the call graph for this function:

def texi2html.TexinfoParser.bgn_deftp (   self,
  args 
) [inherited]

Definition at line 1377 of file texi2html.py.

01377 
01378     def bgn_deftp(self, args):
01379         self.write('<DL>')
01380         self.do_deftpx(args)

def texi2html.TexinfoParser.bgn_deftypefn (   self,
  args 
) [inherited]

Definition at line 1284 of file texi2html.py.

01284 
01285     def bgn_deftypefn(self, args):
01286         self.write('<DL>')
01287         self.do_deftypefnx(args)

Here is the caller graph for this function:

def texi2html.TexinfoParser.bgn_deftypefun (   self,
  args 
) [inherited]

Definition at line 1301 of file texi2html.py.

01301 
    def bgn_deftypefun(self, args): self.bgn_deftypefn('Function ' + args)

Here is the call graph for this function:

def texi2html.TexinfoParser.bgn_deftypevar (   self,
  args 
) [inherited]

Definition at line 1322 of file texi2html.py.

01322 
01323     def bgn_deftypevar(self, args):
        self.bgn_deftypevr('Variable ' + args)

Here is the call graph for this function:

def texi2html.TexinfoParser.bgn_deftypevr (   self,
  args 
) [inherited]

Definition at line 1305 of file texi2html.py.

01305 
01306     def bgn_deftypevr(self, args):
01307         self.write('<DL>')
01308         self.do_deftypevrx(args)

Here is the caller graph for this function:

def texi2html.TexinfoParser.bgn_defun (   self,
  args 
) [inherited]

Definition at line 1245 of file texi2html.py.

01245 
    def bgn_defun(self, args): self.bgn_deffn('Function ' + args)

Here is the call graph for this function:

def texi2html.TexinfoParser.bgn_defvar (   self,
  args 
) [inherited]

Definition at line 1274 of file texi2html.py.

01274 
    def bgn_defvar(self, args): self.bgn_defvr('Variable ' + args)

Here is the call graph for this function:

def texi2html.TexinfoParser.bgn_defvr (   self,
  args 
) [inherited]

Definition at line 1257 of file texi2html.py.

01257 
01258     def bgn_defvr(self, args):
01259         self.write('<DL>')
01260         self.do_defvrx(args)

Here is the caller graph for this function:

def texi2html.TexinfoParser.bgn_enumerate (   self,
  args 
) [inherited]

Definition at line 1395 of file texi2html.py.

01395 
01396     def bgn_enumerate(self, args):
01397         if not args:
01398             self.write('<OL>\n')
01399             self.stackinfo[len(self.stack)] = '</OL>\n'
01400         else:
01401             self.itemnumber = args
01402             self.write('<UL>\n')
            self.stackinfo[len(self.stack)] = '</UL>\n'
def texi2html.TexinfoParserHTML3.bgn_example (   self,
  args 
)

Reimplemented from texi2html.TexinfoParser.

Definition at line 1654 of file texi2html.py.

01654 
01655     def bgn_example(self, args):
01656         # this use of <CODE> would not be legal in HTML 2.0,
01657         # but is in more recent DTDs.
01658         self.nofill = self.nofill + 1
        self.write('<PRE CLASS=example><CODE>')
def texi2html.TexinfoParserHTML3.bgn_flushleft (   self,
  args 
)

Reimplemented from texi2html.TexinfoParser.

Definition at line 1663 of file texi2html.py.

01663 
01664     def bgn_flushleft(self, args):
01665         self.nofill = self.nofill + 1
01666         self.write('<PRE CLASS=flushleft>\n')

def texi2html.TexinfoParserHTML3.bgn_flushright (   self,
  args 
)

Reimplemented from texi2html.TexinfoParser.

Definition at line 1667 of file texi2html.py.

01667 
01668     def bgn_flushright(self, args):
01669         self.nofill = self.nofill + 1
        self.write('<DIV ALIGN=right CLASS=flushright><ADDRESS COMPACT>\n')
def texi2html.TexinfoParser.bgn_ftable (   self,
  args 
) [inherited]

Definition at line 1422 of file texi2html.py.

01422 
01423     def bgn_ftable(self, args):
01424         self.itemindex = 'fn'
        self.bgn_table(args)

Here is the call graph for this function:

def texi2html.TexinfoParser.bgn_group (   self,
  args 
) [inherited]

Definition at line 1212 of file texi2html.py.

01212 
    def bgn_group(self, args): pass
def texi2html.TexinfoParser.bgn_ifclear (   self,
  args 
) [inherited]

Definition at line 970 of file texi2html.py.

00970 
00971     def bgn_ifclear(self, args):
00972         if args in self.values and self.values[args] is not None:
00973             self.skip = self.skip + 1
00974             self.stackinfo[len(self.stack)] = 1
00975         else:
            self.stackinfo[len(self.stack)] = 0
def texi2html.TexinfoParser.bgn_ifinfo (   self,
  args 
) [inherited]

Definition at line 932 of file texi2html.py.

00932 
    def bgn_ifinfo(self, args): pass
def texi2html.TexinfoParser.bgn_ifset (   self,
  args 
) [inherited]

Definition at line 956 of file texi2html.py.

00956 
00957     def bgn_ifset(self, args):
00958         if args not in self.values or self.values[args] is None:
00959             self.skip = self.skip + 1
00960             self.stackinfo[len(self.stack)] = 1
00961         else:
            self.stackinfo[len(self.stack)] = 0
def texi2html.TexinfoParser.bgn_iftex (   self,
  args 
) [inherited]

Definition at line 935 of file texi2html.py.

00935 
    def bgn_iftex(self, args): self.skip = self.skip + 1
def texi2html.TexinfoParser.bgn_ignore (   self,
  args 
) [inherited]

Definition at line 938 of file texi2html.py.

00938 
    def bgn_ignore(self, args): self.skip = self.skip + 1
def texi2html.TexinfoParser.bgn_itemize (   self,
  args 
) [inherited]

Definition at line 1408 of file texi2html.py.

01408 
01409     def bgn_itemize(self, args):
01410         self.itemarg = args
        self.write('<UL>\n')
def texi2html.TexinfoParserHTML3.bgn_menu (   self,
  args 
)

Reimplemented from texi2html.TexinfoParser.

Definition at line 1674 of file texi2html.py.

01674 
01675     def bgn_menu(self, args):
01676         self.write('<UL PLAIN CLASS=menu>\n')
        self.write('  <LH>Menu</LH>\n')
def texi2html.TexinfoParser.bgn_multitable (   self,
  args 
) [inherited]

Definition at line 1463 of file texi2html.py.

01463 
01464     def bgn_multitable(self, args):
01465         self.itemarg = None     # should be handled by columnfractions
        self.write('<TABLE BORDER="">\n')
def texi2html.TexinfoParserHTML3.bgn_quotation (   self,
  args 
)

Reimplemented from texi2html.TexinfoParser.

Definition at line 1651 of file texi2html.py.

01651 
    def bgn_quotation(self, args): self.write('<BQ>')

Here is the call graph for this function:

def texi2html.TexinfoParser.bgn_table (   self,
  args 
) [inherited]

Definition at line 1415 of file texi2html.py.

01415 
01416     def bgn_table(self, args):
01417         self.itemarg = args
        self.write('<DL>\n')

Here is the caller graph for this function:

def texi2html.TexinfoParser.bgn_tex (   self,
  args 
) [inherited]

Definition at line 941 of file texi2html.py.

00941 
    def bgn_tex(self, args): self.skip = self.skip + 1
def texi2html.TexinfoParser.bgn_titlepage (   self,
  args 
) [inherited]

Definition at line 1014 of file texi2html.py.

01014 
    def bgn_titlepage(self, args): self.skip = self.skip + 1
def texi2html.TexinfoParser.bgn_vtable (   self,
  args 
) [inherited]

Definition at line 1429 of file texi2html.py.

01429 
01430     def bgn_vtable(self, args):
01431         self.itemindex = 'vr'
        self.bgn_table(args)

Here is the call graph for this function:

def texi2html.TexinfoParser.close_ (   self) [inherited]

Definition at line 783 of file texi2html.py.

00783 
00784     def close_(self): pass

def texi2html.TexinfoParser.close_aa (   self) [inherited]

Definition at line 636 of file texi2html.py.

00636 
    def close_aa(self): pass
def texi2html.TexinfoParser.close_AA (   self) [inherited]

Definition at line 638 of file texi2html.py.

00638 
    def close_AA(self): pass
def texi2html.TexinfoParser.close_ae (   self) [inherited]

Definition at line 640 of file texi2html.py.

00640 
    def close_ae(self): pass
def texi2html.TexinfoParser.close_AE (   self) [inherited]

Definition at line 642 of file texi2html.py.

00642 
    def close_AE(self): pass
def texi2html.TexinfoParser.close_b (   self) [inherited]

Definition at line 846 of file texi2html.py.

00846 
00847     def close_b(self): self.write('</B>')

Here is the call graph for this function:

def texi2html.TexinfoParser.close_bullet (   self) [inherited]

Definition at line 583 of file texi2html.py.

00583 
00584     def close_bullet(self): pass

def texi2html.TexinfoParser.close_cite (   self) [inherited]

Definition at line 789 of file texi2html.py.

00789 
00790     def close_cite(self): self.write('</CITE>')

Here is the call graph for this function:

def texi2html.TexinfoParser.close_code (   self) [inherited]

Definition at line 792 of file texi2html.py.

00792 
00793     def close_code(self): self.write('</CODE>')

Here is the call graph for this function:

def texi2html.TexinfoParser.close_copyright (   self) [inherited]

Definition at line 590 of file texi2html.py.

00590 
00591     def close_copyright(self): pass

def texi2html.TexinfoParser.close_dfn (   self) [inherited]

Definition at line 798 of file texi2html.py.

00798 
00799     def close_dfn(self): self.write('</DFN>')

Here is the call graph for this function:

def texi2html.TexinfoParser.close_dmn (   self) [inherited]

Definition at line 577 of file texi2html.py.

00577 
00578     def close_dmn(self): pass

def texi2html.TexinfoParser.close_dots (   self) [inherited]

Definition at line 580 of file texi2html.py.

00580 
00581     def close_dots(self): pass

def texi2html.TexinfoParser.close_email (   self) [inherited]

Definition at line 860 of file texi2html.py.

00860 
00861     def close_email(self):
00862         text = self.collectsavings()
00863         self.write('<A HREF="mailto:', text, '">', text, '</A>')

def texi2html.TexinfoParser.close_emph (   self) [inherited]

Definition at line 801 of file texi2html.py.

00801 
00802     def close_emph(self): self.write('</EM>')

Here is the call graph for this function:

def texi2html.TexinfoParser.close_equiv (   self) [inherited]

Definition at line 673 of file texi2html.py.

00673 
00674     def close_equiv(self): pass

def texi2html.TexinfoParser.close_error (   self) [inherited]

Definition at line 670 of file texi2html.py.

00670 
00671     def close_error(self): pass

def texi2html.TexinfoParser.close_exclamdown (   self) [inherited]

Definition at line 632 of file texi2html.py.

00632 
    def close_exclamdown(self): pass
def texi2html.TexinfoParser.close_expansion (   self) [inherited]

Definition at line 664 of file texi2html.py.

00664 
00665     def close_expansion(self): pass

def texi2html.TexinfoParser.close_file (   self) [inherited]

Definition at line 825 of file texi2html.py.

00825 
00826     def close_file(self): self.write('</CODE>')

Here is the call graph for this function:

def texi2html.TexinfoParser.close_footnote (   self) [inherited]

Definition at line 813 of file texi2html.py.

00813 
00814     def close_footnote(self):
00815         id = len(self.footnotes) + 1
00816         self.footnotes.append((id, self.collectsavings()))

Here is the call graph for this function:

def texi2html.TexinfoParser.close_i (   self) [inherited]

Definition at line 804 of file texi2html.py.

00804 
00805     def close_i(self): self.write('</I>')

Here is the call graph for this function:

def texi2html.TexinfoParser.close_image (   self) [inherited]

Definition at line 742 of file texi2html.py.

00742 
00743     def close_image(self):
        self.makeimage()

Here is the call graph for this function:

def texi2html.TexinfoParser.close_inforef (   self) [inherited]

Definition at line 700 of file texi2html.py.

00700 
00701     def close_inforef(self):
00702         text = self.collectsavings()
00703         args = [s.strip() for s in text.split(',')]
00704         while len(args) < 3: args.append('')
00705         node = args[0]
00706         file = args[2]
00707         self.write('`', file, '\', node `', node, '\'')

def texi2html.TexinfoParser.close_kbd (   self) [inherited]

Definition at line 828 of file texi2html.py.

00828 
00829     def close_kbd(self): self.write('</KBD>')

Here is the call graph for this function:

def texi2html.TexinfoParser.close_key (   self) [inherited]

Definition at line 831 of file texi2html.py.

00831 
00832     def close_key(self): self.write('</KEY>')

Here is the call graph for this function:

def texi2html.TexinfoParser.close_l (   self) [inherited]

Definition at line 654 of file texi2html.py.

00654 
    def close_l(self): pass
def texi2html.TexinfoParser.close_L (   self) [inherited]

Definition at line 656 of file texi2html.py.

00656 
00657     def close_L(self): pass

def texi2html.TexinfoParser.close_minus (   self) [inherited]

Definition at line 593 of file texi2html.py.

00593 
00594     def close_minus(self): pass

def texi2html.TexinfoParser.close_o (   self) [inherited]

Definition at line 644 of file texi2html.py.

00644 
    def close_o(self): pass
def texi2html.TexinfoParser.close_O (   self) [inherited]

Definition at line 646 of file texi2html.py.

00646 
    def close_O(self): pass
def texi2html.TexinfoParser.close_oe (   self) [inherited]

Definition at line 650 of file texi2html.py.

00650 
    def close_oe(self): pass
def texi2html.TexinfoParser.close_OE (   self) [inherited]

Definition at line 652 of file texi2html.py.

00652 
    def close_OE(self): pass
def texi2html.TexinfoParser.close_point (   self) [inherited]

Definition at line 676 of file texi2html.py.

00676 
00677     def close_point(self): pass

def texi2html.TexinfoParser.close_print (   self) [inherited]

Definition at line 667 of file texi2html.py.

00667 
00668     def close_print(self): pass

def texi2html.TexinfoParser.close_pxref (   self) [inherited]

Definition at line 683 of file texi2html.py.

00683 
00684     def close_pxref(self):
00685         self.makeref()

Here is the call graph for this function:

def texi2html.TexinfoParser.close_questiondown (   self) [inherited]

Definition at line 634 of file texi2html.py.

00634 
    def close_questiondown(self): pass
def texi2html.TexinfoParser.close_r (   self) [inherited]

Definition at line 834 of file texi2html.py.

00834 
00835     def close_r(self): self.write('</R>')

Here is the call graph for this function:

def texi2html.TexinfoParser.close_ref (   self) [inherited]

Definition at line 694 of file texi2html.py.

00694 
00695     def close_ref(self):
00696         self.makeref()

Here is the call graph for this function:

def texi2html.TexinfoParser.close_result (   self) [inherited]

Definition at line 661 of file texi2html.py.

00661 
00662     def close_result(self): pass

def texi2html.TexinfoParser.close_samp (   self) [inherited]

Definition at line 837 of file texi2html.py.

00837 
00838     def close_samp(self): self.write('</SAMP>\'')

Here is the call graph for this function:

def texi2html.TexinfoParser.close_sc (   self) [inherited]

Definition at line 840 of file texi2html.py.

00840 
00841     def close_sc(self): self.write('</SMALLCAPS>')

Here is the call graph for this function:

def texi2html.TexinfoParser.close_small (   self) [inherited]

Definition at line 868 of file texi2html.py.

00868 
00869     def close_small(self): pass

def texi2html.TexinfoParser.close_ss (   self) [inherited]

Definition at line 648 of file texi2html.py.

00648 
    def close_ss(self): pass
def texi2html.TexinfoParser.close_strong (   self) [inherited]

Definition at line 843 of file texi2html.py.

00843 
00844     def close_strong(self): self.write('</STRONG>')

Here is the call graph for this function:

def texi2html.TexinfoParser.close_t (   self) [inherited]

Definition at line 795 of file texi2html.py.

00795 
00796     def close_t(self): self.write('</TT>')

Here is the call graph for this function:

def texi2html.TexinfoParser.close_TeX (   self) [inherited]

Definition at line 586 of file texi2html.py.

00586 
00587     def close_TeX(self): pass

def texi2html.TexinfoParser.close_uref (   self) [inherited]

Definition at line 724 of file texi2html.py.

00724 
00725     def close_uref(self):
00726         text = self.collectsavings()
00727         args = [s.strip() for s in text.split(',')]
00728         while len(args) < 2: args.append('')
00729         href = args[0]
00730         label = args[1]
00731         if not label: label = href
00732         self.write('<A HREF="', href, '">', label, '</A>')

def texi2html.TexinfoParser.close_url (   self) [inherited]

Definition at line 855 of file texi2html.py.

00855 
00856     def close_url(self):
00857         text = self.collectsavings()
00858         self.write('<A HREF="', text, '">', text, '</A>')

def texi2html.TexinfoParser.close_value (   self) [inherited]

Definition at line 987 of file texi2html.py.

00987 
00988     def close_value(self):
00989         key = self.collectsavings()
00990         if key in self.values:
00991             self.write(self.values[key])
00992         else:
00993             print('*** Undefined value: ', key)

def texi2html.TexinfoParser.close_var (   self) [inherited]

Definition at line 849 of file texi2html.py.

00849 
00850     def close_var(self): self.write('</VAR>')

Here is the call graph for this function:

def texi2html.TexinfoParser.close_w (   self) [inherited]

Definition at line 852 of file texi2html.py.

00852 
00853     def close_w(self): self.write('</NOBREAK>')

Here is the call graph for this function:

def texi2html.TexinfoParser.close_xref (   self) [inherited]

Definition at line 689 of file texi2html.py.

00689 
00690     def close_xref(self):
00691         self.makeref()

Here is the call graph for this function:

def texi2html.TexinfoParser.collectsavings (   self) [inherited]

Definition at line 328 of file texi2html.py.

00328 
00329     def collectsavings(self):
00330         savetext = self.savetext
00331         if len(self.savestack) > 0:
00332             self.savetext = self.savestack[-1]
00333             del self.savestack[-1]
00334         else:
00335             self.savetext = None
00336         return savetext or ''

Here is the caller graph for this function:

def texi2html.TexinfoParser.command (   self,
  line,
  mo 
) [inherited]

Definition at line 870 of file texi2html.py.

00870 
00871     def command(self, line, mo):
00872         a, b = mo.span(1)
00873         cmd = line[a:b]
00874         args = line[b:].strip()
00875         if self.debugging > 1:
00876             print('!'*self.debugging, 'command:', self.skip, self.stack, \
00877                   '@' + cmd, args)
00878         try:
00879             func = getattr(self, 'do_' + cmd)
00880         except AttributeError:
00881             try:
00882                 func = getattr(self, 'bgn_' + cmd)
00883             except AttributeError:
00884                 # don't complain if we are skipping anyway
00885                 if not self.skip:
00886                     self.unknown_cmd(cmd, args)
00887                 return
00888             self.stack.append(cmd)
00889             func(args)
00890             return
00891         if not self.skip or cmd == 'end':
00892             func(args)

Here is the call graph for this function:

def texi2html.TexinfoParser.do_appendix (   self,
  args 
) [inherited]

Definition at line 1108 of file texi2html.py.

01108 
01109     def do_appendix(self, args):
01110         self.heading('H1', args, -1)
        self.popstack(1)

Here is the call graph for this function:

def texi2html.TexinfoParser.do_appendixsec (   self,
  args 
) [inherited]

Definition at line 1125 of file texi2html.py.

01125 
01126     def do_appendixsec(self, args):
01127         self.heading('H1', args, -1)
        self.popstack(2)

Here is the call graph for this function:

def texi2html.TexinfoParser.do_appendixsubsec (   self,
  args 
) [inherited]

Definition at line 1138 of file texi2html.py.

01138 
01139     def do_appendixsubsec(self, args):
01140         self.heading('H2', args, -1)
        self.popstack(3)

Here is the call graph for this function:

def texi2html.TexinfoParser.do_appendixsubsubsec (   self,
  args 
) [inherited]

Definition at line 1150 of file texi2html.py.

01150 
01151     def do_appendixsubsubsec(self, args):
01152         self.heading('H3', args, -1)
        self.popstack(4)

Here is the call graph for this function:

def texi2html.TexinfoParser.do_bye (   self,
  args 
) [inherited]

Definition at line 1008 of file texi2html.py.

01008 
01009     def do_bye(self, args):
01010         self.endnode()
01011         self.done = 1

Here is the call graph for this function:

def texi2html.TexinfoParser.do_center (   self,
  args 
) [inherited]

Definition at line 1018 of file texi2html.py.

01018 
01019     def do_center(self, args):
01020         # Actually not used outside title page...
01021         self.write('<H1>')
01022         self.expand(args)
        self.write('</H1>\n')
def texi2html.TexinfoParser.do_chapheading (   self,
  args 
) [inherited]

Definition at line 1113 of file texi2html.py.

01113 
01114     def do_chapheading(self, args):
        self.heading('H1', args, -1)

Here is the call graph for this function:

def texi2html.TexinfoParser.do_chapter (   self,
  args 
) [inherited]

Definition at line 1101 of file texi2html.py.

01101 
01102     def do_chapter(self, args):
01103         self.heading('H1', args, 0)
01104         self.popstack(1)

Here is the call graph for this function:

def texi2html.TexinfoParser.do_cindex (   self,
  args 
) [inherited]

Definition at line 1553 of file texi2html.py.

01553 
    def do_cindex(self, args): self.index('cp', args)

Here is the call graph for this function:

def texi2html.TexinfoParser.do_clear (   self,
  args 
) [inherited]

Definition at line 953 of file texi2html.py.

00953 
00954     def do_clear(self, args):
00955         self.values[args] = None

def texi2html.TexinfoParser.do_comment (   self,
  args 
) [inherited]

Definition at line 927 of file texi2html.py.

00927 
    def do_comment(self, args): pass
def texi2html.TexinfoParser.do_contents (   self,
  args 
) [inherited]

Definition at line 1173 of file texi2html.py.

01173 
01174     def do_contents(self, args):
01175         # pass
01176         self.listcontents('Table of Contents', 999)

Here is the call graph for this function:

def texi2html.TexinfoParser.do_defcvx (   self,
  args 
) [inherited]

Definition at line 1336 of file texi2html.py.

01336 
01337     def do_defcvx(self, args):
01338         self.write('<DT>')
01339         words = splitwords(args, 3)
01340         [category, classname, name], rest = words[:3], words[3:]
01341         self.expand('@b{%s}' % name)
01342         # If there are too many arguments, show them
01343         for word in rest: self.expand(' ' + word)
01344         #self.expand(' -- %s of @code{%s}' % (category, classname))
01345         self.write('\n<DD>')
01346         self.index('vr', '%s @r{on %s}' % (name, classname))

Here is the caller graph for this function:

def texi2html.TexinfoParser.do_deffnx (   self,
  args 
) [inherited]

Definition at line 1235 of file texi2html.py.

01235 
01236     def do_deffnx(self, args):
01237         self.write('<DT>')
01238         words = splitwords(args, 2)
01239         [category, name], rest = words[:2], words[2:]
01240         self.expand('@b{%s}' % name)
01241         for word in rest: self.expand(' ' + makevar(word))
01242         #self.expand(' -- ' + category)
01243         self.write('\n<DD>')
01244         self.index('fn', name)

Here is the caller graph for this function:

def texi2html.TexinfoParser.do_defivarx (   self,
  args 
) [inherited]

Definition at line 1350 of file texi2html.py.

01350 
01351     def do_defivarx(self, args):
01352         self.do_defcvx('{Instance Variable} ' + args)

Here is the call graph for this function:

def texi2html.TexinfoParser.do_defmacx (   self,
  args 
) [inherited]

Definition at line 1251 of file texi2html.py.

01251 
01252     def do_defmacx(self, args): self.do_deffnx('Macro ' + args)

Here is the call graph for this function:

def texi2html.TexinfoParser.do_defmethodx (   self,
  args 
) [inherited]

Definition at line 1372 of file texi2html.py.

01372 
01373     def do_defmethodx(self, args):
01374         self.do_defopx('Method ' + args)

Here is the call graph for this function:

def texi2html.TexinfoParser.do_defoptx (   self,
  args 
) [inherited]

Definition at line 1280 of file texi2html.py.

01280 
01281     def do_defoptx(self, args): self.do_defvrx('{User Option} ' + args)

Here is the call graph for this function:

def texi2html.TexinfoParser.do_defopx (   self,
  args 
) [inherited]

Definition at line 1359 of file texi2html.py.

01359 
01360     def do_defopx(self, args):
01361         self.write('<DT>')
01362         words = splitwords(args, 3)
01363         [category, classname, name], rest = words[:3], words[3:]
01364         self.expand('@b{%s}' % name)
01365         for word in rest: self.expand(' ' + makevar(word))
01366         #self.expand(' -- %s of @code{%s}' % (category, classname))
01367         self.write('\n<DD>')
01368         self.index('fn', '%s @r{on %s}' % (name, classname))

Here is the caller graph for this function:

def texi2html.TexinfoParser.do_defspecx (   self,
  args 
) [inherited]

Definition at line 1255 of file texi2html.py.

01255 
01256     def do_defspecx(self, args): self.do_deffnx('{Special Form} ' + args)

Here is the call graph for this function:

def texi2html.TexinfoParser.do_deftpx (   self,
  args 
) [inherited]

Definition at line 1383 of file texi2html.py.

01383 
01384     def do_deftpx(self, args):
01385         self.write('<DT>')
01386         words = splitwords(args, 2)
01387         [category, name], rest = words[:2], words[2:]
01388         self.expand('@b{%s}' % name)
01389         for word in rest: self.expand(' ' + word)
01390         #self.expand(' -- ' + category)
01391         self.write('\n<DD>')
01392         self.index('tp', name)

Here is the caller graph for this function:

def texi2html.TexinfoParser.do_deftypefnx (   self,
  args 
) [inherited]

Definition at line 1290 of file texi2html.py.

01290 
01291     def do_deftypefnx(self, args):
01292         self.write('<DT>')
01293         words = splitwords(args, 3)
01294         [category, datatype, name], rest = words[:3], words[3:]
01295         self.expand('@code{%s} @b{%s}' % (datatype, name))
01296         for word in rest: self.expand(' ' + makevar(word))
01297         #self.expand(' -- ' + category)
01298         self.write('\n<DD>')
01299         self.index('fn', name)
01300 

Here is the caller graph for this function:

def texi2html.TexinfoParser.do_deftypefunx (   self,
  args 
) [inherited]

Definition at line 1303 of file texi2html.py.

01303 
01304     def do_deftypefunx(self, args): self.do_deftypefnx('Function ' + args)

Here is the call graph for this function:

def texi2html.TexinfoParser.do_deftypevarx (   self,
  args 
) [inherited]

Definition at line 1325 of file texi2html.py.

01325 
01326     def do_deftypevarx(self, args):
01327         self.do_deftypevrx('Variable ' + args)

Here is the call graph for this function:

def texi2html.TexinfoParser.do_deftypevrx (   self,
  args 
) [inherited]

Definition at line 1311 of file texi2html.py.

01311 
01312     def do_deftypevrx(self, args):
01313         self.write('<DT>')
01314         words = splitwords(args, 3)
01315         [category, datatype, name], rest = words[:3], words[3:]
01316         self.expand('@code{%s} @b{%s}' % (datatype, name))
01317         # If there are too many arguments, show them
01318         for word in rest: self.expand(' ' + word)
01319         #self.expand(' -- ' + category)
01320         self.write('\n<DD>')
01321         self.index('fn', name)

Here is the caller graph for this function:

def texi2html.TexinfoParser.do_defunx (   self,
  args 
) [inherited]

Definition at line 1247 of file texi2html.py.

01247 
01248     def do_defunx(self, args): self.do_deffnx('Function ' + args)

Here is the call graph for this function:

def texi2html.TexinfoParser.do_defvarx (   self,
  args 
) [inherited]

Definition at line 1276 of file texi2html.py.

01276 
01277     def do_defvarx(self, args): self.do_defvrx('Variable ' + args)

Here is the call graph for this function:

def texi2html.TexinfoParser.do_defvrx (   self,
  args 
) [inherited]

Definition at line 1263 of file texi2html.py.

01263 
01264     def do_defvrx(self, args):
01265         self.write('<DT>')
01266         words = splitwords(args, 2)
01267         [category, name], rest = words[:2], words[2:]
01268         self.expand('@code{%s}' % name)
01269         # If there are too many arguments, show them
01270         for word in rest: self.expand(' ' + word)
01271         #self.expand(' -- ' + category)
01272         self.write('\n<DD>')
01273         self.index('vr', name)

Here is the caller graph for this function:

def texi2html.TexinfoParser.do_end (   self,
  args 
) [inherited]

Definition at line 900 of file texi2html.py.

00900 
00901     def do_end(self, args):
00902         words = args.split()
00903         if not words:
00904             print('*** @end w/o args')
00905         else:
00906             cmd = words[0]
00907             if not self.stack or self.stack[-1] != cmd:
00908                 print('*** @end', cmd, 'unexpected')
00909             else:
00910                 del self.stack[-1]
00911             try:
00912                 func = getattr(self, 'end_' + cmd)
00913             except AttributeError:
00914                 self.unknown_end(cmd)
00915                 return
00916             func()

Here is the call graph for this function:

def texi2html.TexinfoParser.do_exdent (   self,
  args 
) [inherited]

Definition at line 1503 of file texi2html.py.

01503 
    def do_exdent(self, args): self.expand(args + '\n')

Here is the call graph for this function:

def texi2html.TexinfoParser.do_findex (   self,
  args 
) [inherited]

Definition at line 1554 of file texi2html.py.

01554 
    def do_findex(self, args): self.index('fn', args)

Here is the call graph for this function:

def texi2html.TexinfoParser.do_heading (   self,
  args 
) [inherited]

Definition at line 1129 of file texi2html.py.

01129 
01130     def do_heading(self, args):
01131         self.heading('H1', args, -1)

Here is the call graph for this function:

def texi2html.TexinfoParser.do_hline (   self,
  args 
) [inherited]

Definition at line 1223 of file texi2html.py.

01223 
01224     def do_hline(self, args):
01225         self.write('<HR>')

def texi2html.TexinfoParser.do_include (   self,
  args 
) [inherited]

Definition at line 553 of file texi2html.py.

00553 
00554     def do_include(self, args):
00555         file = args
00556         file = os.path.join(self.includedir, file)
00557         try:
00558             fp = open(file, 'r')
00559         except IOError as msg:
00560             print('*** Can\'t open include file', repr(file))
00561             return
00562         print('!'*self.debugging, '--> file', repr(file))
00563         save_done = self.done
00564         save_skip = self.skip
00565         save_stack = self.stack
00566         self.includedepth = self.includedepth + 1
00567         self.parserest(fp, 0)
00568         self.includedepth = self.includedepth - 1
00569         fp.close()
00570         self.done = save_done
00571         self.skip = save_skip
00572         self.stack = save_stack
00573         print('!'*self.debugging, '<-- file', repr(file))

Here is the call graph for this function:

def texi2html.TexinfoParser.do_item (   self,
  args 
) [inherited]

Definition at line 1436 of file texi2html.py.

01436 
01437     def do_item(self, args):
01438         if self.itemindex: self.index(self.itemindex, args)
01439         if self.itemarg:
01440             if self.itemarg[0] == '@' and self.itemarg[1] and \
01441                             self.itemarg[1] in string.ascii_letters:
01442                 args = self.itemarg + '{' + args + '}'
01443             else:
01444                 # some other character, e.g. '-'
01445                 args = self.itemarg + ' ' + args
01446         if self.itemnumber != None:
01447             args = self.itemnumber + '. ' + args
01448             self.itemnumber = increment(self.itemnumber)
01449         if self.stack and self.stack[-1] == 'table':
01450             self.write('<DT>')
01451             self.expand(args)
01452             self.write('\n<DD>')
01453         elif self.stack and self.stack[-1] == 'multitable':
01454             self.write('<TR><TD>')
01455             self.expand(args)
01456             self.write('</TD>\n</TR>\n')
01457         else:
01458             self.write('<LI>')
01459             self.expand(args)
            self.write('  ')
def texi2html.TexinfoParser.do_kindex (   self,
  args 
) [inherited]

Definition at line 1555 of file texi2html.py.

01555 
    def do_kindex(self, args): self.index('ky', args)

Here is the call graph for this function:

def texi2html.TexinfoParser.do_majorheading (   self,
  args 
) [inherited]

Definition at line 1115 of file texi2html.py.

01115 
01116     def do_majorheading(self, args):
01117         self.heading('H1', args, -1)

Here is the call graph for this function:

def texi2html.TexinfoParser.do_need (   self,
  args 
) [inherited]

Definition at line 1210 of file texi2html.py.

01210 
01211     def do_need(self, args): pass

def texi2html.TexinfoParser.do_node (   self,
  args 
) [inherited]

Definition at line 1045 of file texi2html.py.

01045 
01046     def do_node(self, args):
01047         self.endnode()
01048         self.nodelineno = 0
01049         parts = [s.strip() for s in args.split(',')]
01050         while len(parts) < 4: parts.append('')
01051         self.nodelinks = parts
01052         [name, next, prev, up] = parts[:4]
01053         file = self.dirname + '/' + makefile(name)
01054         if file in self.filenames:
01055             print('*** Filename already in use: ', file)
01056         else:
01057             if self.debugging: print('!'*self.debugging, '--- writing', file)
01058         self.filenames[file] = 1
01059         # self.nodefp = open(file, 'w')
01060         self.nodename = name
01061         if self.cont and self.nodestack:
01062             self.nodestack[-1].cont = self.nodename
01063         if not self.topname: self.topname = name
01064         title = name
01065         if self.title: title = title + ' -- ' + self.title
01066         self.node = self.Node(self.dirname, self.nodename, self.topname,
01067                               title, next, prev, up)
01068         self.htmlhelp.addnode(self.nodename,next,prev,up,file)

Here is the call graph for this function:

def texi2html.TexinfoParser.do_page (   self,
  args 
) [inherited]

Definition at line 1208 of file texi2html.py.

01208 
01209     def do_page(self, args): pass

def texi2html.TexinfoParser.do_parskip (   self,
  args 
) [inherited]

Definition at line 1004 of file texi2html.py.

01004 
01005     def do_parskip(self, args): pass

def texi2html.TexinfoParser.do_pindex (   self,
  args 
) [inherited]

Definition at line 1556 of file texi2html.py.

01556 
    def do_pindex(self, args): self.index('pg', args)

Here is the call graph for this function:

def texi2html.TexinfoParser.do_printindex (   self,
  args 
) [inherited]

Definition at line 1581 of file texi2html.py.

01581 
01582     def do_printindex(self, args):
01583         words = args.split()
01584         for name in words:
01585             if name in self.whichindex:
01586                 self.prindex(name)
01587             else:
01588                 print('*** No index named', repr(name))

Here is the call graph for this function:

def texi2html.TexinfoParser.do_section (   self,
  args 
) [inherited]

Definition at line 1118 of file texi2html.py.

01118 
01119     def do_section(self, args):
01120         self.heading('H1', args, 1)
01121         self.popstack(2)

Here is the call graph for this function:

def texi2html.TexinfoParser.do_set (   self,
  args 
) [inherited]

Definition at line 944 of file texi2html.py.

00944 
00945     def do_set(self, args):
00946         fields = args.split(' ')
00947         key = fields[0]
00948         if len(fields) == 1:
00949             value = 1
00950         else:
00951             value = ' '.join(fields[1:])
00952         self.values[key] = value

def texi2html.TexinfoParser.do_settitle (   self,
  args 
) [inherited]

Definition at line 1000 of file texi2html.py.

01000 
01001     def do_settitle(self, args):
01002         self.startsaving()
01003         self.expand(args)
        self.title = self.collectsavings()

Here is the call graph for this function:

def texi2html.TexinfoParser.do_shortcontents (   self,
  args 
) [inherited]

Definition at line 1177 of file texi2html.py.

01177 
01178     def do_shortcontents(self, args):
01179         pass
        # self.listcontents('Short Contents', 0)
def texi2html.TexinfoParser.do_shorttitlepage (   self,
  args 
) [inherited]

Definition at line 1016 of file texi2html.py.

01016 
01017     def do_shorttitlepage(self, args): pass

def texi2html.TexinfoParser.do_sp (   self,
  args 
) [inherited]

Definition at line 1217 of file texi2html.py.

01217 
01218     def do_sp(self, args):
01219         if self.nofill:
01220             self.write('\n')
01221         else:
01222             self.write('<P>\n')

def texi2html.TexinfoParser.do_subheading (   self,
  args 
) [inherited]

Definition at line 1141 of file texi2html.py.

01141 
01142     def do_subheading(self, args):
01143         self.heading('H2', args, -1)

Here is the call graph for this function:

def texi2html.TexinfoParser.do_subsection (   self,
  args 
) [inherited]

Definition at line 1132 of file texi2html.py.

01132 
01133     def do_subsection(self, args):
01134         self.heading('H2', args, 2)
        self.popstack(3)

Here is the call graph for this function:

def texi2html.TexinfoParser.do_subsubheading (   self,
  args 
) [inherited]

Definition at line 1153 of file texi2html.py.

01153 
01154     def do_subsubheading(self, args):
01155         self.heading('H3', args, -1)

Here is the call graph for this function:

def texi2html.TexinfoParser.do_subsubsection (   self,
  args 
) [inherited]

Definition at line 1144 of file texi2html.py.

01144 
01145     def do_subsubsection(self, args):
01146         self.heading('H3', args, 3)
        self.popstack(4)

Here is the call graph for this function:

def texi2html.TexinfoParser.do_synindex (   self,
  args 
) [inherited]

Definition at line 1564 of file texi2html.py.

01564 
01565     def do_synindex(self, args):
01566         words = args.split()
01567         if len(words) != 2:
01568             print('*** bad @synindex', args)
01569             return
01570         [old, new] = words
01571         if old not in self.whichindex or \
01572                   new not in self.whichindex:
01573             print('*** bad key(s) in @synindex', args)
01574             return
01575         if old != new and \
01576                   self.whichindex[old] is not self.whichindex[new]:
01577             inew = self.whichindex[new]
01578             inew[len(inew):] = self.whichindex[old]
            self.whichindex[old] = inew
def texi2html.TexinfoParser.do_tindex (   self,
  args 
) [inherited]

Definition at line 1557 of file texi2html.py.

01557 
    def do_tindex(self, args): self.index('tp', args)

Here is the call graph for this function:

def texi2html.TexinfoParser.do_top (   self,
  args 
) [inherited]

Definition at line 1111 of file texi2html.py.

01111 
01112     def do_top(self, args):
        self.heading('H1', args, -1)

Here is the call graph for this function:

def texi2html.TexinfoParser.do_unnumbered (   self,
  args 
) [inherited]

Definition at line 1105 of file texi2html.py.

01105 
01106     def do_unnumbered(self, args):
01107         self.heading('H1', args, -1)
        self.popstack(1)

Here is the call graph for this function:

def texi2html.TexinfoParser.do_unnumberedsec (   self,
  args 
) [inherited]

Definition at line 1122 of file texi2html.py.

01122 
01123     def do_unnumberedsec(self, args):
01124         self.heading('H1', args, -1)
        self.popstack(2)

Here is the call graph for this function:

def texi2html.TexinfoParser.do_unnumberedsubsec (   self,
  args 
) [inherited]

Definition at line 1135 of file texi2html.py.

01135 
01136     def do_unnumberedsubsec(self, args):
01137         self.heading('H2', args, -1)
        self.popstack(3)

Here is the call graph for this function:

def texi2html.TexinfoParser.do_unnumberedsubsubsec (   self,
  args 
) [inherited]

Definition at line 1147 of file texi2html.py.

01147 
01148     def do_unnumberedsubsubsec(self, args):
01149         self.heading('H3', args, -1)
        self.popstack(4)

Here is the call graph for this function:

def texi2html.TexinfoParser.do_vindex (   self,
  args 
) [inherited]

Definition at line 1558 of file texi2html.py.

01558 
01559     def do_vindex(self, args): self.index('vr', args)

Here is the call graph for this function:

def texi2html.TexinfoParser.end_cartouche (   self) [inherited]

Definition at line 1529 of file texi2html.py.

01529 
01530     def end_cartouche(self): pass

def texi2html.TexinfoParser.end_deffn (   self) [inherited]

Definition at line 1232 of file texi2html.py.

01232 
01233     def end_deffn(self):
01234         self.write('</DL>\n')

def texi2html.TexinfoParser.end_enumerate (   self) [inherited]

Definition at line 1403 of file texi2html.py.

01403 
01404     def end_enumerate(self):
01405         self.itemnumber = None
01406         self.write(self.stackinfo[len(self.stack) + 1])
01407         del self.stackinfo[len(self.stack) + 1]

Reimplemented from texi2html.TexinfoParser.

Definition at line 1659 of file texi2html.py.

01659 
01660     def end_example(self):
01661         self.write("</CODE></PRE>\n")
01662         self.nofill = self.nofill - 1

def texi2html.TexinfoParser.end_flushleft (   self) [inherited]

Definition at line 1509 of file texi2html.py.

01509 
01510     def end_flushleft(self):
01511         self.write('</PRE>\n')
01512         self.nofill = self.nofill - 1

Reimplemented from texi2html.TexinfoParser.

Definition at line 1670 of file texi2html.py.

01670 
01671     def end_flushright(self):
01672         self.write('</ADDRESS></DIV>\n')
01673         self.nofill = self.nofill - 1

def texi2html.TexinfoParser.end_ftable (   self) [inherited]

Definition at line 1425 of file texi2html.py.

01425 
01426     def end_ftable(self):
01427         self.itemindex = None
01428         self.end_table()

Here is the call graph for this function:

def texi2html.TexinfoParser.end_group (   self) [inherited]

Definition at line 1213 of file texi2html.py.

01213 
01214     def end_group(self): pass

def texi2html.TexinfoParser.end_ifclear (   self) [inherited]

Definition at line 976 of file texi2html.py.

00976 
00977     def end_ifclear(self):
00978         try:
00979             if self.stackinfo[len(self.stack) + 1]:
00980                 self.skip = self.skip - 1
00981             del self.stackinfo[len(self.stack) + 1]
00982         except KeyError:
00983             print('*** end_ifclear: KeyError :', len(self.stack) + 1)

def texi2html.TexinfoParser.end_ifinfo (   self) [inherited]

Definition at line 933 of file texi2html.py.

00933 
00934     def end_ifinfo(self): pass

def texi2html.TexinfoParser.end_ifset (   self) [inherited]

Definition at line 962 of file texi2html.py.

00962 
00963     def end_ifset(self):
00964         try:
00965             if self.stackinfo[len(self.stack) + 1]:
00966                 self.skip = self.skip - 1
00967             del self.stackinfo[len(self.stack) + 1]
00968         except KeyError:
00969             print('*** end_ifset: KeyError :', len(self.stack) + 1)

def texi2html.TexinfoParser.end_iftex (   self) [inherited]

Definition at line 936 of file texi2html.py.

00936 
00937     def end_iftex(self): self.skip = self.skip - 1

def texi2html.TexinfoParser.end_ignore (   self) [inherited]

Definition at line 939 of file texi2html.py.

00939 
00940     def end_ignore(self): self.skip = self.skip - 1

def texi2html.TexinfoParser.end_itemize (   self) [inherited]

Definition at line 1411 of file texi2html.py.

01411 
01412     def end_itemize(self):
01413         self.itemarg = None
01414         self.write('</UL>\n')

Reimplemented from texi2html.TexinfoParser.

Definition at line 1677 of file texi2html.py.

01677 
01678     def end_menu(self):
01679         self.write('</UL>\n')
01680 
01681 
# rpyron 2002-05-07
def texi2html.TexinfoParser.end_multitable (   self) [inherited]

Definition at line 1466 of file texi2html.py.

01466 
01467     def end_multitable(self):
01468         self.itemarg = None
        self.write('</TABLE>\n<BR>\n')

Reimplemented from texi2html.TexinfoParser.

Definition at line 1652 of file texi2html.py.

01652 
01653     def end_quotation(self): self.write('</BQ>\n')

Here is the call graph for this function:

def texi2html.TexinfoParser.end_table (   self) [inherited]

Definition at line 1418 of file texi2html.py.

01418 
01419     def end_table(self):
01420         self.itemarg = None
01421         self.write('</DL>\n')

Here is the caller graph for this function:

def texi2html.TexinfoParser.end_tex (   self) [inherited]

Definition at line 942 of file texi2html.py.

00942 
00943     def end_tex(self): self.skip = self.skip - 1

def texi2html.TexinfoParser.end_titlepage (   self) [inherited]

Definition at line 1015 of file texi2html.py.

01015 
    def end_titlepage(self): self.skip = self.skip - 1
def texi2html.TexinfoParser.end_vtable (   self) [inherited]

Definition at line 1432 of file texi2html.py.

01432 
01433     def end_vtable(self):
01434         self.itemindex = None
01435         self.end_table()

Here is the call graph for this function:

def texi2html.TexinfoParser.endnode (   self) [inherited]

Definition at line 352 of file texi2html.py.

00352 
00353     def endnode(self):
00354         if self.savetext != None:
00355             print('*** Still saving text at end of node')
00356             dummy = self.collectsavings()
00357         if self.footnotes:
00358             self.writefootnotes()
00359         if self.nodefp:
00360             if self.nodelineno > 20:
00361                 self.write('<HR>\n')
00362                 [name, next, prev, up] = self.nodelinks[:4]
00363                 self.link('Next', next)
00364                 self.link('Prev', prev)
00365                 self.link('Up', up)
00366                 if self.nodename != self.topname:
00367                     self.link('Top', self.topname)
00368                 self.write('<HR>\n')
00369             self.write('</BODY>\n')
00370             self.nodefp.close()
00371             self.nodefp = None
00372         elif self.node:
00373             if not self.cont and \
00374                (not self.node.type or \
00375                 (self.node.next and self.node.prev and self.node.up)):
00376                 self.node.finalize()
00377                 self.node.flush()
00378             else:
00379                 self.nodestack.append(self.node)
00380             self.node = None
00381         self.nodename = ''

Here is the caller graph for this function:

def texi2html.TexinfoParser.expand (   self,
  text 
) [inherited]

Definition at line 433 of file texi2html.py.

00433 
00434     def expand(self, text):
00435         stack = []
00436         i = 0
00437         n = len(text)
00438         while i < n:
00439             start = i
00440             mo = spprog.search(text, i)
00441             if mo:
00442                 i = mo.start()
00443             else:
00444                 self.write(text[start:])
00445                 break
00446             self.write(text[start:i])
00447             c = text[i]
00448             i = i+1
00449             if c == '\n':
00450                 self.write('\n')
00451                 continue
00452             if c == '<':
00453                 self.write('&lt;')
00454                 continue
00455             if c == '>':
00456                 self.write('&gt;')
00457                 continue
00458             if c == '&':
00459                 self.write('&amp;')
00460                 continue
00461             if c == '{':
00462                 stack.append('')
00463                 continue
00464             if c == '}':
00465                 if not stack:
00466                     print('*** Unmatched }')
00467                     self.write('}')
00468                     continue
00469                 cmd = stack[-1]
00470                 del stack[-1]
00471                 try:
00472                     method = getattr(self, 'close_' + cmd)
00473                 except AttributeError:
00474                     self.unknown_close(cmd)
00475                     continue
00476                 method()
00477                 continue
00478             if c != '@':
00479                 # Cannot happen unless spprog is changed
00480                 raise RuntimeError('unexpected funny %r' % c)
00481             start = i
00482             while i < n and text[i] in string.ascii_letters: i = i+1
00483             if i == start:
00484                 # @ plus non-letter: literal next character
00485                 i = i+1
00486                 c = text[start:i]
00487                 if c == ':':
00488                     # `@:' means no extra space after
00489                     # preceding `.', `?', `!' or `:'
00490                     pass
00491                 else:
00492                     # `@.' means a sentence-ending period;
00493                     # `@@', `@{', `@}' quote `@', `{', `}'
00494                     self.write(c)
00495                 continue
00496             cmd = text[start:i]
00497             if i < n and text[i] == '{':
00498                 i = i+1
00499                 stack.append(cmd)
00500                 try:
00501                     method = getattr(self, 'open_' + cmd)
00502                 except AttributeError:
00503                     self.unknown_open(cmd)
00504                     continue
00505                 method()
00506                 continue
00507             try:
00508                 method = getattr(self, 'handle_' + cmd)
00509             except AttributeError:
00510                 self.unknown_handle(cmd)
00511                 continue
00512             method()
00513         if stack:
00514             print('*** Stack not empty at para:', stack)

Here is the caller graph for this function:

Definition at line 1469 of file texi2html.py.

01469 
01470     def handle_columnfractions(self):
01471         # It would be better to handle this, but for now it's in the way...
        self.itemarg = None
def texi2html.TexinfoParser.handle_copyright (   self) [inherited]

Definition at line 588 of file texi2html.py.

Here is the call graph for this function:

def texi2html.TexinfoParser.handle_noindent (   self) [inherited]

Definition at line 547 of file texi2html.py.

00547 
00548     def handle_noindent(self): pass

def texi2html.TexinfoParser.handle_refill (   self) [inherited]

Definition at line 549 of file texi2html.py.

00549 
00550     def handle_refill(self): pass

def texi2html.TexinfoParser.handle_tab (   self) [inherited]

Definition at line 1472 of file texi2html.py.

01472 
01473     def handle_tab(self):
01474         self.write('</TD>\n    <TD>')

def texi2html.TexinfoParser.heading (   self,
  type,
  args,
  level 
) [inherited]

Definition at line 1156 of file texi2html.py.

01156 
01157     def heading(self, type, args, level):
01158         if level >= 0:
01159             while len(self.numbering) <= level:
01160                 self.numbering.append(0)
01161             del self.numbering[level+1:]
01162             self.numbering[level] = self.numbering[level] + 1
01163             x = ''
01164             for i in self.numbering:
01165                 x = x + repr(i) + '.'
01166             args = x + ' ' + args
01167             self.contents.append((level, args, self.nodename))
01168         self.write('<', type, '>')
01169         self.expand(args)
01170         self.write('</', type, '>\n')
01171         if self.debugging or self.print_headers:
01172             print('---', args)

Here is the caller graph for this function:

def texi2html.TexinfoParser.index (   self,
  name,
  args 
) [inherited]

Definition at line 1560 of file texi2html.py.

01560 
01561     def index(self, name, args):
01562         self.whichindex[name].append((args, self.nodename))
01563         self.htmlhelp.index(args, self.nodename)

Here is the call graph for this function:

Here is the caller graph for this function:

def texi2html.TexinfoParser.inmenu (   self) [inherited]

Definition at line 419 of file texi2html.py.

00419 
00420     def inmenu(self):
00421         #if 'menu' in self.stack:
00422         #    print 'inmenu   :', self.skip, self.stack, self.stackinfo
00423         stack = self.stack
00424         while stack and stack[-1] in ('ifset','ifclear'):
00425             try:
00426                 if self.stackinfo[len(stack)]:
00427                     return 0
00428             except KeyError:
00429                 pass
00430             stack = stack[:-1]
00431         return (stack and stack[-1] == 'menu')

Here is the caller graph for this function:

def texi2html.TexinfoParser.link (   self,
  label,
  nodename 
) [inherited]

Definition at line 1069 of file texi2html.py.

01069 
01070     def link(self, label, nodename):
01071         if nodename:
01072             if nodename.lower() == '(dir)':
01073                 addr = '../dir.html'
01074             else:
01075                 addr = makefile(nodename)
01076             self.write(label, ': <A HREF="', addr, '" TYPE="',
01077                        label, '">', nodename, '</A>  \n')

Here is the caller graph for this function:

def texi2html.TexinfoParser.listcontents (   self,
  title,
  maxlevel 
) [inherited]

Definition at line 1182 of file texi2html.py.

01182 
01183     def listcontents(self, title, maxlevel):
01184         self.write('<H1>', title, '</H1>\n<UL COMPACT PLAIN>\n')
01185         prevlevels = [0]
01186         for level, title, node in self.contents:
01187             if level > maxlevel:
01188                 continue
01189             if level > prevlevels[-1]:
01190                 # can only advance one level at a time
01191                 self.write('  '*prevlevels[-1], '<UL PLAIN>\n')
01192                 prevlevels.append(level)
01193             elif level < prevlevels[-1]:
01194                 # might drop back multiple levels
01195                 while level < prevlevels[-1]:
01196                     del prevlevels[-1]
01197                     self.write('  '*prevlevels[-1],
01198                                '</UL>\n')
01199             self.write('  '*level, '<LI> <A HREF="',
01200                        makefile(node), '">')
01201             self.expand(title)
01202             self.write('</A>\n')
01203         self.write('</UL>\n' * len(prevlevels))

Here is the caller graph for this function:

def texi2html.TexinfoParser.makeimage (   self) [inherited]

Definition at line 744 of file texi2html.py.

00744 
00745     def makeimage(self):
00746         text = self.collectsavings()
00747         args = [s.strip() for s in text.split(',')]
00748         while len(args) < 5: args.append('')
00749         filename = args[0]
00750         width    = args[1]
00751         height   = args[2]
00752         alt      = args[3]
00753         ext      = args[4]
00754 
00755         # The HTML output will have a reference to the image
00756         # that is relative to the HTML output directory,
00757         # which is what 'filename' gives us. However, we need
00758         # to find it relative to our own current directory,
00759         # so we construct 'imagename'.
00760         imagelocation = self.dirname + '/' + filename
00761 
00762         if   os.path.exists(imagelocation+'.png'):
00763             filename += '.png'
00764         elif os.path.exists(imagelocation+'.jpg'):
00765             filename += '.jpg'
00766         elif os.path.exists(imagelocation+'.gif'):   # MySQL uses GIF files
00767             filename += '.gif'
00768         else:
00769             print("*** Cannot find image " + imagelocation)
00770         #TODO: what is 'ext'?
00771         self.write('<IMG SRC="', filename, '"',                     \
00772                     width  and (' WIDTH="'  + width  + '"') or "",  \
00773                     height and (' HEIGHT="' + height + '"') or "",  \
00774                     alt    and (' ALT="'    + alt    + '"') or "",  \
00775                     '/>' )
00776         self.htmlhelp.addimage(imagelocation)
00777 

Here is the caller graph for this function:

def texi2html.TexinfoParser.makeref (   self) [inherited]

Definition at line 708 of file texi2html.py.

00708 
00709     def makeref(self):
00710         text = self.collectsavings()
00711         args = [s.strip() for s in text.split(',')]
00712         while len(args) < 5: args.append('')
00713         nodename = label = args[0]
00714         if args[2]: label = args[2]
00715         file = args[3]
00716         title = args[4]
00717         href = makefile(nodename)
00718         if file:
00719             href = '../' + file + '/' + href
00720         self.write('<A HREF="', href, '">', label, '</A>')

Here is the caller graph for this function:

def texi2html.TexinfoParser.open_ (   self) [inherited]

Definition at line 782 of file texi2html.py.

00782 
    def open_(self): pass # Used by {text enclosed in braces}
def texi2html.TexinfoParser.open_aa (   self) [inherited]

Definition at line 635 of file texi2html.py.

00635 
    def open_aa(self): self.write('&#229;') # a with circle

Here is the call graph for this function:

def texi2html.TexinfoParser.open_AA (   self) [inherited]

Definition at line 637 of file texi2html.py.

00637 
    def open_AA(self): self.write('&#197;') # A with circle

Here is the call graph for this function:

def texi2html.TexinfoParser.open_ae (   self) [inherited]

Definition at line 639 of file texi2html.py.

00639 
    def open_ae(self): self.write('&#230;') # ae ligatures

Here is the call graph for this function:

def texi2html.TexinfoParser.open_AE (   self) [inherited]

Definition at line 641 of file texi2html.py.

00641 
    def open_AE(self): self.write('&#198;') # AE ligatures

Here is the call graph for this function:

def texi2html.TexinfoParser.open_b (   self) [inherited]

Definition at line 845 of file texi2html.py.

00845 
    def open_b(self): self.write('<B>')

Here is the call graph for this function:

def texi2html.TexinfoParser.open_bullet (   self) [inherited]

Definition at line 582 of file texi2html.py.

00582 
    def open_bullet(self): pass
def texi2html.TexinfoParser.open_cite (   self) [inherited]

Definition at line 788 of file texi2html.py.

00788 
    def open_cite(self): self.write('<CITE>')

Here is the call graph for this function:

def texi2html.TexinfoParser.open_code (   self) [inherited]

Definition at line 791 of file texi2html.py.

00791 
    def open_code(self): self.write('<CODE>')

Here is the call graph for this function:

def texi2html.TexinfoParser.open_copyright (   self) [inherited]

Definition at line 589 of file texi2html.py.

Here is the call graph for this function:

def texi2html.TexinfoParser.open_dfn (   self) [inherited]

Definition at line 797 of file texi2html.py.

00797 
    def open_dfn(self): self.write('<DFN>')

Here is the call graph for this function:

def texi2html.TexinfoParser.open_dmn (   self) [inherited]

Definition at line 576 of file texi2html.py.

00576 
    def open_dmn(self): pass
def texi2html.TexinfoParser.open_dots (   self) [inherited]

Definition at line 579 of file texi2html.py.

00579 
    def open_dots(self): self.write('...')

Here is the call graph for this function:

def texi2html.TexinfoParser.open_email (   self) [inherited]

Definition at line 859 of file texi2html.py.

00859 
    def open_email(self): self.startsaving()

Here is the call graph for this function:

def texi2html.TexinfoParser.open_emph (   self) [inherited]

Definition at line 800 of file texi2html.py.

00800 
    def open_emph(self): self.write('<EM>')

Here is the call graph for this function:

def texi2html.TexinfoParser.open_equiv (   self) [inherited]

Definition at line 672 of file texi2html.py.

00672 
    def open_equiv(self): self.write('==')

Here is the call graph for this function:

def texi2html.TexinfoParser.open_error (   self) [inherited]

Definition at line 669 of file texi2html.py.

00669 
    def open_error(self): self.write('error--&gt;')

Here is the call graph for this function:

def texi2html.TexinfoParser.open_exclamdown (   self) [inherited]

Definition at line 631 of file texi2html.py.

00631 
    def open_exclamdown(self): self.write('&#161;')   # upside-down !

Here is the call graph for this function:

def texi2html.TexinfoParser.open_expansion (   self) [inherited]

Definition at line 663 of file texi2html.py.

00663 
    def open_expansion(self): self.write('==&gt;')

Here is the call graph for this function:

def texi2html.TexinfoParser.open_file (   self) [inherited]

Definition at line 824 of file texi2html.py.

00824 
    def open_file(self): self.write('<CODE>')

Here is the call graph for this function:

def texi2html.TexinfoParser.open_footnote (   self) [inherited]

Definition at line 806 of file texi2html.py.

00806 
00807     def open_footnote(self):
00808         # if self.savetext <> None:
00809         #       print '*** Recursive footnote -- expect weirdness'
00810         id = len(self.footnotes) + 1
00811         self.write(self.FN_SOURCE_PATTERN % {'id': repr(id)})
00812         self.startsaving()

def texi2html.TexinfoParser.open_i (   self) [inherited]

Definition at line 803 of file texi2html.py.

00803 
    def open_i(self): self.write('<I>')

Here is the call graph for this function:

def texi2html.TexinfoParser.open_image (   self) [inherited]

Definition at line 740 of file texi2html.py.

00740 
00741     def open_image(self):
        self.startsaving()

Here is the call graph for this function:

def texi2html.TexinfoParser.open_inforef (   self) [inherited]

Definition at line 697 of file texi2html.py.

00697 
00698     def open_inforef(self):
00699         self.write('See info file ')
        self.startsaving()
def texi2html.TexinfoParser.open_kbd (   self) [inherited]

Definition at line 827 of file texi2html.py.

00827 
    def open_kbd(self): self.write('<KBD>')

Here is the call graph for this function:

def texi2html.TexinfoParser.open_key (   self) [inherited]

Definition at line 830 of file texi2html.py.

00830 
    def open_key(self): self.write('<KEY>')

Here is the call graph for this function:

def texi2html.TexinfoParser.open_l (   self) [inherited]

Definition at line 653 of file texi2html.py.

00653 
    def open_l(self): self.write('l/')      # suppressed-l

Here is the call graph for this function:

def texi2html.TexinfoParser.open_L (   self) [inherited]

Definition at line 655 of file texi2html.py.

00655 
    def open_L(self): self.write('L/')      # suppressed-L

Here is the call graph for this function:

def texi2html.TexinfoParser.open_minus (   self) [inherited]

Definition at line 592 of file texi2html.py.

00592 
    def open_minus(self): self.write('-')

Here is the call graph for this function:

def texi2html.TexinfoParser.open_o (   self) [inherited]

Definition at line 643 of file texi2html.py.

00643 
    def open_o(self): self.write('&#248;')  # o with slash

Here is the call graph for this function:

def texi2html.TexinfoParser.open_O (   self) [inherited]

Definition at line 645 of file texi2html.py.

00645 
    def open_O(self): self.write('&#216;')  # O with slash

Here is the call graph for this function:

def texi2html.TexinfoParser.open_oe (   self) [inherited]

Definition at line 649 of file texi2html.py.

00649 
    def open_oe(self): self.write('oe')     # oe ligatures

Here is the call graph for this function:

def texi2html.TexinfoParser.open_OE (   self) [inherited]

Definition at line 651 of file texi2html.py.

00651 
    def open_OE(self): self.write('OE')     # OE ligatures

Here is the call graph for this function:

def texi2html.TexinfoParser.open_point (   self) [inherited]

Definition at line 675 of file texi2html.py.

00675 
    def open_point(self): self.write('-!-')

Here is the call graph for this function:

def texi2html.TexinfoParser.open_print (   self) [inherited]

Definition at line 666 of file texi2html.py.

00666 
    def open_print(self): self.write('-|')

Here is the call graph for this function:

def texi2html.TexinfoParser.open_pxref (   self) [inherited]

Definition at line 680 of file texi2html.py.

00680 
00681     def open_pxref(self):
00682         self.write('see ')
        self.startsaving()
def texi2html.TexinfoParser.open_questiondown (   self) [inherited]

Definition at line 633 of file texi2html.py.

00633 
    def open_questiondown(self): self.write('&#191;') # upside-down ?

Here is the call graph for this function:

def texi2html.TexinfoParser.open_r (   self) [inherited]

Definition at line 833 of file texi2html.py.

00833 
    def open_r(self): self.write('<R>')

Here is the call graph for this function:

def texi2html.TexinfoParser.open_ref (   self) [inherited]

Definition at line 692 of file texi2html.py.

00692 
00693     def open_ref(self):
        self.startsaving()

Here is the call graph for this function:

def texi2html.TexinfoParser.open_result (   self) [inherited]

Definition at line 660 of file texi2html.py.

00660 
    def open_result(self): self.write('=&gt;')

Here is the call graph for this function:

def texi2html.TexinfoParser.open_samp (   self) [inherited]

Definition at line 836 of file texi2html.py.

00836 
    def open_samp(self): self.write('`<SAMP>')

Here is the call graph for this function:

def texi2html.TexinfoParser.open_sc (   self) [inherited]

Definition at line 839 of file texi2html.py.

00839 
    def open_sc(self): self.write('<SMALLCAPS>')

Here is the call graph for this function:

def texi2html.TexinfoParser.open_small (   self) [inherited]

Definition at line 867 of file texi2html.py.

00867 
    def open_small(self): pass
def texi2html.TexinfoParser.open_ss (   self) [inherited]

Definition at line 647 of file texi2html.py.

00647 
    def open_ss(self): self.write('&#223;') # es-zet or sharp S

Here is the call graph for this function:

def texi2html.TexinfoParser.open_strong (   self) [inherited]

Definition at line 842 of file texi2html.py.

00842 
    def open_strong(self): self.write('<STRONG>')

Here is the call graph for this function:

def texi2html.TexinfoParser.open_t (   self) [inherited]

Definition at line 794 of file texi2html.py.

00794 
    def open_t(self): self.write('<TT>')

Here is the call graph for this function:

def texi2html.TexinfoParser.open_TeX (   self) [inherited]

Definition at line 585 of file texi2html.py.

00585 
    def open_TeX(self): self.write('TeX')

Here is the call graph for this function:

def texi2html.TexinfoParser.open_uref (   self) [inherited]

Definition at line 722 of file texi2html.py.

00722 
00723     def open_uref(self):
        self.startsaving()

Here is the call graph for this function:

def texi2html.TexinfoParser.open_url (   self) [inherited]

Definition at line 854 of file texi2html.py.

00854 
    def open_url(self): self.startsaving()

Here is the call graph for this function:

def texi2html.TexinfoParser.open_value (   self) [inherited]

Definition at line 984 of file texi2html.py.

00984 
00985     def open_value(self):
00986         self.startsaving()

Here is the call graph for this function:

def texi2html.TexinfoParser.open_var (   self) [inherited]

Definition at line 848 of file texi2html.py.

00848 
    def open_var(self): self.write('<VAR>')

Here is the call graph for this function:

def texi2html.TexinfoParser.open_w (   self) [inherited]

Definition at line 851 of file texi2html.py.

00851 
    def open_w(self): self.write('<NOBREAK>')

Here is the call graph for this function:

def texi2html.TexinfoParser.open_xref (   self) [inherited]

Definition at line 686 of file texi2html.py.

00686 
00687     def open_xref(self):
00688         self.write('See ')
        self.startsaving()
def texi2html.TexinfoParser.parse (   self,
  fp 
) [inherited]

Definition at line 254 of file texi2html.py.

00254 
00255     def parse(self, fp):
00256         line = fp.readline()
00257         lineno = 1
00258         while line and (line[0] == '%' or blprog.match(line)):
00259             line = fp.readline()
00260             lineno = lineno + 1
00261         if line[:len(MAGIC)] != MAGIC:
00262             raise SyntaxError('file does not begin with %r' % (MAGIC,))
00263         self.parserest(fp, lineno)

Here is the call graph for this function:

Here is the caller graph for this function:

def texi2html.TexinfoParser.parserest (   self,
  fp,
  initial_lineno 
) [inherited]

Definition at line 265 of file texi2html.py.

00265 
00266     def parserest(self, fp, initial_lineno):
00267         lineno = initial_lineno
00268         self.done = 0
00269         self.skip = 0
00270         self.stack = []
00271         accu = []
00272         while not self.done:
00273             line = fp.readline()
00274             self.nodelineno = self.nodelineno + 1
00275             if not line:
00276                 if accu:
00277                     if not self.skip: self.process(accu)
00278                     accu = []
00279                 if initial_lineno > 0:
00280                     print('*** EOF before @bye')
00281                 break
00282             lineno = lineno + 1
00283             mo = cmprog.match(line)
00284             if mo:
00285                 a, b = mo.span(1)
00286                 cmd = line[a:b]
00287                 if cmd in ('noindent', 'refill'):
00288                     accu.append(line)
00289                 else:
00290                     if accu:
00291                         if not self.skip:
00292                             self.process(accu)
00293                         accu = []
00294                     self.command(line, mo)
00295             elif blprog.match(line) and \
00296                  'format' not in self.stack and \
00297                  'example' not in self.stack:
00298                 if accu:
00299                     if not self.skip:
00300                         self.process(accu)
00301                         if self.nofill:
00302                             self.write('\n')
00303                         else:
00304                             self.write('<P>\n')
00305                         accu = []
00306             else:
00307                 # Append the line including trailing \n!
00308                 accu.append(line)
00309         #
00310         if self.skip:
00311             print('*** Still skipping at the end')
00312         if self.stack:
00313             print('*** Stack not empty at the end')
00314             print('***', self.stack)
00315         if self.includedepth == 0:
00316             while self.nodestack:
00317                 self.nodestack[-1].finalize()
00318                 self.nodestack[-1].flush()
00319                 del self.nodestack[-1]

Here is the caller graph for this function:

def texi2html.TexinfoParser.popstack (   self,
  type 
) [inherited]

Definition at line 1080 of file texi2html.py.

01080 
01081     def popstack(self, type):
01082         if (self.node):
01083             self.node.type = type
01084             while self.nodestack:
01085                 if self.nodestack[-1].type > type:
01086                     self.nodestack[-1].finalize()
01087                     self.nodestack[-1].flush()
01088                     del self.nodestack[-1]
01089                 elif self.nodestack[-1].type == type:
01090                     if not self.nodestack[-1].next:
01091                         self.nodestack[-1].next = self.node.name
01092                     if not self.node.prev:
01093                         self.node.prev = self.nodestack[-1].name
01094                     self.nodestack[-1].finalize()
01095                     self.nodestack[-1].flush()
01096                     del self.nodestack[-1]
01097                 else:
01098                     if type > 1 and not self.node.up:
01099                         self.node.up = self.nodestack[-1].name
01100                     break

Here is the call graph for this function:

Here is the caller graph for this function:

def texi2html.TexinfoParser.prindex (   self,
  name 
) [inherited]

Definition at line 1589 of file texi2html.py.

01589 
01590     def prindex(self, name):
01591         iscodeindex = (name not in self.noncodeindices)
01592         index = self.whichindex[name]
01593         if not index: return
01594         if self.debugging:
01595             print('!'*self.debugging, '--- Generating', \
01596                   self.indextitle[name], 'index')
01597         #  The node already provides a title
01598         index1 = []
01599         junkprog = re.compile('^(@[a-z]+)?{')
01600         for key, node in index:
01601             sortkey = key.lower()
01602             # Remove leading `@cmd{' from sort key
01603             # -- don't bother about the matching `}'
01604             oldsortkey = sortkey
01605             while 1:
01606                 mo = junkprog.match(sortkey)
01607                 if not mo:
01608                     break
01609                 i = mo.end()
01610                 sortkey = sortkey[i:]
01611             index1.append((sortkey, key, node))
01612         del index[:]
01613         index1.sort()
01614         self.write('<DL COMPACT>\n')
01615         prevkey = prevnode = None
01616         for sortkey, key, node in index1:
01617             if (key, node) == (prevkey, prevnode):
01618                 continue
01619             if self.debugging > 1: print('!'*self.debugging, key, ':', node)
01620             self.write('<DT>')
01621             if iscodeindex: key = '@code{' + key + '}'
01622             if key != prevkey:
01623                 self.expand(key)
01624             self.write('\n<DD><A HREF="%s">%s</A>\n' % (makefile(node), node))
01625             prevkey, prevnode = key, node
01626         self.write('</DL>\n')

Here is the caller graph for this function:

def texi2html.TexinfoParser.process (   self,
  accu 
) [inherited]

Definition at line 384 of file texi2html.py.

00384 
00385     def process(self, accu):
00386         if self.debugging > 1:
00387             print('!'*self.debugging, 'process:', self.skip, self.stack, end=' ')
00388             if accu: print(accu[0][:30], end=' ')
00389             if accu[0][30:] or accu[1:]: print('...', end=' ')
00390             print()
00391         if self.inmenu():
00392             # XXX should be done differently
00393             for line in accu:
00394                 mo = miprog.match(line)
00395                 if not mo:
00396                     line = line.strip() + '\n'
00397                     self.expand(line)
00398                     continue
00399                 bgn, end = mo.span(0)
00400                 a, b = mo.span(1)
00401                 c, d = mo.span(2)
00402                 e, f = mo.span(3)
00403                 g, h = mo.span(4)
00404                 label = line[a:b]
00405                 nodename = line[c:d]
00406                 if nodename[0] == ':': nodename = label
00407                 else: nodename = line[e:f]
00408                 punct = line[g:h]
00409                 self.write('  <LI><A HREF="',
00410                            makefile(nodename),
00411                            '">', nodename,
00412                            '</A>', punct, '\n')
00413                 self.htmlhelp.menuitem(nodename)
00414                 self.expand(line[end:])
00415         else:
00416             text = ''.join(accu)
00417             self.expand(text)

def texi2html.TexinfoParser.report (   self) [inherited]

Definition at line 1629 of file texi2html.py.

01629 
01630     def report(self):
01631         if self.unknown:
01632             print('--- Unrecognized commands ---')
01633             cmds = sorted(self.unknown.keys())
01634             for cmd in cmds:
01635                 print(cmd.ljust(20), self.unknown[cmd])
01636 

Here is the call graph for this function:

def texi2html.TexinfoParser.resetindex (   self) [inherited]

Definition at line 1533 of file texi2html.py.

01533 
01534     def resetindex(self):
01535         self.noncodeindices = ['cp']
01536         self.indextitle = {}
01537         self.indextitle['cp'] = 'Concept'
01538         self.indextitle['fn'] = 'Function'
01539         self.indextitle['ky'] = 'Keyword'
01540         self.indextitle['pg'] = 'Program'
01541         self.indextitle['tp'] = 'Type'
01542         self.indextitle['vr'] = 'Variable'
01543         #
01544         self.whichindex = {}
01545         for name in self.indextitle:
01546             self.whichindex[name] = []

def texi2html.TexinfoParser.setdirname (   self,
  dirname 
) [inherited]

Definition at line 246 of file texi2html.py.

00246 
00247     def setdirname(self, dirname):
00248         self.dirname = dirname

def texi2html.TexinfoParser.sethtmlhelp (   self,
  htmlhelp 
) [inherited]

Definition at line 242 of file texi2html.py.

00242 
00243     def sethtmlhelp(self, htmlhelp):
00244         self.htmlhelp = htmlhelp

def texi2html.TexinfoParser.setincludedir (   self,
  includedir 
) [inherited]

Definition at line 250 of file texi2html.py.

00250 
00251     def setincludedir(self, includedir):
00252         self.includedir = includedir

def texi2html.TexinfoParser.startsaving (   self) [inherited]

Definition at line 321 of file texi2html.py.

00321 
00322     def startsaving(self):
00323         if self.savetext != None:
00324             self.savestack.append(self.savetext)
00325             # print '*** Recursively saving text, expect trouble'
00326         self.savetext = ''

Here is the caller graph for this function:

def texi2html.TexinfoParser.unknown_close (   self,
  cmd 
) [inherited]

Definition at line 526 of file texi2html.py.

00526 
00527     def unknown_close(self, cmd):
00528         print('*** No close func for @' + cmd + '{...}')
00529         cmd = '}' + cmd
00530         self.write('}')
00531         if cmd not in self.unknown:
00532             self.unknown[cmd] = 1
00533         else:
00534             self.unknown[cmd] = self.unknown[cmd] + 1

Here is the caller graph for this function: