Revert part of fix for #48 (fixes #186)

In particular, the latexmain file name is always on the form
  <name>.tex.latexmain
and so the lines of code removed in this changeset were never
necessary.  Further, those lines broke the modifier arguments,
cf. #186.