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

r.ductor r.ductor at gmail.com
Mon Oct 14 13:32:01 UTC 2013


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: a2-old.tex
Type: text/x-tex
Size: 581 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20131014/c9f590f3/attachment.tex>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: a2-new.tex
Type: text/x-tex
Size: 448 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20131014/c9f590f3/attachment-0001.tex>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: a2-diff.tex
Type: text/x-tex
Size: 2623 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20131014/c9f590f3/attachment-0002.tex>


More information about the pkg-perl-maintainers mailing list