On Wed, 07 Feb 2007 00:13:41 +0100 "A.J.Mechelynck" <[EMAIL PROTECTED]> wrote:
> With default settings in gvim 7.0.191 running in console mode > in /dev/tty (i.e., a pure-text console, not an xterm), I get no > errors. The generated example.scm.html (attached) displays OK > (AFAICT) in Firefox 2, in Konqueror 3.4.0 and (but not with all > colours) in Lynx 2.8.5rel.2. All colors are different (in yours, the > background is of a lighter grey and there are no syntax highlights). > > My syntax/2html.vim is dated 2007 Jan 27 and my syntax/scheme.vim is > dated Nov 28, 2004 (in the text, not in the directory listing). > > You have an outdated version of Vim, and maybe you have an outdated > version of 2html.vim too. See > http://ftp.vim.org/pub/vim/runtime/7.0/patches/README for the table > of contents of current patches to Vim 7.0. I suggest that you > uninstall the Ubuntu version of Vim then build your own, see > http://users.skynet.be/antoine.mechelynck/vim/compunix.htm Well, after a lot of playing around (tracking down dependencies in Ubuntu) I finally got everything I needed and built Vim + all patches (resulting in 7.0.192 as of tonight) from source. Still no luck, though; it has exactly the same problems. [As an interesting side note, I fetched and patched it with Aap, but when I tried to build with Aap it would segfault when you tried to get version info out of the resulting binary. Doing the standard `./configure && make && make install` rather than using Aap to build fixed that problem. Also, building with Aap didn't seem to allow using MzScheme (got a pre-processor error about the collects/ directory not being found).] Furthermore, it doesn't seem to be an encoding problem, at least not at the level of the source file. Both UTF-8 and ISO-8859-1 have the same problem. It's probably some sort of environment problem, though, seeing as there are now two confirmed cases of it working (not me). Thanks for the ideas though. It feels good to have a custom-built version of Vim, and now with MzScheme support, too! Still... it would be nice to know why this is not working. -- Taylor Venable [EMAIL PROTECTED] http://www.metasyntax.net/ "Simplicity is prerequisite for reliability." -- Edsger Dijkstra