Skip to content

1.3.2

Compare
Choose a tag to compare
@ftilmann ftilmann released this 28 Dec 09:12
· 75 commits to master since this release

Change log 1.3.2

latexdiff

API adaptions:

  • latexdiff now completes with exit code 0 after --help or --version command (see issue #248)

New features / feature extensions

  • extend CUSTOMDIFCMD related postprocessing to deal properly with multiline commands, or a sequence of several commands in the same line (see github issue #204)
  • support for additional macros from import package (\import, \inputfrom, \includefrom, \subimport,\subinputfrom, \subincludefrom). Provided by janniklasrose in PR #243 (fixes #239)
  • replace default driver dvips->pdftex

Bug fixes:

  • fix bug reported in issue #218 by replacing \hspace{0pt} after \mbox{..} auxiliary commands with \hskip0pt (IMPORTANT as old way apparently breaks latexdiff output under default setting with recent versions pdflatex)
  • fix issue #206 affecting proper markup of text commands which are not also safe cmds and have multiple arguments
  • fix issue #210 by adding \eqref (amsmath package) to the list of safe commands
  • fix bug reported in issue #168 mangled verbatim line environment
  • more ways to process \frac correctly with atomic arguments. Provided by julianuu PR #246
  • fix a bug in biblatex mode, which prevented proper processing of modified \textcite (see: https://tex.stackexchange.com/questions/555157/latexdiff-and-biblatex-citation-commands)
  • -h string fix: add -driver option

latexdiff-vc

Bug fixes:

  • when setting config variables with the command lines it is now possible to use quotes to includes spaces in the value, e.g. -c LATEX="pdflatex --shell-escape"
  • as --only-changes is not compatible with graphics markup, --graphics-markup=none is now set automatically when this option is selected
  • when --pdf or --postscript is select, then replace tildes in version names with underscores in output file (e.g. diffHEAD_1 instead of diff HEAD~1. This is necessary because pdflatex strips ~n strings at the end of the filename, when generating output file names

latexrevise

New features

  • Introduce option -r / --replace which removes markup of the form \replaced{new text}{old text} in the changes package
  • Functionality -c option: if comment to be deleted is the last in the line replace new line by space character. This is done to avoid errors or unintended line breaks from empty lines after deletion (which are interpreted as \par)