Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49421 - vim2html-1.40.ebuild (new package)
Summary: vim2html-1.40.ebuild (new package)
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Ciaran McCreesh
Depends on:
Reported: 2004-04-29 14:05 UTC by Tom Martin (RETIRED)
Modified: 2004-05-13 12:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

vim2html-1.40.ebuild (vim2html-1.40.ebuild,588 bytes, patch)
2004-04-29 14:05 UTC, Tom Martin (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Martin (RETIRED) gentoo-dev 2004-04-29 14:05:25 UTC

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,
Comment 1 Tom Martin (RETIRED) gentoo-dev 2004-04-29 14:05:58 UTC
Created attachment 30345 [details, diff]
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