Analytic Martial Arts

Monday, July 30, 2012

Updated Typesetting Scripts

Found a couple of bugs, fixt:

  • DocumentParser.pm: Expat was carping about unknown entities and automatically trying to expand them, behavior which has mostly been disabled. There doesn't seem to be any way to turn it off completely, so in some cases you may need to use the following workaround: encode entities as "&amp;<entity name/code>;", at which point Expat will expand the ampersand, leaving "&<entity name/code>;" in the resulting HTML markup. As a byproduct of the work to fix the entity problem it's no longer necessary to include the top level "<doc>...</doc>" tags.
  • HTMLFormatter.pm: Fixed two-column layout.
  • NotationParser.pm: The regexp for literals is now appropriately robust.

No comments: