[l2h] Customising the appearance of web pages created with l2h

Fred L. Drake, Jr. fdrake@acm.org
Tue, 25 Sep 2001 15:42:31 -0400


Paul Lussier writes:
 > Is there any logical structure or flow to this code?  I'm used to 
 > a pretty linear flow in code where subroutines and functions get 
 > called from somewhere.  I can't seem to figure out where these 
 > functions get called from.

  do_cmd_*() are called from process_command(), and possible a number
of similar places.
  The dynamic lookup of functions using the command names is
definately the best thing about extending LaTeX2HTML; I couldn't live
without this.  It's just too bad it isn't more object-oriented.  ;-)
  Of course, we're used to doing things like this in Python; I don't
know that Perl has quite the same cultural bias for it.


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at acm.org>
PythonLabs at Zope Corporation