On Monday, March 12, 2012 9:38:01 AM UTC-5, Günther Grantig wrote:
> On 03/12/2012 05:28 AM, Gary Johnson wrote:
> >
> > Use the -E and -s options, e.g.,
> >
> >      vim -E -s -n $1 -cTOhtml -c"w! $2" -cq! -cq!
> >
> > See
> >
> >      :help -E
> >      :help -s
> >
> > Regards,
> > Gary
> >
> 
> I came across those options, but it didn't work. Now you mentioned it 
> should, I tried using them again. It turned out that -E isn't happy with 
> -cTOhtml 

As the maintainer of TOhtml, I'm interested why -E "isn't happy with -cTOhtml". 
If I can reproduce your problem in the latest version I'll fix it soon, this is 
supposed to work.

For me on my Windows XP system, the following appears to work:

gvim -E temp\test.vim -c TOhtml

At least, it runs the conversion, and raises no errors. I didn't check the 
output since I don't know what to look for.

What version of Vim and TOhtml do you have? You can check the TOhtml version 
either by viewing the plugin/tohtml.vim file, or by looking at the value of the 
g:loaded_2html_plugin variable.

-- 
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

Reply via email to