git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git-latexdiff: Git and Latexdiff working together

From
THTim Haga <timhaga@ebene6.org>
Date
Feb 14, 2012, 20:19 UTC
Message-ID
<20120214211917.53ef9df6@sirion>
In-Reply-To
<vpq7gzph7mi.fsf@bauges.imag.fr>
Hi,

your tool seems very useful for LaTeX users, especially in scientific work. I could not test it in detail until now, but i had two or three runs with an article draft and it seems to work.

Long story short, i would appreciate it if your tool would be integrated in git.

T.

Am Tue, 14 Feb 2012 14:22:45 +0100 schrieb Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>:

Show 22 quoted lines
> Hi,
> 
> You may know latexdiff, a neat tool to visualize differences between
> LaTeX files (it annotates your .tex file with colors for removed/added
> parts, producing another compilable .tex file).
> 
> I wrote a little shell-script that allows one to use latexdiff on files
> versionned by Git, with e.g.
> 
>   git latexdiff HEAD^ --main foo.tex --output foo.pdf
> 
> Essentially, it does a checkout of the old and new revisions, and calls
> latexdiff + pdflatex for you.
> 
> The result is attached in case anyone is interested.
> 
> It may be relevant to add this to contrib/ in git.git. If anyone's
> interested, let me know, and I'll resend the code in the form of a
> patch doing that.
> 
> Regards,
> 
Previous: Matthieu MoyNext: Jeff King
Message 2 of 5 in “git-latexdiff: Git and Latexdiff working together”
  1. Matthieu MoyFeb 14, 2012
  2. Tim HagaFeb 14, 2012
  3. Jeff KingFeb 14, 2012
  4. Matthieu MoyFeb 14, 2012
  5. Jeff KingFeb 14, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.