Skip to content

Instantly share code, notes, and snippets.

@ahankinson
Created May 22, 2011 05:21
Show Gist options
  • Save ahankinson/985201 to your computer and use it in GitHub Desktop.
Save ahankinson/985201 to your computer and use it in GitHub Desktop.
A small convenience script for running mei modifications
export MEI_LOCATION="~/Documents/code/svn/mei/tags/MEI_release_2011-05/schemata/mei-2011-05-source.xml"
export TEI_STYLESHEETS="/usr/local/share/xml/tei/stylesheet"
===== /usr/local/bin/mei =====
#!/usr/bin/env sh
/usr/local/bin/roma --localsource=$MEI_LOCATION --xsl=$TEI_STYLESHEETS $*
==============================
Usage:
mei modification-file.xml --options
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment