use another method to compute box sizes

- instead of outputting the boxes in a DVI file,
  output the dimensions in a text file directly from tex.
- removes dependency on dvi-processing
- altogether simpler approach