Bug#726313: latexdiff: Unmatched math environment in generated diff file.

Frederik Tilmann tilmann at gfz-potsdam.de
Fri Oct 18 13:31:27 UTC 2013


Thanks for the bug report.

There is an easy workaround by using --math-markup=2 (coarse) mode 
instead.  If you read about this option in the help function you will 
find that the coarse mode is recommended for your case (order of 
equations still changing, in your case 2 and 3).

Making this work in 'fine' markup mode is fairly tricky, unfortunately.

Regards
Frederik


On 14/10/13 15:32, r.ductor wrote:
> Package: latexdiff
> Version: 1.0.2-1
> Severity: important
>
> Thanks for this useful package.
>
> The output of
> latexdiff --type=CCHANGEBAR --subtype=COLOR --math-markup=3 a2-old.tex a2-new.tex >a2-diff.tex; latex a2-diff.tex
> gives
> .....
> ! LaTeX Error: \begin{align*} on input line 56 ended by \end{equation}.
>
> See the LaTeX manual or LaTeX Companion for explanation.
> Type  H <return>  for immediate help.
>   ...
>
> l.58 ...gma}\DIFdelend \DIFaddbegin \end{equation}
> ......
>
> see simplified samples attached.
>
>
> -- System Information:
> Debian Release: jessie/sid
>    APT prefers testing
>    APT policy: (900, 'testing')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 3.10-2-amd64 (SMP w/8 CPU cores)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
>
> Versions of packages latexdiff depends on:
> ii  perl  5.18.1-3
>
> Versions of packages latexdiff recommends:
> ii  texlive-latex-base   2012.20120611-5
> ii  texlive-latex-extra  2012.20120611-2
>
> Versions of packages latexdiff suggests:
> ii  cvs         2:1.12.13+real-11
> ii  subversion  1.7.9-1+nmu4
>
> -- no debconf information
>

-- 

Frederik Tilmann
Helmholtz-Zentrum Potsdam               alt.:
Deutsches GeoForschungsZentrum          Freie Universität Berlin
Sektion 2.4, Seismologie                Fachrichtung Geophysik
Telegrafenberg 1                        Malteserstr. 74 - 100
14473 Potsdam                           12249 Berlin
Germany

Building A3                             Room D 105
Tel.:    +49 331-288 1240               Tel.: +49 30 838-70587
Fax:    +49 331-288 1277
E-mail:    tilmann at gfz-potsdam.de



More information about the pkg-perl-maintainers mailing list