[OS X TeX] Re: Automator with latexdiff?
Jung-Tsung Shen
jushen at gmail.com
Mon Sep 12 13:22:03 EDT 2005
Here I find it for you ...
================
REQUIREMENTS
Perl 5.6 or higher must be installed (5.8 if different encodings are used).
The latexdiff script makes use of the Perl package Algorithm::Diff (available
from www.cpan.org, current version 1.19). You can either install this
package, or
use the standalone version of latexdiff, latexdiff-so, which has
version 1.15 of
this package inlined and does not require external installation of
the package. Because latexdiff uses internal functions of Algorithm:Diff whose
calling format or availability can change without notice, the
preferred method is
now to use the standalone version.
For those with very dated perl installations, the stand-alone obsolete
version 0.1 of latexdiff is provided as latexdiff-0.1. It is possible
that in some very special cases latexdiff-0.2 yields better results
than the current version, so in order to assure reproducability I provide
this version, too, as latexdiff-0.2. However, these obsolete versions
should be
avoided if possible, and are no longer supported.
INSTALLATION UNIX/LINUX
The basic installation procedure is almost trivial:
1. Copy latexdiff and latexrevise into a directory which is in the
search path and make them executable. If the Algorithm::Diff
package is not installed, use latexdiff-so instead of latexdiff.
2. Copy latexdiff.1 and latexrevise.1 into the correct man directory
The attached Makefile contains example commands to carry out above
steps as root for a typical UNIX installation. Type
make install (for the stand alone version)
or
make install-ext (for the version using the external Algorithm::Diff)
to get it rolling. You can type
make test
or
make test-ext
to test both versions on a brief example before installation
On 9/12/05, Daniel Becker <daniel.becker at uni-rostock.de> wrote:
> Hallo,
>
> Am 12.09.2005 um 13:33 schrieb Jung-Tsung Shen:
>
> > This script, when saved as compiled application with no Start up
> > screen, will be invoked by double clicks. You will be asked asks to
> > choose the source file, the modified file (i.e., 2 files), and the
> > folder in which you want the comparison result to be saved. The
> > default name is diff.tex. It then is passed to TeXShop and opens by
> > TeXShop.
> >
> > Prerequisite: You need to have latexdiff installed.
>
> sorry for asking such a question, but what do I need to do to install
> latexdiff? I downloaded from ctan a folder "latexdiff" with many
> things inside but simply copying that one into /usr/local/bin/ didn't
> work.
>
> Thanks for that script, it might help me a lot!
>
> daniel
>
> --------------------- Info ---------------------
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
> & FAQ: http://latex.yauh.de/faq/
> TeX FAQ: http://www.tex.ac.uk/faq
> List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
>
>
>
--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
More information about the MacOSX-TeX
mailing list