tackled LaTeX parsing problem by adding a preprocessing step; fixed some parts of the search databasing link building
Escaped $ sign; corrected URL; made some more URLs relative