yochju / latex-makefile

Automatically exported from code.google.com/p/latex-makefile
Other
0 stars 0 forks source link

add support difflatex-svn #148

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I use latex-makefile in version-controlled directories and frequently produce 
diffed versions of documents (using difflatex), most often against older 
revisions of a document (using difflatex' subversion support: difflatex-svn). 

It would be extremely convenient if the makefile had in-built support for goals 
like 
document.diff-r123.pdf 
to produce a diff-annotated pdf against revision 123 from the repository.

Original issue reported on code.google.com by timobaum...@gmail.com on 14 Jan 2012 at 3:05

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
the command that I use is actually called latexdiff, not difflatex (which also 
exists but doesn't work as well)

Original comment by timobaum...@gmail.com on 14 Jan 2012 at 3:07

GoogleCodeExporter commented 9 years ago
Thanks for the report.  I've been slow to respond because of my day job.  :-)

Unfortunately, I still have a day job, so I'll still be somewhat slow getting 
to this.

While we're waiting for me to get around to it, though, could you give some 
more detail about the steps that you take to do diffs?   A sequence of commands 
would be useful.  Then we can probably devise something to stick into 
Targets.ini as a temporary workaround and a way of testing our solution.

Original comment by shiblon on 22 Mar 2012 at 6:37

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Sorry for replying so late. Actually, the following in my Targets.ini works 
marvelously:

%-diffPREV.tex : %.tex
        latexdiff-svn -r PREV $<

I don't know whether you'd want this capability directly in the program, if not 
then a wiki page for common extensions to the Makefile would probably be good 
enough.

Original comment by timobaum...@gmail.com on 19 Mar 2013 at 2:34