<div dir="ltr"><div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 15 Nov 2021, 21:15 Alejandro Colomar (man-pages) <a href="mailto:gcc@gcc.gnu.org" target="_blank"></a>wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">My intention is that the final PDF to be sent to the committee<br>
will have those diffs.<br>
But I have no clue of how to do that kind of things,<br>
so for an initial draft to discuss on,<br>
before even presenting it to the committee,<br>
I think my "native" language for writing technical documents<br>
will be easier.<br>
<br>
Also,<br>
I'm curious,<br>
do you do those diffs usually by hand?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Yes. Just highlight text in red and green, with strike through or underlining.</div><div dir="auto"><br></div><div>If you write the paper in LaTeX you can use macros like:</div><div><br></div><div>\definecolor{addclr}{rgb}{0,.6,.6}<br>\definecolor{remclr}{rgb}{1,0,0}<br><br>\renewcommand{\added}[1]{\textcolor{addclr}{\uline{#1}}}<br>\newcommand{\removed}[1]{\textcolor{remclr}{\sout{#1}}}<br>\renewcommand{\changed}[2]{\removed{#1}\added{#2}}<br></div><div><br></div><div><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I mean, you can't diff(1) a PDF, can you? :)<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Aside: see diffpdf, which is packaged by some distros.</div><div dir="auto"><br></div><div dir="auto"><br></div><br></div>
</div>