@@page.html body :title :
<html>
<head>
<meta charset="utf-8">
<title>*title*</title>
<style>
body { font-family:Palatino,roman; margin:2em 5em; }
tt,pre { font-family:Courier,monospace; }
.big  { font-size:125%; }
.wide { padding: 0 .25em 0 .25em; }
</style>
</head>
<body>
<center><b>*title*</b></center>

*body*

</body>
</html>
@@

@@page.tex body :title :
\documentclass[a4paper,10pt]{article}
\usepackage{fontspec}
% https://tex.stackexchange.com/questions/50586/how-to-use-palatino-like-math-fonts-in-xelatex
\usepackage{fontspec}
\usepackage{mathpazo}
\setmainfont
    [ BoldFont       = texgyrepagella-bold.otf ,
      ItalicFont     = texgyrepagella-italic.otf ,
      BoldItalicFont = texgyrepagella-bolditalic.otf ]
  {texgyrepagella-regular.otf}
\setsansfont[Scale=MatchLowercase]{Open Sans}
\setmonofont{Inconsolatazi4-Regular.otf}[Scale=MatchLowercase]
\usepackage{calc}
\usepackage{fancyvrb}
\usepackage[strings,nohyphen]{underscore}
\usepackage{titletoc}
\setlength{\marginparwidth}{1in}
\setlength{\textwidth}{210mm-2in}
\setlength{\textheight}{297mm-1.5in}
\setlength{\parskip}{6pt}
\setlength{\parindent}{0pt}
\setlength{\hoffset}{-1in}
\setlength{\voffset}{-1in}
\begin{document}
\begin{center}
\textsf{\large *title*}
\end{center}
*body*
\end{document}
@@
