Package: latexdiff Version: 1.3.2-1 Severity: normal Tags: upstream X-Debbugs-Cc: tilm...@gfz-potsdam.de, debbug.latexd...@sideload.33mail.com
An old version has text like this: \raisebox{-4\baselineskip}{\begin{minipage}…\end{minipage}} A new version has instead: \raisebox{-5\baselineskip}{\begin{minipage}…\end{minipage}} This results in diff output that latexpdf chokes on. Sample input files are attached. -- System Information: Debian Release: 12.5 APT prefers stable-updates APT policy: (990, 'stable-updates'), (990, 'stable-security'), (990, 'stable'), (500, 'oldstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.10.0-28-amd64 (SMP w/2 CPU threads) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages latexdiff depends on: ii perl 5.36.0-7+deb12u1 Versions of packages latexdiff recommends: ii texlive-latex-base 2022.20230122-3 ii texlive-latex-extra 2022.20230122-4 ii texlive-latex-recommended 2022.20230122-3 ii texlive-plain-generic 2022.20230122-4 Versions of packages latexdiff suggests: ii git 1:2.39.2-1.1 -- no debconf information
\documentclass{minimal} \usepackage[UKenglish,dutch]{babel} \begin{document} This sample document demonstrates a latexdiff defect whereby a slight change to a length passed to raisebox results in an uncompilable diff.\\ \noindent\begin{minipage}[b]{0.32\textwidth}\selectlanguage{dutch} blurb of Dutch text here.% \end{minipage}\hfill% \raisebox{-4\baselineskip}{% \begin{minipage}[b]{0.36\textwidth} \rule{\textwidth}{\textwidth}% \end{minipage}}\hfill% \noindent\begin{minipage}[b]{0.28\textwidth}\selectlanguage{UKenglish} blurb of English text here.% \end{minipage}% \end{document}
\documentclass{minimal} \usepackage[UKenglish,dutch]{babel} \begin{document} This sample document demonstrates a latexdiff defect whereby a slight change to a length passed to raisebox results in an uncompilable diff.\\ \noindent\begin{minipage}[b]{0.32\textwidth}\selectlanguage{dutch} altered blurb of Dutch text here.% \end{minipage}\hfill% \raisebox{-5\baselineskip}{% \begin{minipage}[b]{0.36\textwidth} \rule{\textwidth}{\textwidth}% \end{minipage}}\hfill% \noindent\begin{minipage}[b]{0.28\textwidth}\selectlanguage{UKenglish} altered blurb of English text here.% \end{minipage}% \end{document}