diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/foilhtml')
5 files changed, 6 insertions, 505 deletions
diff --git a/Master/texmf-dist/source/latex/foilhtml/foilhtml-96.perl b/Master/texmf-dist/source/latex/foilhtml/foilhtml-96.perl deleted file mode 100644 index dde49f8f540..00000000000 --- a/Master/texmf-dist/source/latex/foilhtml/foilhtml-96.perl +++ /dev/null @@ -1,83 +0,0 @@ - -###################################################### -# -# This is file `foilhtml.perl', -# generated with the docstrip utility. -# -# Copyright Boris Veytsman 1998 -# -# You are *not* allowed to modify this file. -# -# You are *not* allowed to distribute this file. -# For distribution of the original source see -# the terms for copying and modification in the file -# foilhtml.dtx -# - $FOILHEADLEVEL = 4 unless defined($FOILHEADLEVEL); - %section_commands=('foilhead',$FOILHEADLEVEL, - 'rotatefoilhead',$FOILHEADLEVEL,%section_commands); - - %new_section_headings = ('foilhead', 'H1','rotatefoilhead','H1'); - &generate_new_sectioning_subs; - - sub generate_new_sectioning_subs{ - local($key, $val); - while ( ($key, $val) = each %new_section_headings) { - eval "sub do_cmd_$key {" - . 'local($after) = @_;' - . '&do_cmd_section_helper(' . $val . ');}'; - %section_commands=($key,$val,%section_commands); - } - }; - $FOILCLASS = 'article' unless defined $FOILCLASS; - $FOILOPTIONS = '10pt' unless defined $FOILOPTIONS; - sub make_latex{ - # This is the environment in which to process constructs that cannot be - # translated to HTML. - # The environment tex2html_wrap will be wrapped around any shorthand - # environments (e.g. $, \(, \[). - # The tex2html_wrap environment will be treated as an unrecognised - # evironment by the translator and its contents (i.e. the 'shorthand' - # environment) will be passed to latex for processing as usual. - local($contents) = @_; - local($preamble) = $preamble; - # Make the @ character a normal letter ... - $preamble =~ - s/\\documentclass.*/ - \\documentclass\[$FOILOPTIONS\]{$FOILCLASS}\\makeatletter/; - # ... and make it special again after the preamble - ($DEBUG ? "\\nonstopmode" : "\\batchmode") . - "\n$preamble\n\\makeatother\n" . - "\\newenvironment{tex2html_wrap}{}{}\n" . - "\\newwrite\\lthtmlwrite\n" . - "\\def\\lthtmltypeout#1%\n" . - "{{\\let\\protect\\string\\immediate\\write\\lthtmlwrite{#1}}}%\n" . - "\\newbox\\sizebox\n" . - # "\\textheight 250cm\n" . - "\\begin{document}\n" . - "\\pagestyle{empty}\n" . - "$contents\n". - "\\end{document}"; - } -&ignore_commands( <<_IGNORED_CMDS_); -portraitfoils -lanscapefoils -MyLogo # {} -Restriction # {} -LogoOff -LogoOn -rightfooter # {} -rightheader # {} -leftheader # {} -newnonfloat #{} #{} -foilheadskip # &ignore_numeric_argument -abovefloatskip # &ignore_numeric_argument -captionwidth # &ignore_numeric_argument -titleauthorskip # &ignore_numeric_argument -authorauthorskip # &ignore_numeric_argument -authordateskip # &ignore_numeric_argument -dateabstractskip # &ignore_numeric_argument -zerolistvertdimens -_IGNORED_CMDS_ - 1; # This should be the last line - diff --git a/Master/texmf-dist/source/latex/foilhtml/foilhtml.drv b/Master/texmf-dist/source/latex/foilhtml/foilhtml.drv index 6c3f058cd39..2cd4e2719e9 100644 --- a/Master/texmf-dist/source/latex/foilhtml/foilhtml.drv +++ b/Master/texmf-dist/source/latex/foilhtml/foilhtml.drv @@ -10,12 +10,16 @@ %% %% For the copyright see the source file. %% -%% You are *not* allowed to modify this file. +%% Any modified versions of this file must be renamed +%% with new filenames distinct from foilhtml.drv. %% -%% You are *not* allowed to distribute this file. %% For distribution of the original source see the terms %% for copying and modification in the file foilhtml.dtx. %% +%% This generated file may be distributed as long as the +%% original source files, as listed above, are part of the +%% same distribution. (The sources need not necessarily be +%% in the same archive or directory.) \ProvidesFile{foilhtml.drv} [1998/02/17 v1.2 Sectioning Commands for FoilTeX] %% Copyright Boris Veytsman 1997 diff --git a/Master/texmf-dist/source/latex/foilhtml/foils-97.perl b/Master/texmf-dist/source/latex/foilhtml/foils-97.perl deleted file mode 100644 index eaabee63cac..00000000000 --- a/Master/texmf-dist/source/latex/foilhtml/foils-97.perl +++ /dev/null @@ -1,154 +0,0 @@ - -###################################################### -# -# generated with the docstrip utility. -# -# Copyright Boris Veytsman 1998 -# -# You are *not* allowed to modify this file. -# -# You are *not* allowed to distribute this file. -# For distribution of the original source see -# the terms for copying and modification in the file -# foilhtml.dtx -# - $FOILHEADLEVEL = 4 unless defined($FOILHEADLEVEL); - %section_commands=('foilhead',$FOILHEADLEVEL, - 'rotatefoilhead',$FOILHEADLEVEL,%section_commands); - - %new_section_headings = ('foilhead', 'H1','rotatefoilhead','H1'); - &generate_new_sectioning_subs; - - sub generate_new_sectioning_subs{ - local($key, $val); - while ( ($key, $val) = each %new_section_headings) { - eval "sub do_cmd_$key {" - . 'local($after) = @_;' - . '&do_cmd_section_helper(' . $val . ');}'; - %section_commands=($key,$val,%section_commands); - } - }; - $FOILCLASS = 'article' unless defined $FOILCLASS; - $FOILOPTIONS = '10pt' unless defined $FOILOPTIONS; - sub make_latex{ - # This is the environment in which to process constructs that cannot be - # translated to HTML. - # The environment tex2html_wrap will be wrapped around any shorthand - # environments (e.g. $, \(, \[). - # The tex2html_wrap environment will be treated as an unrecognised - # evironment by the translator and its contents (i.e. the 'shorthand' - # environment) will be passed to latex for processing as usual. - local($contents) = @_; - local($preamble) = $preamble; - local($preamble_aux) = $preamble_aux; - # Make the @ character a normal letter ... - $preamble =~ - s/\\documentclass.*/ - \\documentclass\[$FOILOPTIONS\]{$FOILCLASS}\\makeatletter/; - # ... and make it special again after the preamble - # remove the \begin/\end for tex2html_nowrap and tex2html_deferred environments - $preamble =~s/\\(begin|end)\s*\{(tex2html_(nowrap|deferred|nomath)[_a-z]*|imagesonly)\}//g; - $preamble = "\\documentclass\{article\}%\\usepackage{html}%\n\\makeatletter" - unless ($preamble); - $preamble_aux = '' unless (($preamble_aux)&&($contents =~ /\\(hyper)?(ref|cite)/)); - - local($paperwidth) = ''; - if ($PAPERSIZE) { $paperwidth = &adjust_textwidth($PAPERSIZE); } - else { $paperwidth = &adjust_textwidth("a5"); } - local($kern) = ($EXTRA_IMAGE_SCALE ? $EXTRA_IMAGE_SCALE/2 : ".5" ); - $kern = $kern * $MATH_SCALE_FACTOR; - ($DEBUG ? "\\nonstopmode" : "\\batchmode") . - "\n$preamble\n$preamble_aux\\makeatother\n" . - "\\ifx\\AtBeginDocument\\undefined \\newcommand{\\AtBeginDocument}[1]{}\\fi\n" . - "\\newenvironment{tex2html_wrap}{}{}\n" . - "\\newbox\\sizebox\n" . "$paperwidth" . - "\\newwrite\\lthtmlwrite\n" . "\\makeatletter\n" . - "\\let\\realnormalsize=\\normalsize\n\\topskip=0pt\n\\def\\preveqno{}" . - "\\let\\real\@float=\\\@float \\let\\realend\@float=\\end\@float\n" . - "\\def\\\@float{\\let\\\@savefreelist\\\@freelist\\real\@float}\n" . - # "\\def\\\@float{\\\@dbflt}\n" . - "\\def\\end\@float{\\realend\@float\\global\\let\\\@freelist\\\@savefreelist}\n" . - "\\let\\real\@dbflt=\\\@dbflt \\let\\end\@dblfloat=\\end\@float\n" . - "\\let\\\@largefloatcheck=\\relax\n" . - "\\def\\\@dbflt{\\let\\\@savefreelist\\\@freelist\\real\@dbflt}\n" . - "\\def\\adjustnormalsize{\\def\\normalsize{\\mathsurround=0pt \\realnormalsize" . - "\\parindent=0pt\\abovedisplayskip=0pt\\belowdisplayskip=0pt}\\normalsize}\n" . - "\\def\\lthtmltypeout#1{{\\let\\protect\\string\\immediate\\write\\lthtmlwrite{#1}}}%\n" . - "\\newcommand\\lthtmlhboxmathA{\\adjustnormalsize\\setbox\\sizebox=\\hbox\\bgroup}%\n" . - "\\newcommand\\lthtmlvboxmathA{\\adjustnormalsize\\setbox\\sizebox=\\vbox\\bgroup%\n". - " \\let\\ifinner=\\iffalse }%\n" . - "\\newcommand\\lthtmlboxmathZ{\\\@next\\next\\\@currlist{}{\\def\\next{\\voidb\@x}}%\n" . - # " \\expandafter\\box\\next\\edef\\next{\\egroup\\def\\noexpand\\thiseqn{\\theequation}}\\next}%\n" . - " \\expandafter\\box\\next\\egroup}%\n" . - "\\newcommand\\lthtmlmathtype[1]{\\def\\lthtmlmathenv{#1}}%\n" . - # "\\newcommand\\lthtmllogmath{\\lthtmltypeout{latex2htmlSize%\n" . - "\\newcommand\\lthtmllogmath{\\lthtmltypeout{l2hSize %\n" . - ":\\lthtmlmathenv:\\the\\ht\\sizebox::\\the\\dp\\sizebox::\\the\\wd\\sizebox.\\preveqno}}%\n" . - "\\newcommand\\lthtmlfigureA[1]{\\let\\\@savefreelist\\\@freelist - \\lthtmlmathtype{#1}\\lthtmlvboxmathA}%\n" . - "\\newcommand\\lthtmlfigureZ{\\lthtmlboxmathZ\\lthtmllogmath\\copy\\sizebox - \\global\\let\\\@freelist\\\@savefreelist}%\n" . - "\\newcommand\\lthtmldisplayA[1]{\\lthtmlmathtype{#1}\\lthtmlvboxmathA}%\n" . - "\\newcommand\\lthtmldisplayB[1]{\\edef\\preveqno{(\\theequation)}%\n" . - " \\lthtmldisplayA{#1}\\let\\\@eqnnum\\relax}%\n" . - "\\newcommand\\lthtmldisplayZ{\\lthtmlboxmathZ\\lthtmllogmath\\lthtmlsetmath}%\n" . - "\\newcommand\\lthtmlinlinemathA[1]{\\lthtmlmathtype{#1}\\lthtmlhboxmathA" . - " \\vrule height1.5ex width0pt }%\n" . - "\\newcommand\\lthtmlinlinemathZ{\\egroup\\expandafter\\ifdim\\dp\\sizebox>0pt %\n" . - " \\expandafter\\centerinlinemath\\fi\\lthtmllogmath\\lthtmlsetmath}\n" . - "\\def\\lthtmlsetmath{\\hbox{\\vrule width.5pt\\vtop{\\vbox{%\n" . - " \\kern.5pt\\kern$kern pt\\hbox{\\hglue.5pt\\copy\\sizebox\\hglue$kern pt}\\kern.5pt%\n" . - " \\ifdim\\dp\\sizebox>0pt\\kern$kern pt\\fi}%\n" . - " \\ifdim\\hsize>\\wd\\sizebox \\hrule depth1pt\\fi}}}\n" . - "\\def\\centerinlinemath{\\dimen1=\\ht\\sizebox\n" . - " \\ifdim\\dimen1<\\dp\\sizebox \\ht\\sizebox=\\dp\\sizebox\n" . - " \\else \\dp\\sizebox=\\ht\\sizebox \\fi}\n\n" . - "\\def\\lthtmlcheckvsize{\\ifdim\\ht\\sizebox<\\vsize\\expandafter\\vfill\n" . - " \\else\\expandafter\\vss\\fi}%\n" . - # "\\def\\\@enddocumenthook{\\ifnum\\count0>1 \\ifvoid\\\@cclv\\penalty-\\\@MM\\fi\\fi}\n" . - "\\makeatletter\n" . - $LaTeXmacros . "\n" . # macros defined in extension files - # "\\usepackage{lthimages}\n" . - "\n\\begin{document}\n" . - "\\pagestyle{empty}\\thispagestyle{empty}%\n" . - "\\lthtmltypeout{latex2htmlLength hsize=\\the\\hsize}%\n" . - "\\lthtmltypeout{latex2htmlLength vsize=\\the\\vsize}%\n" . - "\\lthtmltypeout{latex2htmlLength hoffset=\\the\\hoffset}%\n" . - "\\lthtmltypeout{latex2htmlLength voffset=\\the\\voffset}%\n" . - "\\lthtmltypeout{latex2htmlLength topmargin=\\the\\topmargin}%\n" . - "\\lthtmltypeout{latex2htmlLength topskip=\\the\\topskip}%\n" . - "\\lthtmltypeout{latex2htmlLength headheight=\\the\\headheight}%\n" . - "\\lthtmltypeout{latex2htmlLength headsep=\\the\\headsep}%\n" . - "\\lthtmltypeout{latex2htmlLength parskip=\\the\\parskip}%\n" . - "\\lthtmltypeout{latex2htmlLength oddsidemargin=\\the\\oddsidemargin}%\n" . - "\\makeatletter\n" . - "\\if\@twoside\\lthtmltypeout{latex2htmlLength evensidemargin=\\the\\evensidemargin}%\n" . - "\\else\\lthtmltypeout{latex2htmlLength evensidemargin=\\the\\oddsidemargin}\\fi%\n" . - "\\makeatother\n" . - "$contents\n". - # "\\clearpage\n" . - "\\end{document}"; - } - $DONT_INCLUDE = "foilhtml:".$DONT_INCLUDE; -&ignore_commands( <<_IGNORED_CMDS_); -portraitfoils -lanscapefoils -MyLogo # {} -Restriction # {} -LogoOff -LogoOn -rightfooter # {} -rightheader # {} -leftheader # {} -newnonfloat #{} #{} -foilheadskip # &ignore_numeric_argument -abovefloatskip # &ignore_numeric_argument -captionwidth # &ignore_numeric_argument -titleauthorskip # &ignore_numeric_argument -authorauthorskip # &ignore_numeric_argument -authordateskip # &ignore_numeric_argument -dateabstractskip # &ignore_numeric_argument -zerolistvertdimens -_IGNORED_CMDS_ - 1; # This should be the last line - diff --git a/Master/texmf-dist/source/latex/foilhtml/foils.perl b/Master/texmf-dist/source/latex/foilhtml/foils.perl deleted file mode 100644 index d3b668e2cb0..00000000000 --- a/Master/texmf-dist/source/latex/foilhtml/foils.perl +++ /dev/null @@ -1,187 +0,0 @@ - -###################################################### -# -# This is file `foils.perl', -# generated with the docstrip utility. -# -# Copyright Boris Veytsman 1998 -# -# You are *not* allowed to modify this file. -# -# You are *not* allowed to distribute this file. -# For distribution of the original source see -# the terms for copying and modification in the file -# foilhtml.dtx -# - $FOILHEADLEVEL = 4 unless defined($FOILHEADLEVEL); - %section_commands=('foilhead',$FOILHEADLEVEL, - 'rotatefoilhead',$FOILHEADLEVEL,%section_commands); - - %new_section_headings = ('foilhead', 'H1','rotatefoilhead','H1'); - &generate_new_sectioning_subs; - - sub generate_new_sectioning_subs{ - local($key, $val); - while ( ($key, $val) = each %new_section_headings) { - eval "sub do_cmd_$key {" - . 'local($after) = @_;' - . '&do_cmd_section_helper(' . $val . ');}'; - %section_commands=($key,$val,%section_commands); - } - }; - $FOILCLASS = 'article' unless defined $FOILCLASS; - $FOILOPTIONS = '10pt' unless defined $FOILOPTIONS; -sub make_latex{ -# This is the environment in which to process constructs that cannot be -# translated to HTML. -# The environment tex2html_wrap will be wrapped around any shorthand -# environments (e.g. $, \(, \[). -# The tex2html_wrap environment will be treated as an unrecognised -# evironment by the translator and its contents (i.e. the 'shorthand' -# environment) will be passed to latex for processing as usual. - local($contents) = @_; - local($preamble) = $preamble; - local($aux_preamble) = $aux_preamble; - while ($preamble =~ s/^(\@.*\n)/$prelatex .= $1;''/e) {} - print "\nPRE-LATEX: $prelatex" if (($prelatex)&&($VERBOSITY > 1)); - - # Make the @ character a normal letter ... - $preamble =~ s/\\par([^A-Za-z])/\n$1/g; - $preamble =~ - s/\\documentclass.*/ - \\documentclass\[$FOILOPTIONS\]{$FOILCLASS}\\makeatletter/; - # ... and make it special again after the preamble - # remove the \begin/\end for tex2html_nowrap and tex2html_deferred environments - $preamble =~s/\\(begin|end)\s*\{(tex2html_(nowrap|deferred|nomath|preform)[_a-z]*|imagesonly)\}//g; - $preamble = "\\documentclass\{article\}%\n\\usepackage{html,color}%\n\\makeatletter" -unless ($preamble); - if (($LATEX_DUMP)&&(!($preamble =~ /\\usepackage\{ldump\}/))) { -$*=1; -$preamble =~ s/(\\document(class|style)[^\n]*\n)/$1\\usepackage\{ldump\}\n/; -$*=0; - } - $LOAD_LATEX_COLOR = "\\usepackage[dvips]{color}" unless $LOAD_LATEX_COLOR; - $LATEX_COLOR = "\\pagecolor[gray]{.85}" unless $LATEX_COLOR; - if ($preamble =~ /(^|\s*[^%])\s*\\documentstyle/) { -# \usepackage is invalid in LaTeX 2.09 and LaTeX-2e compatibility mode -$LATEX_COLOR = ''; $LOAD_LATEX_COLOR = ''; - } - - $preamble .= $LOAD_LATEX_COLOR."\n" unless ($preamble =~ /[,\{]color[,\}]/); - $preamble .= $LATEX_COLOR."\n" unless ($preamble =~ /\\pagecolor/); - - $aux_preamble = '' unless (($aux_preamble)&&($contents =~ /\\(hyper)?(ref|cite)/)); - - local($paperwidth) = ''; - if ($PAPERSIZE) { $paperwidth = &adjust_textwidth($PAPERSIZE); } - else { $paperwidth = &adjust_textwidth("a5"); } - local($kern) = ($EXTRA_IMAGE_SCALE ? $EXTRA_IMAGE_SCALE/2 : ".5" ); - $kern = $kern * $MATH_SCALE_FACTOR; - $prelatex . ($DEBUG ? "\\nonstopmode" : "\\batchmode") . - "\n$preamble\n$aux_preamble\n" . - "\\count\@=\\the\\catcode`\\_ \\catcode`\\_=8 \n" . - "\\newenvironment{tex2html_wrap}{}{} \\catcode`\\_=\\count\@\n" . - "\\makeatother\n" . - "\\ifx\\AtBeginDocument\\undefined \\newcommand{\\AtBeginDocument}[1]{}\\fi\n" . - "\\newbox\\sizebox\n" . "$paperwidth" . - "\\newwrite\\lthtmlwrite\n" . "\\makeatletter\n" . - "\\let\\realnormalsize=\\normalsize\n\\global\\topskip=2sp\n\\def\\preveqno{}" . - "\\let\\real\@float=\\\@float \\let\\realend\@float=\\end\@float\n" . - "\\def\\\@float{\\let\\\@savefreelist\\\@freelist\\real\@float}\n" . -# "\\def\\\@float{\\\@dbflt}\n" . - "\\def\\end\@float{\\realend\@float\\global\\let\\\@freelist\\\@savefreelist}\n" . - "\\let\\real\@dbflt=\\\@dbflt \\let\\end\@dblfloat=\\end\@float\n" . - "\\let\\\@largefloatcheck=\\relax\n" . - "\\def\\\@dbflt{\\let\\\@savefreelist\\\@freelist\\real\@dbflt}\n" . - "\\def\\adjustnormalsize{\\def\\normalsize{\\mathsurround=0pt \\realnormalsize\n" . - " \\parindent=0pt\\abovedisplayskip=0pt\\belowdisplayskip=0pt}\\normalsize}%\n" . - "\\def\\lthtmltypeout#1{{\\let\\protect\\string\\immediate\\write\\lthtmlwrite{#1}}}%\n" . - "\\newcommand\\lthtmlhboxmathA{\\adjustnormalsize\\setbox\\sizebox=\\hbox\\bgroup}%\n" . - "\\newcommand\\lthtmlvboxmathA{\\adjustnormalsize\\setbox\\sizebox=\\vbox\\bgroup%\n". - " \\let\\ifinner=\\iffalse }%\n" . - "\\newcommand\\lthtmlboxmathZ{\\\@next\\next\\\@currlist{}{\\def\\next{\\voidb\@x}}%\n" . -# " \\expandafter\\box\\next\\edef\\next{\\egroup\\def\\noexpand\\thiseqn{\\theequation}}\\next}%\n" . - " \\expandafter\\box\\next\\egroup}%\n" . - "\\newcommand\\lthtmlmathtype[1]{\\def\\lthtmlmathenv{#1}}%\n" . - "\\newcommand\\lthtmllogmath{\\lthtmltypeout{l2hSize %\n" . - ":\\lthtmlmathenv:\\the\\ht\\sizebox::\\the\\dp\\sizebox::\\the\\wd\\sizebox.\\preveqno}}%\n" . - "\\newcommand\\lthtmlfigureA[1]{\\let\\\@savefreelist\\\@freelist - \\lthtmlmathtype{#1}\\lthtmlvboxmathA}%\n" . - "\\newcommand\\lthtmlfigureZ{\\lthtmlboxmathZ\\lthtmllogmath\\copy\\sizebox - \\global\\let\\\@freelist\\\@savefreelist}%\n" . - "\\newcommand\\lthtmldisplayA[1]{\\lthtmlmathtype{#1}\\lthtmlvboxmathA}%\n" . - "\\newcommand\\lthtmldisplayB[1]{\\edef\\preveqno{(\\theequation)}%\n" . - " \\lthtmldisplayA{#1}\\let\\\@eqnnum\\relax}%\n" . - "\\newcommand\\lthtmldisplayZ{\\lthtmlboxmathZ\\lthtmllogmath\\lthtmlsetmath}%\n" . - "\\newcommand\\lthtmlinlinemathA[1]{\\lthtmlmathtype{#1}\\lthtmlhboxmathA" . - " \\vrule height1.5ex width0pt }%\n" . - "\\newcommand\\lthtmlinlineA[1]{\\lthtmlmathtype{#1}\\lthtmlhboxmathA}%\n" . - "\\newcommand\\lthtmlinlineZ{\\egroup\\expandafter\\ifdim\\dp\\sizebox>0pt %\n" . - " \\expandafter\\centerinlinemath\\fi\\lthtmllogmath\\lthtmlsetinline}\n" . - "\\newcommand\\lthtmlinlinemathZ{\\egroup\\expandafter\\ifdim\\dp\\sizebox>0pt %\n" . - " \\expandafter\\centerinlinemath\\fi\\lthtmllogmath\\lthtmlsetmath}\n" . - "\\def\\lthtmlsetinline{\\hbox{\\vrule width.1em\\vtop{\\vbox{%\n" . - " \\kern.1em\\copy\\sizebox}\\ifdim\\dp\\sizebox>0pt\\kern.1em\\else\\kern.3pt\\fi\n" . - " \\ifdim\\hsize>\\wd\\sizebox \\hrule depth1pt\\fi}}}\n" . - "\\def\\lthtmlsetmath{\\hbox{\\vrule width.1em\\setbox1=\\vtop{\\vbox{%\n" . - " \\kern.1em\\kern$kern pt\\hbox{\\hglue.17em\\copy\\sizebox\\hglue$kern pt}}\\kern.3pt%\n" . -# " \\ifdim\\dp\\sizebox>0pt\\kern.1em \\kern$kern pt\\fi}%\n" . - " \\ifdim\\dp\\sizebox>0pt\\kern.1em\\fi \\kern$kern pt%\n" . - " \\ifdim\\hsize>\\wd\\sizebox \\hrule depth1pt\\fi}\\message{ht\\the\\ht1: dp\\the\\dp1}\\box1}}\n" . - "\\def\\centerinlinemath{%\\dimen1=\\ht\\sizebox\n" . -# " \\ifdim\\dimen1<\\dp\\sizebox \\ht\\sizebox=\\dp\\sizebox\n" . - " \\dimen1=\\ifdim\\ht\\sizebox<\\dp\\sizebox \\dp\\sizebox\\else\\ht\\sizebox\\fi\n" . -# " \\vrule width0pt depth\\dp\\sizebox \n" . -# " \\else \\dp\\sizebox=\\ht\\sizebox \\fi}\n\n" . - " \\advance\\dimen1by.5pt \\vrule width0pt height\\dimen1 depth\\dimen1 \n". - " \\dp\\sizebox=\\dimen1\\ht\\sizebox=\\dimen1\\relax}\n\n" . - "\\def\\lthtmlcheckvsize{\\ifdim\\ht\\sizebox<\\vsize\\expandafter\\vfill\n" . - " \\else\\expandafter\\vss\\fi}%\n" . -# "\\def\\\@enddocumenthook{\\ifnum\\count0>1 \\ifvoid\\\@cclv\\penalty-\\\@MM\\fi\\fi}\n" . - "\\makeatletter \\tracingstats = 1 \n" . - $LaTeXmacros . "\n" # macros defined in extension files -# "\\usepackage{lthimages}\n" . - . (($LATEX_DUMP)? "\\latexdump\n" : '') - . "\n\\begin{document}\n" . - "\\pagestyle{empty}\\thispagestyle{empty}%\n" . - "\\lthtmltypeout{latex2htmlLength hsize=\\the\\hsize}%\n" . - "\\lthtmltypeout{latex2htmlLength vsize=\\the\\vsize}%\n" . - "\\lthtmltypeout{latex2htmlLength hoffset=\\the\\hoffset}%\n" . - "\\lthtmltypeout{latex2htmlLength voffset=\\the\\voffset}%\n" . - "\\lthtmltypeout{latex2htmlLength topmargin=\\the\\topmargin}%\n" . - "\\lthtmltypeout{latex2htmlLength topskip=\\the\\topskip}%\n" . - "\\lthtmltypeout{latex2htmlLength headheight=\\the\\headheight}%\n" . - "\\lthtmltypeout{latex2htmlLength headsep=\\the\\headsep}%\n" . - "\\lthtmltypeout{latex2htmlLength parskip=\\the\\parskip}%\n" . - "\\lthtmltypeout{latex2htmlLength oddsidemargin=\\the\\oddsidemargin}%\n" . - "\\makeatletter\n" . - "\\if\@twoside\\lthtmltypeout{latex2htmlLength evensidemargin=\\the\\evensidemargin}%\n" . - "\\else\\lthtmltypeout{latex2htmlLength evensidemargin=\\the\\oddsidemargin}\\fi%\n" . - "\\makeatother\n" - . "$contents\n" -# "\\clearpage\n" . - . "\\end{document}"; -} - $DONT_INCLUDE = "foilhtml:".$DONT_INCLUDE; -&ignore_commands( <<_IGNORED_CMDS_); -portraitfoils -lanscapefoils -MyLogo # {} -Restriction # {} -LogoOff -LogoOn -rightfooter # {} -rightheader # {} -leftheader # {} -newnonfloat #{} #{} -foilheadskip # &ignore_numeric_argument -abovefloatskip # &ignore_numeric_argument -captionwidth # &ignore_numeric_argument -titleauthorskip # &ignore_numeric_argument -authorauthorskip # &ignore_numeric_argument -authordateskip # &ignore_numeric_argument -dateabstractskip # &ignore_numeric_argument -zerolistvertdimens -_IGNORED_CMDS_ - 1; # This should be the last line - diff --git a/Master/texmf-dist/source/latex/foilhtml/readme.v12 b/Master/texmf-dist/source/latex/foilhtml/readme.v12 deleted file mode 100644 index 9419c71192f..00000000000 --- a/Master/texmf-dist/source/latex/foilhtml/readme.v12 +++ /dev/null @@ -1,79 +0,0 @@ - SECTIONING COMMANDS IN FOILTEX AND CONVERSION TO HTML FORMAT: - FOILHTML PACKAGE - - Version 1.2, February 17, 1998 - - Boris Veytsman - E-mail: boris@plmsc.psu.edu - Home page: http://www.plmsc.psu.edu/~boris - - - The standard FoilTeX system is based on a visual rather than - logical formatting. Thus automatic conversion of FoilTeX - documents to HTML format is difficult. In particular, the - well-known LaTeX2HTML converter gives unsatisfactory results - when used on FoilTeX documents. - - This package provides integration between FoilTeX and - LaTeX2HTML. It adds sectioning commands and elements of logical - formatting to FoilTeX and provides support for FoilTeX commands - in LaTeX2HTML. It also supports automatic creation of - LaTeX2HTML images with proper font sizes and shapes when - converting FoilTeX documents. - - - -Installation - -Since FoilHTML is an add-on to FoilTeX and LaTeX2HTML, you need both -these programs installed and working prior to installation of -FoilHTML. This package is intended for LaTeX2e only; I don't have -enough time to port and test it under LaTeX2.09. It is tested under -FoilTeX v2.1 and LaTeX2HTML v96, 97, 98. - -The FoilHTML distribution consists of the following files: - - - readme.v12---Read Me file - - foilhtml.dtx---the fully documented code - - foilhtml.ins---the LaTeX program extracting the code from the .dtx file. - -To install the package: - - - Run LaTeX on foilhtml.ins. This will create the following files: - o foilhtml.perl---Perl script for LaTeX2HTML96-1, - o foils.perl---Perl script for LaTeX2HTML97-1, - o foilhtml.sty and foilhtml.cfg---LaTeX style file and the - configuration file for user-customization, - o foilhtml.drv---documentation driver. - o foilhtml-96.perl and foils-97.perl---obsolete versions of - Perl scripts required only if you have an obsolete installation - LaTeX2HTML. - - - Put foils.perl to the directory where your LaTeX2HTML - scripts reside (usually it is styles subdirectory of the main - LaTeX2HTML directory, e. g. /usr/local/lib/latex2html/styles). - - Tune the configuration file foilhtml.cfg according to your - taste and put it together with the file foilhtml.sty to the - directory read by LaTeX. - - Run LaTeX on foilhtml.drv to produce the documentation (the - documentation driver foilhtml.drv reads the contents of the file - foilhtml.dtx, so do not delete the latter until you produced the - documentation). - - (Optional) to produce the documentation and the code run - LaTeX through the file foilhtml.dtx - -If you have older versions of LaTeX2HTML, your best options is to upgrade. -However, if you cannot do this by some reason, you can use the previous -versions of the perl scripts. Just rename the files foilhtml-96.perl -or foils-97.perl to foilhtml.perl or foils.perl correspondingly -and install them in the |styles| subdirectory. - - - -What's New in Version 1.2: - - Added support for LaTeX2HTML98-1. - - -What's New in Version 1.1: - - Added support for LaTeX2HTML97-1. - |