syntax highlight to html

2010-08-24 Thread Eric Smith
Has anyone written a utility to convert syntax highlighted vim to a printable or displayable format like html, rtf or pdf? I have my own customised highlight rules and want to be lazy and just autogenerate to a format that I can send to someone. Am I in luck? -- - Eric Smith -- You received th

Re: syntax highlight to html

2010-08-24 Thread Tim Chase
On 08/24/10 14:18, Eric Smith wrote: Has anyone written a utility to convert syntax highlighted vim to a printable or displayable format like html, rtf or pdf? If you want HTML, Vim comes with it stock: :help 2html and following for various methods of using Vim's HTML-generation methods.

Re: syntax highlight to html

2010-08-24 Thread sc
On Tuesday 24 August 2010 14:18:18 Eric Smith wrote: > Has anyone written a utility to convert syntax highlighted vim > to a printable or displayable format like html, rtf or pdf? > I have my own customised highlight rules and want to be lazy > and just autogenerate to a format that I can send to

Re: syntax highlight to html - yeah

2010-08-24 Thread Eric Smith
Damn, why do I only hear about this now? Any cool vim twitterers that can let me know when stuff like this and serialisable undo tree (yes I saw that in the changes file of 7,3) become available. :TOhtml - how` cool is that :) -- - Eric Smith sc said: > On Tuesday 24 August 2010 14:18:18 Eric

Re: syntax highlight to html - yeah

2010-08-24 Thread Tim Chase
On 08/24/10 14:49, Eric Smith wrote: Any cool vim twitterers that can let me know when stuff like this and serialisable undo tree (yes I saw that in the changes file of 7,3) become available. :TOhtml - how` cool is that :) I don't know of any twitter feeds on tips like that, but there's a Vim

Re: syntax highlight to html - yeah - poor character rendering

2010-08-24 Thread Eric Smith
However, I am not getting non-ascii rendering in my html - in the terminal even Icelandic is perfectly rendered. I tried setting the var below to my $LANG variable. :let g:html_use_encoding = "en_US.UTF-8" no joy Is there a fix? -- - Eric Smith Eric Smith said: > Damn, why do I only hear abou

Re: syntax highlight to html - yeah - poor character rendering - solved

2010-08-24 Thread Eric Smith
With :let g:html_use_encoding = "utf-8" -- - Eric Smith Eric Smith said: > However, I am not getting non-ascii rendering in my html - in the > terminal even Icelandic is perfectly rendered. > > I tried setting the var below to my $LANG variable. > :let g:html_use_encoding = "en_US.UTF-8" > > n

Re: syntax highlight to html - yeah - poor character rendering - solved

2010-08-25 Thread Ben Fritz
On Aug 24, 4:52 pm, Eric Smith wrote: > > > However, I am not getting non-ascii rendering in my html - in the > > terminal even Icelandic is perfectly rendered. > > > I tried setting the var below to my $LANG variable. > > :let g:html_use_encoding = "en_US.UTF-8" > > > no joy > > > Is there a fi