<div dir="ltr"><div dir="ltr">On Tue, Nov 16, 2021 at 4:31 AM Jonathan Wakely via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><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:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Also, I'm curious, 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>\definecolor{addclr}{rgb}{0,.6,.6}<br>\definecolor{remclr}{rgb}{1,0,0}<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></div></blockquote><div><br></div><div>Or, if you use Bikeshed, it's just the HTML tags <ins> and <del>. For example:</div><div><a href="https://github.com/Quuxplusone/draft/blob/29d1609da4182504dec7ada25b0700246bb7d86a/Makefile#L12">https://github.com/Quuxplusone/draft/blob/29d1609da4182504dec7ada25b0700246bb7d86a/Makefile#L12</a><br></div><div><a href="https://github.com/Quuxplusone/draft/blob/29d1609da4182504dec7ada25b0700246bb7d86a/d2266-implicit-move-rvalue-ref.bs#L529-L552">https://github.com/Quuxplusone/draft/blob/29d1609da4182504dec7ada25b0700246bb7d86a/d2266-implicit-move-rvalue-ref.bs#L529-L552</a><br></div><div>produces</div><div><a href="https://quuxplusone.github.io/draft/d2266-implicit-move-rvalue-ref.html#wording">https://quuxplusone.github.io/draft/d2266-implicit-move-rvalue-ref.html#wording</a><br></div><div><br></div><div>Even with Bikeshed, copy-pasting the standard text and marking up the diff is still a manual process; but it <i>looks</i> pretty nice IMO, at both the source level and the finished-product level.</div><div><br></div><div>HTH,</div><div>Arthur</div></div></div>