Syntax highlight XML in the PDFs.

git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@3561 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
Tobias Markmann 2009-10-21 11:39:44 +00:00
parent 72cc9def59
commit a0906fd97e
1 changed files with 12 additions and 2 deletions

View File

@ -72,7 +72,7 @@
unicode,
pagebackref,
xetex]{hyperref}
\usepackage{color}
\usepackage{xcolor}
\usepackage{graphicx}
\usepackage{fancyhdr}
\usepackage{tabularx}
@ -156,7 +156,17 @@
<env name="document">
<TeXML escape="0">
<cmd name="lstset">
<parm>language=XML, basicstyle=\small, frame=single, breaklines=true, emptylines=5</parm>
<parm>language=XML,
breaklines=true,
emptylines=5,
frame=single,
rulecolor=\color{black},
basicstyle=\small\color{darkgray},
keywordstyle=\color{cyan},
stringstyle=\color{blue},
tagstyle=\color{purple},
markfirstintag=true
</parm>
</cmd>
</TeXML>