Skip to content

Release 1.2.1

Compare
Choose a tag to compare
@ftilmann ftilmann released this 22 Jun 18:41
· 200 commits to master since this release

Usability Enhancements

  • add "DeclareOldFontCommand" to styles using \bf or \sf old style font commands (fixes issue #92 )
  • minimal feature enhancement: treat '@' as allowed character in commands (strictly speaking requires prior \makeatletter statement, but always assuming @ to be a letter if it is part of a command name will usually lead to the correct behaviour (see http://tex.stackexchange.com/questions/346651/latexdiff-and-let)
  • new option --add-to-config used to amend configuration variables, which are regex pattern lists
  • introduce an invisible space (\hspace{0pt} after \mbox{..} auxiliary commands (not in math mode), to allow line breaks between added and deleted citations (change should not cause adverse behaviour otherwise)

Several improvements related to verbatim and to listings package

  • improved markup: process lstinline commands in listings package correctly
    for styles using colour, \verb and \lstinline arguments are marked up with colour (blue for added, red for deleted)
  • treat lstlisting and comment as equivalent to verbatim environment
  • make environments that are treated like verbatim environments configurable (config variable VERBATIMENV)
  • treat lstinlne as equivalent to verb command (partially addresses issue #38)

Bug fixes:

  • bug fix: protecting inline math expressions for mbox did not work as intended (see stack exchange question: http://tex.stackexchange.com/questions/359412/compiling-the-latexdiff-when-adding-a-subscript-before-a-pmatrix-environment-cau)
  • bug fix: when deleted \item commands are followed immediately by unsafe commands, they were not restored properly
    (thanks to J. Protze for pull request) (pull request #89)
  • bug fix: deleted figures when endfloat package is activated
  • bug fix: alignat environment now always processed correctly (fix issues #65)
  • bug fix: avoid processing of commands as potential files in routine init_regex_arr (fix issue #70 )
  • bug fix: --flatten option \endinput in included files now respected but only if \endinput stands right at the beginning of the line (issue #77)
  • bug fix: flatten no longer processes commented out \include commands (from discussion in issue #77 )

latexdiff-vc
Usability enhancement:

  • wrap passed-through options to latexdiff in quotation marks (fix github issue #58 )
  • program names for latexdiff, latex, dvips, bibtex configurable (fixes issue #40)
    Bug fixes:
  • bug fix: --hg option was not recognised (partially fixes github issue #93 )