General ⇒ latexdiff - how ignore \newcommand regions?
latexdiff - how ignore \newcommand regions?
I've been tinkering with 'latexdiff' - I have it working, but I'm comparing two large files with lots of subfiles in folders, but need to exclude specific regions, as it prevents latex generation:
Are there any simple examples of how to ignore a `newcommand' I specify in a macro? For example, I have the macro '\myfigure' with four args {}{}{}{} - is there any way of making it ignore new and old changes that included this command and its args?
\newcommand{\myfigure}[4]{
\begin{figure*} % [h] % [htbp]
\centering
\includegraphics[width=#4\textwidth]{#1}
\caption[#2]{\textbf{#2} - #3}
\label{fig:#1}
\end{figure*}
}
Thanx,
Ben
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis