latexdiff
latexdiff copied to clipboard
Changes in tabbing environment breaks compilation
old.tex
\documentclass{book}
\begin{document}
\begin{tabbing}
\end{tabbing}
\end{document}
new.tex
\documentclass{book}
\begin{document}
\begin{tabbing}
o \= o \= o\\
o \> \> o\\
\end{tabbing}
\end{document}
I could not find out how the & in tabular is handled by latexdiff. I think, the separators in tabbing should be handled similarly. But here, also the linebreaks need to be kept in place.
The tabbing manpage: http://www.ctex.org/documents/latex/latex2e-html/ltx-58.html
I can confirm this issue. As of now my work-around is (after running latexdiff):
- sub
\DIFadd{X\>Y}=>\DIFadd{X}\DIFaddend \>\DIFadd{Y} - sub
\DIFdel{X\>Y}=>\DIFdel{X Y}
It's not nice writing custom scripts to do this, especially if X and Y also contain nested braces {}...