# latex2html init file for the REALSIMPLE project ##############################################################################/ # # VERSION CONTROL INFORMATION: # # $Author: jos $ # # $Date: 2006-12-16 12:43:49 -0800 (Sat, 16 Dec 2006) $ # # $Rev: 84 $ # # Created 8/30/06 by jos for REALSIMPLE project (copy/edit of personal version) # ##############################################################################/ $SCALABLE_FONTS = 1; # => PK_GENERATION=1; DVIPS_MODE=""; $BOTTOM_NAVIGATION = 1; # override default $AUTO_NAVIGATION = 0; # override default $ANTI_ALIAS = 1; $STYLESHEET = "../realsimple.css"; $ICONSERVER = '../icons'; $MATH_SCALE_FACTOR = 1.6; # default = 1.6, I think $DISP_SCALE_FACTOR = 1; # extra scaling for displayed eqns (default = 1) $FIGURE_SCALE_FACTOR = 1.4; # default = 1.6 -- SEEMS TO HAVE NO EFFECT $TRANSPARENT_FIGURES = 0; # default = 1 $WHITE_BACKGROUND = 1; # default = 0 $BELOW_DISPLAY_SPACE = ""; # Inhibit
after displayed equations $DVIPS = "dvips"; $TMP = '/tmp'; # root dir for temp images $PAPERSIZE = "letter"; # ($width=612) $NO_SIMPLE_MATH = 1; # pro mode or exper mode $NO_MATH_PARSING = 1; # pro mode - apparently unused by l2h these days $WORDS_IN_NAVIGATION_PANEL_TITLES = 12; # default = 4 #FIXME: This one seems to be undocumented: $WORDS_IN_INDEX = 25; # default = 4 $SHORT_INDEX = 1; # make one-line index entries $LONG_TITLES = 4; # Up to four non-generic words of section name # STDADDRESS USAGE: # # $ADDRESS = "\nThis document was generated using the\n" , "LaTeX2HTML" , " translator Version $TEX2HTMLVERSION(patched)\n" , "
Copyright © 1993, 1994, 1995, 1996,\n"
# , "Nikos Drakos, \n"
, "Nikos Drakos, \n"
, "Computer Based Learning Unit, University of Leeds.\n"
, "
Copyright © 1997, 1998, 1999, 2000\n"
, "Ross Moore, \n"
, "Mathematics, Sydney.\n"
, "
$href
"; } else { $t_title .= "\n$t_author
"; } } else { &write_warnings("\nThere is no author for this document."); } if ($t_institute&&!($t_institute=~/^\s*(($O|$OP)\d+($C|$CP))\s*\1\s*$/)) { $t_title .= "\n$t_institute
";} if ($t_affil&&!($t_affil=~/^\s*(($O|$OP)\d+($C|$CP))\s*\1\s*$/)) { $t_title .= "\n$t_affil
";} if ($t_date&&!($t_date=~/^\s*(($O|$OP)\d+($C|$CP))\s*\1\s*$/)) { $t_title .= "\n$t_date
";} if ($t_address&&!($t_address=~/^\s*(($O|$OP)\d+($C|$CP))\s*\1\s*$/)) { $t_title .= "\n$t_address
"; } # else { $t_title .= "\n"} if ($t_email&&!($t_email=~/^\s*(($O|$OP)\d+($C|$CP))\s*\1\s*$/)) { $t_title .= "\n
$t_email
"; } # else { $t_title .= "" } join("\n", $s_author_info, $t_title, $e_author_info); } # This fixes a bug in small caps processing (in latex2html-2002-1-2 (1.70)): sub process_smallcaps { local($text) = @_; local($next, $scstr, $scbef, $special, $char); # is this enough for \sc and \scshape ? $text = &translate_environments($text); # MRO: replaced $* with /m while ($text =~ /(\\[a-zA-Z]+|[&;]SPM\w+;|<[^>]+>)+/m ) { $scbef = $`; $special = $&; $text = $'; # JOS: replaced \W with \s (to fix unequal parens bug): while ( $scbef =~ /(\d+;|[a-z$sclower])+[a-z\s\d$sclower]*/m) { $scstr .= $`; $scbef = $'; $next = $&; $next =~ s/(\d+);/&lowercase_entity($1)/egm; eval "\$next =~ $scextra" if ($scextra); eval "\$next =~ tr/a-z$sclower/A-Z$scupper/"; $scstr .= "" . $next ."<\/SMALL>"; } $scstr .= $scbef . $special; } if ($text) { while ( $text =~ /(\d+;|[a-z$sclower])+[a-z\s\d$sclower]*/m) { $scstr .= $`; $text = $'; $next = $&; $next =~ s/(\d+);/&lowercase_entity($1)/egm; eval "\$next =~ $scextra" if ($scextra); eval "\$next =~ tr/a-z$sclower/A-Z$scupper/"; $scstr .= "" . $next ."<\/SMALL>"; } $scstr .= $text; } $scstr; } 1;