[cfe-dev] ISO C3X proposal: nonnull qualifier

Jonathan Wakely via cfe-dev cfe-dev at lists.llvm.org
Tue Nov 16 01:30:59 PST 2021


On Mon, 15 Nov 2021, 21:15 Alejandro Colomar (man-pages) <gcc at gcc.gnu.org>
wrote:

> My intention is that the final PDF to be sent to the committee
> will have those diffs.
> But I have no clue of how to do that kind of things,
> so for an initial draft to discuss on,
> before even presenting it to the committee,
> I think my "native" language for writing technical documents
> will be easier.
>
> Also,
> I'm curious,
> do you do those diffs usually by hand?
>

Yes. Just highlight text in red and green, with strike through or
underlining.

If you write the paper in LaTeX you can use macros like:

\definecolor{addclr}{rgb}{0,.6,.6}
\definecolor{remclr}{rgb}{1,0,0}

\renewcommand{\added}[1]{\textcolor{addclr}{\uline{#1}}}
\newcommand{\removed}[1]{\textcolor{remclr}{\sout{#1}}}
\renewcommand{\changed}[2]{\removed{#1}\added{#2}}



I mean, you can't diff(1) a PDF, can you? :)
>

Aside: see diffpdf, which is packaged by some distros.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20211116/8b925189/attachment-0001.html>


More information about the cfe-dev mailing list