summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/tex4ht/elsart.4ht
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-12 23:46:03 +0000
committerKarl Berry <karl@freefriends.org>2006-01-12 23:46:03 +0000
commit873660d1a83ece926fe7206288dda9c36b349c1b (patch)
treea48f77125c309a355b5d0eb58d6b24446abe9d62 /Master/texmf-dist/tex/generic/tex4ht/elsart.4ht
parent2939242967231097459df0fc3150fabc2f639111 (diff)
generic 1
git-svn-id: svn://tug.org/texlive/trunk@613 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/elsart.4ht')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/elsart.4ht172
1 files changed, 172 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/elsart.4ht b/Master/texmf-dist/tex/generic/tex4ht/elsart.4ht
new file mode 100644
index 00000000000..043d42541c9
--- /dev/null
+++ b/Master/texmf-dist/tex/generic/tex4ht/elsart.4ht
@@ -0,0 +1,172 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% elsart.4ht 2005-10-23-04:19 %
+% Copyright (C) 1999--2005 Eitan M. Gurari %
+% %
+% This work may be distributed and/or modified under the %
+% conditions of the LaTeX Project Public License, either %
+% version 1.3 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.3 or later is part of all distributions %
+% of LaTeX version 2003/12/01 or later. %
+% %
+% This work has the LPPL maintenance status "maintained".%
+% %
+% This Current Maintainer of this work %
+% is Eitan M. Gurari. %
+% %
+% If you modify this program your changing its signature %
+% with a directive of the following form will be %
+% appreciated. %
+% \message{signature} %
+% %
+% gurari@cse.ohio-state.edu %
+% http://www.cse.ohio-state.edu/~gurari %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\immediate\write-1{version 2005-10-23-04:19}
+
+\edef\@ptsize{\ifdim \normalbaselineskip>14pt 2\else
+ \ifdim \normalbaselineskip>13pt 2\else 0\fi\fi}
+\input article.4ht
+\@twocolumnfalse \@TwoColumnfalse
+\let\endtable\end@float
+\let\endalgorithm\end@float
+\let\endfigure\end@float
+\def\@mpmakefnmark{\,\hbox{$\sp{\mathrm{\@thefnmark}}$}}
+\long\def\@mpmakefntext#1{\noindent
+ \hbox{$\sp{\mathrm{\@thefnmark}}$} #1}
+\def\itnuc#1#2{\setbox\@tempboxa=\hbox{\scriptsize\it #1}
+ \def\@tempa{{}\sp{\box\@tempboxa}\!\protect\text{\it #2}}\relax
+ \ifmmode \@tempa \else $\@tempa$\fi}
+
+\def\address@fmt#1#2#3#4{\@newelemtrue
+ \if@Elproofing\def\@eltag{#4}\else\def\@eltag{\theaddress}\fi
+ \ifnum\prev@elem=\e@address \@newelemfalse \fi
+ \if@newelem \address@fmt@init \fi
+ \noindent \bgroup \@addressstyle
+ \ifnum#1=\z@
+ #3\,$\sp{\mathrm{#2}}$\space%
+ \else
+ \ifnum#1=\m@ne
+ $\sp{\phantom{\mathrm{\@eltag}}}$\space #3\,$\sp{\mathrm{#2}}$%
+ \else
+ $\sp{\mathrm{\@eltag}}\space$#3\,$\sp{\mathrm{#2}}$%
+ \fi
+ \fi
+ \par \egroup}
+\def\collab@fmt#1#2#3{\@newelemtrue
+ \ifnum\prev@elem=\e@collab \global\@newelemfalse \fi
+ \if@newelem \collab@fmt@init \fi
+ \par % Start new paragraph
+ {\large #3\,$\sp{\mathrm{#2}}$}}
+\def\@makefnmark{\,\hbox{$\sp{\fn@presym\mathrm{\@thefnmark}}$}\,}
+\def\nuc#1#2{\relax\ifmmode{\HCode{}}\sp{#1}{\protect\text{#2}}\else
+ ${\HCode{}}\sup{#1}$#2\fi}
+\def\title@fmt#1#2{%
+\@ifundefined{@runtitle}{\global\def\@runtitle{#1}}{}%
+ \vspace*{12pt}
+ {\@titlesize\a:title #1\,\hbox{$\sp{#2}$}\b:title\par}%
+ \vskip\@undertitleskip
+\vskip24\p@ % Vertical space below title
+ }
+\def\subtitle@fmt#1#2{% % No vertical space above sub-title
+ {\@titlesize \a:subtitle#1\b:subtitle\,\hbox{$\sp{#2}$}}\par}
+\NewConfigure{title}{2}
+\NewConfigure{subtitle}{2}
+
+
+\def\@makecaption{\@makefigurecaption}
+\long\def\@makefigurecaption#1#2{%
+ {\cptA: \cap:ref{#1}%
+\cptB:}{\cptC:{#2}\cptD:}}
+\long\def\@maketablecaption#1#2{\@tablecaptionsize
+ \global \@minipagefalse
+ \hbox{{\cptA: \cap:ref{#1}%
+\cptB:}{\cptC:{#2}\cptD:}}}
+\def\endfrontmatter{%
+ \ifx\@runauthor\relax
+ \global\let\@runauthor\@runningauthor
+ \fi
+ \global\n@author=\c@author
+ \global\n@collab=\c@collab \@writecount
+ \global\@topnum\z@
+ \thispagestyle{copyright}% % Format rest of front matter:
+ \if@preface \else % IF not preface THEN
+ \vskip \@overhistoryskip
+ \history@fmt % print history (received, ...)
+ \newcount\c@sv@footnote
+ \global\c@sv@footnote=\c@footnote % save current footnote number
+ \if@hasabstract % IF abstract/ keywords THEN
+ \vskip \@preabstractskip % Space above rule
+% \hrule height 0.4\p@ % Rule above abstract/keywords
+ \vskip 8\p@
+ \unvbox\t@abstract % print abstract, if any
+ \fi
+ \if@haskeywords % IF keywords THEN
+ \vskip \@overkeywordskip
+ \unvbox\t@keyword % Keyword abstract, if any
+ \fi % FI
+ \vskip 10\p@
+% \hrule height 0.4\p@ % rule below abstract/keywords
+ \dedicated@fmt % print dedication
+ \vskip \@belowfmskip % Vertical space below frontmatter
+\fi % FI
+ \close@fm % Close front matter material.
+ \output@glob@notes % Put notes at bottom of 1st page
+ \global\c@footnote=\c@sv@footnote % restore footnote number
+ \global\@prefacefalse
+ \global\leftskip\z@ % Restore the normal values of
+ \global\@rightskip\z@ % \leftskip,
+ \global\rightskip\@rightskip % \rightskip and
+ \global\mathsurround\sv@mathsurround % \mathsurround.
+ \let\title\relax \let\author\relax
+ \let\collab\relax \let\address\relax
+ \let\frontmatter\relax \let\endfrontmatter\relax
+ \let\@maketitle\relax \let\@@maketitle\relax
+ \normal@text
+}
+\def\thanks{\@ifnextchar[{\@tempswatrue
+ \thanks@optarg}{\@tempswafalse\thanks@optarg[]}}
+\def\thanks@optarg[#1]#2{\SkipRefstepAnchor
+ \refstepcounter{footnote}
+ \if@tempswa\label{#1}\else\relax\fi
+ \add@tok\t@glob@notes{\els:footnotetext}%
+ \add@xtok\t@glob@notes{{#1}[\the\c@footnote]}%
+ \add@tok\t@glob@notes{{#2}}}
+\def\els:footnotetext#1[#2]#3{%
+ \footnotetext[#2]{{\def\rEfLiNK##1##2{\Link{}{##1}\EndLink}%
+ \ref{#1}}#3}}
+\def\author@fmt#1#2#3{\@newelemtrue
+ \if@firstauthor
+ \first@author \global\@firstauthorfalse \fi
+ \ifnum\prev@elem=\e@author \global\@newelemfalse \fi
+ \if@newelem \author@fmt@init \fi
+ \edef\@tempb{#2}\ifx\@tempb\@empty
+ \hbox{{\author@font #3}}\else
+ \hbox{{\author@font #3}\,$\sp{\mathrm{#2}}$}%
+ \fi}
+
+\def\:temp{%
+ \let\no:indent\noindent
+ \def\noindent{%
+ \global\let\noindent\no:indent
+ \append:def\abstractname{\aftergroup\b:abstract}%
+ \a:abstract \noindent}%
+ \pend:def\endabstract{\c:abstract}\o:@abstract:}
+\HLet\@abstract\:temp
+\NewConfigure{abstract}{3}
+
+\def\:temp{%
+ \let\no:indent\noindent
+ \def\noindent{%
+ \global\let\noindent\no:indent
+ \a:keyword \noindent}%
+ \pend:def\endkeyword{\b:keyword}\o:keyword:}
+\HLet\keyword\:temp
+\NewConfigure{keyword}{2}
+
+
+\Hinput{elsart}
+\endinput
+