diff --git a/xep2texml.xsl b/xep2texml.xsl new file mode 100755 index 00000000..3e540978 --- /dev/null +++ b/xep2texml.xsl @@ -0,0 +1,395 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +%!TEX TS-program = xelatex +%!TEX encoding = UTF-8 Unicode +\documentclass[a4paper]{scrartcl} + +\usepackage[ +pdftitle={XEP-: }, +pdfauthor={XMPP Standards Foundation}]{hyperref} +\usepackage{color} +\usepackage{graphicx} +\usepackage{fancyhdr} +\usepackage{tabularx} +\usepackage{listings} + +\usepackage[breaklinks = true, unicode, pagebackref, xetex]{hyperref} + +\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[Mapping=tex-text, Ligatures={Common}]{Hoefler Text} +\setsansfont[Scale=MatchLowercase,Mapping=tex-text]{Gill Sans} +\setmonofont[Scale=MatchLowercase]{Monaco} + +\setkomafont{descriptionlabel}{\normalfont\bfseries} + +\usepackage[english]{babel} + +\pagestyle{fancy} +\fancyfoot{} +\fancyhead{} +%% page numbering + +\newcommand{\XEPNumber}[0]{} +\newcommand{\XEPVersion}[0]{} + +\fancyhead[LE,RO]{\slshape \rightmark} +\fancyhead[LO,RE]{\includegraphics[totalheight=10pt]{logo.pdf} \slshape \leftmark} +\fancyfoot[CO,CE]{\thepage} + +\pretitle{ +\begin{figure*}[h] +\begin{center} +\includegraphics[totalheight=7.5cm]{XMPP_Logo.pdf} +\end{center} +\end{figure*} +\begin{center}\LARGE +} + +%\titlecontents{section}[0.7cm] +%{\vspace{0.3cm}} +%{\bfseries\Large\contentslabel{0.7cm}} +%{\bfseries\Large\hspace{-0.7cm}} +%{\bfseries\Large\hfill\contentspage} +% +%\titlecontents{subsection}[2cm] +%{} +%{\contentslabel{1.3cm}} +%{} +%{\titlerule*[1mm]{.}\contentspage} +% +%\titlecontents{subsubsection}[2.3cm] +%{} +%{\contentslabel{1.3cm}} +%{} +%{} + +\sloppy + + + + XEP-: + + + + \\ + mailto: \\ + xmpp: \\ + \and + + + + + \\ Version + + + + + + language=XML, basicstyle=\small, frame=single, breaklines=true, emptylines=5 + + + + empty + + empty + + ccc + + Status & Type & Short Name \\ + & & + + + + + + + + Legal + + + + + fancy + page1 + + + + + + + + Copyright + + + + + Permissions + + + + + Warranty + + + + + Liability + + + + + Conformance + + + + + + + + + + + + + + lXX + + & \\ + + \hline + \hline + + + + + + + + + + + + + + + + + + *http* + + + + + + #* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \\ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + caption= + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file