\makeatletter
\def\input@path{{/home/jon/dev/juxt/mach/examples/pdf//}}
\makeatother
% -----------------------------------------  
% Autogenerated LaTeX file from XML DocBook  
% -----------------------------------------  
%%<params>
%% document.language en
%%</params>
\documentclass{article}
\IfFileExists{ifxetex.sty}{%
    \usepackage{ifxetex}%
  }{%
    \newif\ifxetex
    \xetexfalse
  }
  \ifxetex
\usepackage{fontspec}
\usepackage{xltxtra}
\defaultfontfeatures{Mapping=tex-text}
\setmainfont{Noto Serif}
    \setsansfont{Noto Sans}
    \setmonofont{Droid Sans Mono}
    \else
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\fi
\usepackage{fancybox}
\usepackage{makeidx}
\usepackage[hyperlink]{custom}
\renewcommand{\DBKreleaseinfo}{}
\renewcommand{\DBKrevhistory}{}
\setcounter{tocdepth}{1}
\setcounter{secnumdepth}{5}
\renewcommand{\DBKdate}{2017-{}08-{}30}
\title{Document}
\author{}
\hypersetup{%
pdfcreator={DBLaTeX-0.3.10},%
pdftitle={Document},%
pdfauthor={}}
\renewcommand{\DBKindexation}{}
\makeindex
\makeglossary
\begin{document}
\lstsetup
\frontmatter
\maketitle
\tableofcontents
\mainmatter

\section{Document}
\label{sample}\hyperlabel{sample}%

\subsection{Very Important Document}
\label{_very_important_document}\hyperlabel{_very_important_document}%

\end{document}
