On Monday, January 28, 2013 1:59:47 PM UTC-6, Paul wrote:
> I issued the following in gvim compiled for Windows:
>
>
>
> colorscheme default
>
> TOhtml
>
>
>
> The default color scheme is black text on white background. However,
>
> the resulting HTML shows white text on black background, which will
>
> empty out the printer toner very quickly.
I do not see this, on my Windows XP 64-bit machine, running 7.3.762 gvim
gvim -N -u NONE -i NONE -U NONE
:runtime plugin/tohtml.vim
(...enter some text...)
:colorscheme default
:TOhtml
For me, this gives black text on a white background.
> However, the closed folds
>
> and the text showing in the closed folds are the right color. Has
>
> anyone else experienced this on Windows 7 (64-bit)?
>
>
>
> Interestingly enough, gvim compiled for Cygwin and its X11 renders to
>
> HTML using the proper colours. I provide the version info for both
>
> Windows & Cygwin/X11 versions below.
>
>
>
>
>
> Windows version:
>
> VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Oct 27 2010 17:59:02)
>
> ------------------------------------------------------------------
>
> MS-Windows 32-bit GUI version with OLE support
>
> Included patches: 1-46
>
> [Snip]
> ==================================================================
>
>
>
>
>
> Cygwin/X11 version:
>
> VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Aug 31 2012 02:25:38)
>
> ------------------------------------------------------------------
>
> Included patches: 1-646
>
> [Snip]
> ==================================================================
It looks like your cygwin Vim is much more recent, and your TOhtml plugin is therefore probably also much more recent.
Can you try installing a more recent native Vim to see what happens? If this does not work or is not an option, can you post a file as example output of the script?
There are multiple ways to get an up-to-date Vim on Windows, my preferred method being the 32-bit "Vim without Cream" installer from the Cream project. See http://vim.wikia.com/wiki/Where_to_download_Vim or http://sourceforge.net/projects/cream/files/
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group, send email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment