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
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p