%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[DIV=10]{scrartcl}
\KOMAoptions{paper=a4}
\usepackage[
pdftitle={XEP-: },
pdfauthor={XMPP Standards Foundation},
pdfcreator={XEP2PDF},
pdfproducer={XEP2PDF},
breaklinks = true,
unicode,
pagebackref,
xetex]{hyperref}
\usepackage{xcolor}
\usepackage{graphicx}
\usepackage{fancyhdr}
\usepackage{tabularx}
\usepackage{listings}
\usepackage{varwidth}
\usepackage{titling}
\usepackage{titletoc}
\usepackage{hyphenat}
\hypersetup{colorlinks, linkcolor=blue, anchorcolor=blue, urlcolor=blue}
\usepackage{fontspec,xltxtra,xunicode}
\defaultfontfeatures{Mapping=tex-text}
\setromanfont[Ligatures={Common}]{Gentium}
\setsansfont[Scale=MatchLowercase]{Gentium}
\setmonofont[Scale=MatchLowercase]{Inconsolata}
\setkomafont{descriptionlabel}{\normalfont\bfseries}
\usepackage[english]{babel}
\pagestyle{fancy}
\fancyfoot{}
\fancyhead{}
%% page numbering
\newcommand{\XEPNumber}[0]{}
\newcommand{\XEPVersion}[0]{}
\newcolumntype{L}{>{\raggedright\arraybackslash}X}
\fancyhead[L,L]{\includegraphics[totalheight=10pt]{xmpp.pdf} \slshape \leftmark}
\fancyfoot[C,C]{\thepage}
\pretitle{
\begin{figure*}[h]
\begin{center}
\includegraphics[totalheight=7.5cm]{xmpp-text.pdf}
\end{center}
\end{figure*}
\begin{center}\LARGE
}
\sloppy
XEP-:
\\
mailto: \\
xmpp: \\
\and
\\ Version
language=XML,
breaklines=true,
emptylines=5,
frame=single,
rulecolor=\color{black},
basicstyle=\ttfamily\small\color{darkgray},
keywordstyle=\color{cyan},
stringstyle=\color{blue},
tagstyle=\color{purple},
markfirstintag=true
DIV=24
empty
empty
ccc
Status & Type & Short Name \\
& &
\fancyhead[L,L]{\includegraphics[totalheight=10pt]{xmpp.pdf} \slshape \leftmark}
\fancyfoot[C,C]{\thepage}
DIV=10
Legal
fancy
page1
Copyright
Permissions
Warranty
Liability
Conformance
\linewidth
lXX
& \\
\hline
\hline
*http*
#*
\\
caption=