Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- \Preamble{xhtml}
- % Enable png graphics in html.
- \Configure{graphics*}
- {png}
- {%
- \Picture[pict]{\csname Gin@base\endcsname .png
- \space width="\expandafter\the\csname Gin@req@width\endcsname"
- }%
- }
- % Number paragraphs.
- \setcounter{secnumdepth}{4}
- % Make a TOC in sections for subsection, subsubsection, and paragraph.
- \TocAt{section,subsection,subsubsection,paragraph}
- \begin{document}
- % Nav bar
- \Configure{crosslinks}
- {\HCode{<span class="navarrows">}[}
- {]\HCode{</font></span>}}
- {Next $\scriptstyle\Rightarrow$}
- {Prev $\scriptstyle\Leftarrow$}
- {}{}{}{Up $\scriptstyle\Uparrow$}
- % Around Nav bar
- \Configure{crosslinks+}
- {\HCode{<H2>}\textit{Gazprea} Spec\HCode{</H2>}} % Before top
- {}{}{}
- \makeatletter
- \renewcommand{\href}[2]{\bgroup\let~\H@tilde%
- \Link[#1 target="_blank"]{}{}%
- {#2}\egroup\EndLink}%
- \makeatother
- % Front page title
- \HCode{<H2>}\textit{Gazprea} Spec\HCode{</H2>}
- % Front page ToC.
- \Configure{tableofcontents*}{section,subsection}
- \EndPreamble
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement