A few weeks ago, I was modifying my clone of Enki (my blogging platform) to use Ultraviolet instead of CodeRay, as it supports using both TextMate themes and syntaxes. This means I can extend it fairly limitlessly and use TextMate itself to modify the themes an syntaxes.
However, Ultraviolet doesn’t come with the best tools to turn the TextMate syntax and theme files into files Ultraviolet can use, and the ones that it does provide puts those translated files INTO the gem on your system. This means that you can’t easily deploy or share them.
So, to remedy this I made a small gem Ultraviolet
Tools that provides two
command line tools:
They aren’t very complicated, nor very documented, but they are straight-forward to use:
Install Ultraviolet Tools with
sudo gem install bjeanes-ultraviolet-tools -s http://gems.github.com.
uv-create_syntax path/to/syntax.plist or
Using the resulting files
Use my fork of ultraviolet as it has an option to change the load path for themes and syntaxes so that you can load them out of your application files.