summaryrefslogtreecommitdiff
path: root/virtio-html.cfg
diff options
context:
space:
mode:
authormstsirkin <mstsirkin@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652>2013-12-01 21:45:03 +0000
committermstsirkin <mstsirkin@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652>2013-12-01 21:45:03 +0000
commit9ede441dd7c2a681d1adeacf4e879972c86db310 (patch)
treebe4e5f7e13cbe5620c3929fbb976e77e5dc9c47f /virtio-html.cfg
parent7f40233b30132da540523a623411b6916545074a (diff)
html: rename file
htlatex doesn't seem to support -jobname for output file name, so simply rename file before processing. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@141 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
Diffstat (limited to 'virtio-html.cfg')
-rw-r--r--virtio-html.cfg31
1 files changed, 31 insertions, 0 deletions
diff --git a/virtio-html.cfg b/virtio-html.cfg
new file mode 100644
index 0000000..0106271
--- /dev/null
+++ b/virtio-html.cfg
@@ -0,0 +1,31 @@
+\Preamble{html}
+\begin{document}
+ \ConfigureMark{chapter}{\HCode{<hr><span class="titlemark">}\thechapter\HCode{</span>}}
+ \ConfigureMark{paragraph}{\HCode{<span class="titlemark">}\theparagraph\HCode{</span>}}
+ \ConfigureMark{subparagraph}{\HCode{<span class="titlemark">}\thesubparagraph\HCode{</span>}}
+
+ \Configure{chapter}{}{}{\ShowPar\IgnoreIndent\HCode{<h2 class="chapterHead">}\begingroup\TitleMark\space}{\endgroup\HCode{</h2>}\par\IgnorePar}
+ \Configure{paragraph}{}{}{\ShowPar\IgnoreIndent\HCode{<h5 class="paragraphHead">}\begingroup\TitleMark\space}{\endgroup\HCode{</h5>}\par\IgnorePar}
+ \Configure{subparagraph}{}{}{\ShowPar\IgnoreIndent\HCode{<h6 class="subparagraphHead">}\begingroup\TitleMark\space}{\endgroup\HCode{</h6>}\par\IgnorePar}
+ \Configure{appendix}{}{}{\ShowPar\IgnoreIndent\HCode{<h2 class="appendixHead">}\begingroup\TitleMark.\space}{\endgroup\HCode{</h2>}\par\IgnorePar}
+
+ \Configure{tabular}
+ {\HCode{<table>}}{\HCode{</table>}}
+ {\HCode{<tr class="row-\HRow">}}{\HCode{</tr>}}
+ {\HCode{<td style="text-align: left; min-width: \HColWidth" \ifnum \HMultispan>1 colspan="\HMultispan"\fi >}}{\HCode{</td>}}
+
+
+ %%\Configure{HColWidth}{\HCode{ style="min-width:\HColWidth"}}
+
+ \Configure{@TITLE}{Virtual I/O Device (VIRTIO) Version 1.0}
+ \Css{body { font-family: Arial, Helvetica, sans-serif; font-size: 10pt; }}
+ \Css{h1 { color:\#552681; font-size:150\%; }}
+ \Css{h2 { color:\#552681; font-size:140\%; }}
+ \Css{h3 { color:\#552681; font-size:130\%; }}
+ \Css{h4 { color:\#552681; font-size:120\%; }}
+ \Css{h5 { color:\#552681; font-size:110\%; }}
+ \Css{h6 { color:\#552681; font-size:100\%; }}
+ \Css{table.tabular { margin-left: 0em; }}
+ \Css{dt { margin-top: 0.5em; }}
+ \Css{div.lstlisting, div.lstinputlisting {font-family: Courier New, monospace; white-space: nowrap; margin-top:0.5em; margin-bottom:0.5em; padding: 5px; border: 1px solid black; color: black; background-color: \#F5F5F5;}}
+\EndPreamble