by Neil Mitchell
A tool for performing common actions run by Neil. Many of these commands enhance specific aspects of my workflow. While other people are welcome to use this tool, it is not officially supported.
All these commands can either be run from a darcs repo, or from a directory containing darcs repos below it.
Says if there are patches to pull, patches to push, or local changes.
Standard darcs pull.
Standard darcs push.
Standard darcs send, but to a tarball if there are multiple repos around.
cabal sdist, plus some checks for well-formedness.
All these tools are designed to work with darcs repo's of lhs2tex documents. Each command is documented separately. To use the tool, place the paper program in your $PATH variable.
All commands can be given either a list of .tex files, or a directory containing .tex files. If no files or directories are specified the command defaults to the current directory.
Commands that take numeric parameters can be given them in the form -n, -n.. or -n..m, with the usual Haskell meanings.
Uses darcs to push files to an SSH repo, as described in this blog post. No parameters.
Create the directory obj/talk containing spoken versions of the files, divided up into section chunks. This command requires ptts to do the text-to-speech conversion. If lame is available, the resulting files will be compressed into MP3 format. Accepts numeric ranges.
Check that all references match up. All undefined label commands and multiply defined ref commands are flagged. No parameters.
Check that no \todo commands appear. No parameters.
Perform all the automated checks available. Currently ref and todo.