← Back to team overview

pkg-perl-maintainers team mailing list archive

[Bug 1361269] [NEW] latexdiff-fast hangs on \DeclareMathOperator

 

Public bug reported:

latexdiff-fast hangs when the new file includes the command
\DeclareMathOperator .  I have included a minimum working example that
exhibits the problem below and attached a patch to fix it.  I'm not sure
if this is the right place to report it or if somewhere upstream would
be better, but I am using Ubuntu 14.04 (and have found this same issue
in previous versions of Ubuntu) with latexdiff package version 1.0.2-1.

With the following two input files, the current verison of latexdiff hangs when running this command:
latexdiff-fast --verbose oldVer.tex newVer.tex > diff2.tex

%%%% oldVer.tex

\documentclass{article}

\begin{document}
\end{document}

%%% end oldVer.tex


%%% newVer.tex

\documentclass{article}

\DeclareMathOperator{\sign}{sign}

\begin{document}
\end{document}

%%% end newVer.tex


After patching latexdiff-fast with the attached patch, that same command runs and returns quickly.

** Affects: latexdiff (Ubuntu)
     Importance: Undecided
         Status: New

** Patch added: "Patch to fix bug"
   https://bugs.launchpad.net/bugs/1361269/+attachment/4186732/+files/latexdiff-fast.diff

-- 
You received this bug notification because you are a member of Debian
Perl Group, which is subscribed to latexdiff in Ubuntu.
https://bugs.launchpad.net/bugs/1361269

Title:
  latexdiff-fast hangs on \DeclareMathOperator

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/latexdiff/+bug/1361269/+subscriptions


Follow ups

References