On Wednesday, October 10, 2012 10:51:09 AM UTC-5, Philip Rhoades wrote:
> People,
> 
> 
> 
> I love Vim and VimDiff is perfect for nearly all my diff needs - 
> 
> however I need a script/method now that will produce a PS or PDF file 
> 
> from the vimdiff comparison.  I tried printing to Cups-PDF but of course 
> 
> I just get the individual files printed - not what I am seeing on the 
> 
> screen . . is there a way to print the nice screen stuff?  For some 
> 
> comparisons a screen capture would work but that is clumsy and does not 
> 
> cover the situation when the comparison is more than one screen of 
> 
> stuff.
> 
> 

Recent version of TOhtml will convert a side-by-side diff into HTML as you 
would expect. You can event tell it to use javascript to allow showing/hiding 
context. See :help :TOhtml.

Probably you can then print the resulting HTML file to get your final desired 
result.

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