Regular readers will “know”:https://crookedtimber.org/2005/04/27/fetishizing-the-text/ that my list of “indispensable applications”:https://crookedtimber.org/2004/12/11/indispensible-applications/ includes the “Emacs”:http://www.google.com/url?sa=U&start=1&q=http://www.gnu.org/software/emacs/emacs.html&e=9707 text editor, the “TeX/LaTeX”:http://latex.yauh.de/index_en.html typesetting system,and a whole “array”:http://www.google.com/url?sa=U&start=1&q=http://www.gnu.org/software/auctex/&e=9707 of “ancillary”:http://www.google.com/url?sa=U&start=1&q=http://www.astro.uva.nl/~dominik/Tools/reftex/&e=9707 “utilities”:http://www.berger-on.net/jurabib/ that make the two play nice together. The goal is to produce “beautiful”:http://www.google.com/url?sa=U&start=1&q=http://www.tug.org/texshowcase/&e=9707 and “maintainable”:http://ricardo.ecn.wfu.edu/~cottrell/wp.html documents. Also it gives Dan further opportunity to defend “Microsoft Office”:https://crookedtimber.org/2004/12/11/indispensible-applications/#comment-53902. I am happy to admit that a love of getting the text to come out just so can lead to long-run irrationalities. The more complex the underlying document gets, the harder it is to convert it to some other format. And we all know “which format”:http://www.google.com/url?sa=U&start=1&q=http://office.microsoft.com/en-us/default.aspx&e=9707 we mean.
Well, yesterday morning the long run arrived: I finished the revisions to my book manuscript and it was now ready to send to the publisher for copyediting. Except for one thing. The University of Chicago Press is not interested in parsing complex LaTeX files. They are “quite clear”:http://www.press.uchicago.edu/Misc/Chicago/emsguide.html about what they want, and it isn’t unreasonable. I had a horrible vision of spending weeks manually futzing with a book’s worth of formatted text. But thanks largely to the awesome power of “regular expressions”:http://sitescooper.org/tao_regexps.html, or regexps, and the availability of free tools that implement them, the whole thing was pretty painless.
[click to continue…]