| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| viewer2.zip | 2013-05-16 | 3.0 kB | |
| viewer2.html | 2013-05-16 | 1.4 kB | |
| combined.xsl | 2013-05-08 | 213 Bytes | |
| viewer.html | 2013-05-08 | 593 Bytes | |
| README | 2013-05-08 | 1.0 kB | |
| switchhats.xml | 2013-05-08 | 2.1 kB | |
| switchhats.css | 2013-05-08 | 2.9 kB | |
| Totals: 7 Items | 11.2 kB | 0 | |
The XML identifies a switchhats document, which contains:
Note(s): metadata ignored by both LaTeX and the source compiler
Code: source code ignored by LaTeX
Listing(s): source code included by LaTeX in technical documentation
Tex: documentation and markup ignored by the source compiler
The XML is styled by CSS.
A Combined Viewer would display all elements.
A Code Viewer would ignore notes and tex.
A Tex Viewer would ignore notes and code. The following TeX stub allows
the rendered file to be compiled by MikTex
\documentclass[12pt]{letter}
\usepackage{listings}
\usepackage{verbatim}
\lstloadlanguages{Java}
\begin{document}
\lstdefinelanguage{scala}{
morekeywords={ object ,def, override}
}
\lstset{ stringstyle=\ttfamily, % typewriter type for strings
showstringspaces=false,
keepspaces=false,
columns=spaceflexible,
breakatwhitespace,
breaklines,
language=Java,
alsolanguage=scala,
morecomment=[il]{///}
}
\input{switchhats.tx} %tex file generated from xml
\end{document}