Re: [PATCH v3 16/16] docs: RCU: replace some characters

From: Akira Yokosawa
Date: Mon May 17 2021 - 06:53:16 EST


On Sun, 16 May 2021 12:18:33 +0200, Mauro Carvalho Chehab wrote:
> The conversion tools used during DocBook/LaTeX/html/Markdown->ReST
> conversion and some cut-and-pasted text contain some characters that
> aren't easily reachable on standard keyboards and/or could cause
> troubles when parsed by the documentation build system.
>
> Replace the occurences of the following characters:
>
> - U+00a0 (' '): NO-BREAK SPACE
> as it can cause lines being truncated on PDF output

These NO-BREAK SPACEs originate from " "s in html docs converted by
commit ccc9971e2147 ("docs: rcu: convert some articles from html to ReST").

I think the patterns found in these files ("~" denotes NO-BREAK SPACE):

CPU~0
Tasks~T1, T2, and~T3
line~n
lines~m and~n
...

are quite appropriate and nice-to-have contextual markers.

Despite the claim above, I don't believe these NO-BREAK SPACEs can cause
any truncation in the PDF output, because they combine short numbers or
symbols with terms such as "CPU", "Task", and "line".

So I'd like you all to keep these NO-BREAK SPACEs.

If there ever emerges such truncations, they can be taken care of
case-by-case bases.

Thanks, Akira

>
> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx>
> ---
> .../Data-Structures/Data-Structures.rst | 46 ++++++------
> .../Expedited-Grace-Periods.rst | 36 +++++-----
> .../Tree-RCU-Memory-Ordering.rst | 2 +-
> .../RCU/Design/Requirements/Requirements.rst | 70 +++++++++----------
> 4 files changed, 77 insertions(+), 77 deletions(-)