Toxic Elephant

Updated synttree Package

Posted by matijs Sat, 11 Jun 2005 15:45:00 GMT

It's been available on CTAN for a while now, so it's about time I made a formal announcement: I have updated my LaTeX package for typesetting syntactic trees. In this new version, the allowed number of branches has been increased from three to unlimited (Yay!).

To make this update, I had to refactor the code that was dedicated to zero, one, two and three branches into a more generic version. I must say, I've always enjoyed modifying code to make it more manageable, but refactoring becomes very satisfying once you have a good test suite to test that it keeps doing the same thing, and a version control system to keep your known good versions. (This is no new insight, of course; it's right there in the book). This is a highly recommended technique!

Posted in  | no comments | no trackbacks

No comments

No trackbacks

Comments are disabled

Toxic Elephant is Matijs van Zuijlen's weblog.

Powered

Categories

Archives