Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 49421

Summary: vim2html-1.40.ebuild (new package)
Product: Gentoo Linux Reporter: Tom Martin (RETIRED) <slarti>
Component: New packagesAssignee: Ciaran McCreesh <ciaran.mccreesh>
Status: RESOLVED WONTFIX    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
URL: http://norlug.org/~chipster/vim2html
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: vim2html-1.40.ebuild

Description Tom Martin (RETIRED) gentoo-dev 2004-04-29 14:05:25 UTC
Hi,

New ebuild for vim2html, a program to generate pretty colorised HTML output using .vim syntax files and also, optionally, using htmltidy. I've included htmltidy as a dep, because certain parameters to the script need it.

From the authors page, "vim2html is a small shell program that will export any Vim-editable file into well-formed HTML - simulating a Vim session. Fully supports Vim colorization (customizable) and Syntax Highlighting. This program provides an excellent method of presenting your programs/HTML/scripts/etc. on the web."

I reckon app-text is best for this because it's not actually a vim plugin.

Thanks very much,
Tom
Comment 1 Tom Martin (RETIRED) gentoo-dev 2004-04-29 14:05:58 UTC
Created attachment 30345 [details, diff]
vim2html-1.40.ebuild
Comment 2 Ciaran McCreesh 2004-05-12 05:19:02 UTC
Is there any advantage to this over the :TOhtml supplied with Vim?
Comment 3 Tom Martin (RETIRED) gentoo-dev 2004-05-13 10:03:29 UTC
- It can use htmltidy for cleaning HTML output (however I suppose what's generated by :TOhtml is hardly bad HTML)

- It doesn't require a GUI

- Err.. I never knew :TOhtml existed ;)
Comment 4 Ciaran McCreesh 2004-05-13 10:19:48 UTC
Well, you can do `vim -c ':TOhtml' -c ':wqa' blah.c ` to avoid having to fire up the editor properly, and then run Tidy on the generated file...

I'm inclined to close this bug as WONTFIX, on the grounds that there's an existing solution which is pretty much the same, and that adding unnecessary packages to portage is discouraged. Feel free to try to persuade me otherwise if you think there's a considerable advantage to this package over a three line shell script.
Comment 5 Tom Martin (RETIRED) gentoo-dev 2004-05-13 12:19:05 UTC
Not at all, that sounds perfectly reasonable. I didn't actually have any idea about :TOhtml in the first place, so at least I've learnt something :)
Comment 6 Tom Martin (RETIRED) gentoo-dev 2004-05-13 12:20:33 UTC
Resolved.