From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Mc5tE-0008Cu-EW for garchives@archives.gentoo.org; Fri, 14 Aug 2009 23:08:52 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8A592E0396; Fri, 14 Aug 2009 23:08:50 +0000 (UTC) Received: from crowfix.com (crowfix.com [216.240.38.154]) by pigeon.gentoo.org (Postfix) with ESMTP id 0905FE0396 for ; Fri, 14 Aug 2009 23:08:48 +0000 (UTC) Received: (qmail 8814 invoked by uid 1000); 14 Aug 2009 23:08:40 -0000 Date: Fri, 14 Aug 2009 16:08:40 -0700 From: felix@crowfix.com To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] print side-by-side diff w/ highlighting? Message-ID: <20090814230840.GA8402@crowfix.com> References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Archives-Salt: e65740ff-0e1e-4f0f-8af0-c58a0bc41d98 X-Archives-Hash: 72f42ddde3c389918d8bc0dffd7423b1 On Fri, Aug 14, 2009 at 05:56:03PM +0000, Grant Edwards wrote: > I'm trying to find some sort of side-by-side diff that will > highlight the differences and produce pritable output (e.g. > html or postscript). > > I've found tools to "colorize" diff output, but not for > side-by-side. I've found tools to display side-by-side > differences with hightlights, but they can't print. > > How do I print side-by-side diff with changes hightlighted > (e.g. bold or colored)? Emacs has ediff-files and ediff-buffers commands which colorize the individual changes within each line, altho they seem to be word based rather than character, such that if only a single character is different, it will highlight the entire word containing that character. I do not know how to print from it, however; it is interactive. There may be some obscure command, but since I haven't had or used a functioning printer in years, I don't know. -- ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._. Felix Finch: scarecrow repairman & rocket surgeon / felix@crowfix.com GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933 I've found a solution to Fermat's Last Theorem but I see I've run out of room o