\newif\iftth
\iftth
\input ivoatexmeta
\input tthntbib.sty
\begin{html}
\end{html}
\definecolor{ivoacolor}{rgb}{0.0,0.318,0.612}
%%%%%%%%%%%%%%%%%%% ivoatex features
\renewcommand{\author}[2][0]{\def\@tmp{#1}
\if 0\@tmp
{\begin{html}
#2\end{html}}\else
{\begin{html}#2\end{html}}\fi}
\renewcommand{\previousversion}[2][0]{\def\@tmp{#1}
\if 0\@tmp
{\begin{html}#2\end{html}}\else
{\begin{html}
#2\end{html}}\fi}
\renewcommand{\ivoagroup}[1]
{\begin{html}#1\end{html}}
\renewcommand{\editor}[2][0]{\def\@tmp{#1}
\if 0\@tmp
{\begin{html}#2\end{html}}\else
{\begin{html}#2\end{html}}\fi}
\newcommand{\includeMeta}{%
\special{html:}\ivoaDocversion\special{html:
}\ivoaDoctype\special{html:
}\ivoaDocname\special{html:
}\ivoaDocdate\special{html:}}
\def\SVN$#1: #2 ${%
\special{html:}#2\special{html:}}
\newenvironment{abstract}{%
\includeMeta
\begin{html}
Abstract
\end{html}
}{%
\special{html:
Status of this Document
}\ivoaDoctype\special{html:
}
\tableofcontents
}
\newenvironment{generated}{%
\begin{html}
\end{html}
}{%
\begin{html}
\end{html}
}
\newenvironment{admonition}[1]{%
\begin{html}
#1
\end{html}
}{%
\begin{html}
\end{html}
}
\newcommand{\lstinputlisting}[2][plain]{
\special{html:}
\verbatiminput{#2}
\special{html:
}
}
\newcommand{\lstloadlanguages}[1]{}
\newcommand{\lstset}[1]{}
\newenvironment{lstlisting}[1][plain]
{\special{html:}\tthverbatim{lstlisting}}
{\special{html:
}}
\newcommand{\nolinkurl}[1]{
\special{html:}#1\special{html:}}
\newenvironment{bigdescription}{%
\begin{html}\end{html}
\begin{description}
}{\end{description}\begin{html}
\end{html}}
\newenvironment{longtermsdescription}{%
\begin{html}\end{html}
\begin{description}
}{\end{description}\begin{html}
\end{html}}
% declare additional css to be included; only effective in the preamble
\renewcommand{\customcss}[1]{%
\begin{html}\end{html}}
\newcommand{\specialterm}[2]{%
\begin{html}\end{html}#2\begin{html}\end{html}}
\newcommand{\xmlel}[1]{\specialterm{xmlel}{#1}}
\newcommand{\vorent}[1]{\specialterm{vorent}{#1}}
%don't do table rules, these come in through CSS
\newcommand{\sptablerule}{}
\def\dquote{"}
\newcommand{\todo}[2][None]{%
\begin{html}#2\end{html}}
\newcommand{\ivoatex}{%
\special{html:IVOATEX}}
\newenvironment{inlinetable}{}{}
% TODO: support some common styles
\newenvironment{compactenum}[1][None]
{\begin{html}\end{html}\begin{enumerate}}
{\end{enumerate}\begin{html}
\end{html}}
%%%%%%%%%%%%%%%%%%%%%%%%%%% Simplified support for Harvard citation style
\newcommand{\harvarditem}[4][0]{%
\special{html:}
\if 0#1 \item[#2 (#3)]
\else \item[#1 (#3)]\fi}
\newcommand{\harvardurl}[1]{\url{#1}}
\newcommand{\harvardand}{\&}
\newcommand{\harvardyearleft}{(}
\newcommand{\harvardyearright}{)}
%%%%%%%%%%%%%%%%%%%%%%%%%%%% Hacks
% shut up harmless error due to some package we're actually using
\def\AtBeginDocument#1{\relax}
\def\pgfsyspdfmark#1#2#3{\relax}
\def\spacefactor{\relax}
\newbox\voidb@x
\def\@m{\relax}
%%%%%%%%%%%%%%%%%%%%%%%%%%%% Now open up titlepage metadata
\begin{html}
\end{html}
\fi