TeX4ht: Configuration Files
Eitan M. Gurari
May 24, 2014
[index] [the 4ht files]
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
% version 1.3c of this license or (at your option) any
% later version. The latest version of this license is in
% http://www.latex-project.org/lppl.txt
% and version 1.3c or later is part of all distributions
% of LaTeX version 2005/12/01 or later.
%
% This work has the LPPL maintenance status "maintained".
%
% The Current Maintainer of this work
% is the TeX4ht Project <http://tug.org/tex4ht>.
%
% If you modify this program, changing the
% version identification would be appreciated.
-_-_-
% infoof.4ht (2014-05-24-11:52), generated from tex4ht-info-ooffice.tex
% Copyright (C) 2009-2010 TeX Users Group
% Copyright (C) 2005-2009 Eitan M. Gurari
<.TeX4ht copywrite.>
{ \catcode‘\@=0 \catcode‘\\=11 @relax
@gdef@infoIVht[#1]#2//{%
@ifnum #1>1
@def@infoIVht[##1]##2//{%
@ifnum ##1>1 @ifnum ##1<#1
@bgroup
@no:catcodes0{255}{11}%
@no:catcodes{91}{91}{12}% [
@no:catcodes{47}{47}{12}% /
@newlinechar13 %
@long@def@infoIVht####1\ifx\infoIVht####2infoIVht[####3//{%
@def@infoIVht{******************************************}%
@immediate@write-1{@infoIVht}%
@immediate@write-1{****** @csname :[email protected]}%
@immediate@write-1{@infoIVht}%
@bgroup
@def@infoIVht{~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*}%
@let~=@space @immediate@write-1{@infoIVht}%
@egroup
@immediate@write-1{####1}%
@bgroup
@def@infoIVht{~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*}%
@let~=@space @immediate@write-1{@infoIVht}%
@egroup
@immediate@write-1{@infoIVht}%
@egroup}%
@expandafter@expandafter@expandafter@infoIVht
@fi@fi }%
@fi }
} -_-_-
\Configure{enumerate:1}.................. 3
\Configure{enumerate:2}.................. 3
\Configure{enumerate:3}.................. 3
\Configure{enumerate:4}.................. 3
#1 label type: 1, a, A, i, I
#2 left delimiter
#3 right delimiter
-_-_-
\ifx \contextversion\Un:def
\Hinclude{\input #1.4ht}{plain}
\def\:temp{t}%
\ifx \eplain\:temp
\Hinclude{\input #1.4ht}{eplain}
\fi
<.include mex.>
\ifx \d@nger\:UnDef \else
\let\leftheadline\empty
\let\rightheadline\empty
\Hinclude{\input #1.4ht}{manmac}
\fi
\else
\Hinclude{\input #1.4ht}{context}
\fi -_-_-
\Hinclude{\input #1.4ht}{latex}
-_-_-
\def\:temp{M\kern-.111em\lower.6ex\hbox{E}\kern-.075emX}
\ifx \nM@X\:temp
\expandafter\ifx\csname emulateplain\endcsname\relax \else
\Hinclude{\input #1.4ht}{mex}
\fi\fi
-_-_-
Style files, like xy, may be loaded in latex with \usepackage or \input. The
latter case doesn’t leave footprints, hence we need for it an explicitly check. On the
other hand, we should avoid duplications.
\expandafter\let\csname tex4ht:4ht\endcsname\empty
\def\no:dupl#1#2{%
\expandafter\ifx \csname #1:4ht\endcsname\relax
\expandafter\let \csname #1:4ht\endcsname\empty
\expand:after{#2}%
\fi
}
-_-_-
\Hinclude{\def\:temp{\ht:everypar={\setbox0=\lastbox\ht:everypar={}}}%
\ifx \NoindentAfter\:temp
\no:dupl{#1}{\expand:after{\input #1.4ht}}\fi}
{osudeG}
\Hinclude{\ifx\amstexloaded@\relax
\no:dupl{#1}{
\ifx \Space@\:UnDef \expand:after{\input #1.4ht} %
\else \input vanilla.4ht \fi}%
\fi}
{amstex}
\Hinclude{\expandafter\ifx \csname amsppt.sty\endcsname\relax \else
\no:dupl{#1}{\expand:after{\input #1.4ht}}\fi}
{amsppt}
\Hinclude{\ifx \texinfoversion\:UnDef\else
\no:dupl{#1}{\expand:after{\input texinfo.4ht}}\fi}
{texinfo}
\Hinclude{\ifx \thistubstyle\:UnDef\else
\no:dupl{#1}{\expand:after{\input tugboat.4ht}}\fi}
{tugboat}
-_-_-
\Hinclude{\input #1.4ht}{fontmath}
\Hinclude{\@ifpackageloaded{colortbl}{%
\no:dupl{array}{\input array.4ht}%
\no:dupl{color}{\input color.4ht}%
\no:dupl{colortbl}{\input colortbl.4ht}%
}{}}{colortbl}
\def\h:input#1.#2.#3!*?: {%
\:CheckOption{no_#1}\if:Option
\let\:temp\empty
\else
\let\:temp\empty
\no:dupl{#1}{%
\openin15 #1.4ht
\ifeof15
\:CheckOption{debug}\if:Option
\:warning{No configuration file for
#1.\if .#2.tex\else #2\fi}%
\fi
\let\:temp\empty
\else
\def\:temp{\input #1.4ht }%
\fi \closein15
}%
\fi \:temp}
\edef\:temp{\noexpand\Hinclude
{\noexpand\h:input ##1..!*?: }{\@filelist}}
\:temp
-_-_-
\Hinclude{\ifx \PsfigVersion\:UnDef \else
\no:dupl{#1}{\expand:after{\input psfig.4ht}}\fi}
{psfig}
\Hinclude{\:CheckOption{#1}
\if:Option \no:dupl{#1}{\expand:after{\input #1.4ht}}\fi}
{pictex}
\Hinclude{%
\expandafter\ifx \csname PSTricksLoaded\endcsname\relax\else
\no:dupl{#1}{\expand:after{\input #1.4ht}}\fi}
{pstricks}
\Hinclude{%
\ifx \:DraCatCodes\:UnDef \else
\no:dupl{#1}{\expand:after{\input #1.4ht}}\fi}
{dratex}
\Hinclude{%
\ifx \xyloaded\:UnDef \else
\no:dupl{#1}{\expand:after{\input #1.4ht}}\fi}
{xy}
\Hinclude{%
\ifx \epsfsetgraph\:UnDef \else
\no:dupl{#1}{\expand:after{\input #1.4ht}}\fi}
{epsf}
\Hinclude{%
\ifx \diagram@help@messages\:UnDef \else
\no:dupl{#1}{\expand:after{\input #1.4ht}}\fi}
{diagrams}
\Hinclude{%
\ifx \figvisu\:UnDef \else
\no:dupl{#1}{\expand:after{\input #1.4ht}}\fi}
{fig4tex}
\Hinclude{}
{pctable}
\Hinclude{%
\:CheckOption{xhtml}\if:Option \fi}
{xhtml}
\Hinclude{\:CheckOption{#1}
\if:Option\else \:CheckOption{ShowFont}\fi
\if:Option\else \:CheckOption{frames-}\fi
\if:Option\else \:CheckOption{frames}\fi
\if:Option\else \:CheckOption{image-maps}\fi
\if:Option\else \:CheckOption{java}\fi
\if:Option\else \:CheckOption{javascript}\fi
\if:Option \no:dupl{#1}{\expand:after{\input #1.4ht}}\fi}
{th4}
\Hinclude{\ifx \sethebrew\:UnDef\else \ifx \ArabTeX\:UnDef\else
\no:dupl{#1}{\expand:after{\input hebtex.4ht}}\fi \fi}
{hebtex}
-_-_-
\ifx \BeginTable\:UnDef \else\ifx \EndTable\:UnDef \else
\expandafter\ifx \csname !ttBeginTable\endcsname\relax\else
\no:dupl{#1}{\input #1.4ht}%
\fi\fi\fi
-_-_-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{latex}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
<.configure infoof latex.>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\endinput\empty\empty\empty\empty\empty\empty
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\endinput -_-_-
Preamble
tex4ht
latex
book
report
article
fontmath
graphics
amsart
amsbook
amsproc
amsthm
amsmath
amsfonts
amstex1
amsppt
babel
plain
url
hyperref
array
longtable
CJK
moreverb
fancyvrb
xy
psfig
epsfig
amscd
color
colortbl
minitoc
index
fancybox
alltt
vanilla
ntheorem
hebtex
emulateapj
aa
doc
elsart
seminar
slides
foils
slidesec
pictex
pb-diagram
ltugboat
listings
float
endnotes
web
exerquiz
ProTex
th4
mktex4ht
tex4ht
latex
book
report
article
amsart
tex4ht
latex
plain
//