fix equation file/link handling #1

merged 4 commits into from Sep 12, 2011
Commits on Sep 10, 2011
  1. fix handling of equation output

    traviscj committed Sep 10, 2011
    by default, jemdoc ignores -o flag for equation output. adding the
    specified directory to eqdir results in broken image links. This patch
    fixes this by passing around two eqdirs: one for the link, and one for
    the files jemdoc creates.
    One could also implement this with a controlstruct.basedir = (what user
    specified), but I don't see a reason to prefer one over the other.