% \subsection{Page setup} % We want non-indented spaced-out paragraphs. % \begin{macrocode} %<*classXimera> \setlength{\parindent}{0pt} \setlength{\parskip}{5pt} % % \end{macrocode} % To avoid weird margins in 2-sided mode, change the margins. % \begin{macrocode} %<*classXimera> \oddsidemargin 62pt \evensidemargin 62pt \textwidth 345pt \headheight 14pt % % \end{macrocode} % On the HTML side, there is more complicated page setup to perform. % \begin{macrocode} %<*cfgXimera> \Preamble{xhtml} % We don't want to translate font suggestions with ugly wrappers like % for italic text \NoFonts % Don't output xml version tag \Configure{VERSION}{} % Output HTML5 doctype instead of the default for HTML4 \Configure{DOCTYPE}{\HCode{\Hnewline}} % Custom page opening \Configure{HTML}{\HCode{\Hnewline}}{\HCode{\Hnewline}} % Reset , aka delete all default boilerplate; alternatively set up new content \Configure{@HEAD}{\HCode{\Hnewline}} \Configure{@HEAD}{\HCode{\Hnewline}} \Configure{@HEAD}{\HCode{\Hnewline}} \Configure{@HEAD}{\HCode{\Hnewline}} % % \end{macrocode} % Disable certain ligatures in HTML. % \begin{macrocode} %<*htXimera> \usepackage{microtype} \DisableLigatures[f]{encoding=*} % % \end{macrocode} % I am not sure what this does. % \begin{macrocode} %<*htXimera> \NewEnviron{html}{\HCode{\BODY}} % % \end{macrocode}