s/\\bsysxrlink{\(.*\)}{\(.*\)}{\(.*\)}{\([^}]*\)}/__XRANCHOR_\1_\2_\3_\4__/g;
s/\\vb{}/\|/g;
s/lstlisting/verbatim/g;
s/lstinline/verb/g;
s/\\lstset.*//g;
s/bsysimage.{\(.*\)}{.*}{.*}/includegraphics{\1}/g;
s/\\input{head.*//g;
s/bsysmanual/book/g;
s/bsysitemize/itemize/g;
s/\\listoffigures//g;
s/\\listoftables//g;
s/\\LTXtable{.*}{\(.*\)}/\\include{\1}/g;
s/\\miscman{}/\\mbacula{} Misc Manual/g;
s/\\consoleman{}/\\mbacula{} Console Manual/g;
s/\\mainman{}/\\mbacula{} Main Manual/g;
s/\\devman{}/\\mbacula{} Developers Manual/g;
s/\\utilityman{}/\\mbacula{} Utility programs/g;
s/\\problemsman{}/\\mbacula{} Problem Resolution Guide/g;
s/\\mbacula{}/Bacula Enterprise/g;