Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

rjbs (4671)

rjbs
  (email not shown publicly)
http://rjbs.manxome.org/
AOL IM: RicardoJBSignes (Add Buddy, Send Message)
Yahoo! ID: RicardoSignes (Add User, Send Message)

I'm a Perl coder living in Bethlehem, PA and working Philadelphia. I'm a philosopher and theologan by training, but I was shocked to learn upon my graduation that these skills don't have many associated careers. Now I write code.

Journal of rjbs (4671)

Friday September 07, 2007
10:23 PM

continued vim syntax to rtf conversions

[ #34380 ]

I've implemented a very, very crude Vim colorscheme parser. It's a terrible implementation, but it probably works against most color schemes. Most importantly, it works against mine. Patches welcome.

With this, you can now hardcode the path do your preferred colorscheme file and have it use your preferred colors, more or less. The biggest practical problem is that Text::VimColor, as far as I can tell, will only ever return the generic universal Vim highlight groups. You can't pick up things like special highlighting for, say, htmlItalic. That's probably just fine.

http://rjbs.manxome.org/hacks/perl/#synrtf

I'm dreading the work to make this deal with Keynote directly... but maybe it will end up being a cake walk!

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.