linux/Documentation/sphinx
Akira Yokosawa 93292980f3 docs: kerneldoc-preamble.sty: Suppress extra spaces in CJK literal blocks
In zh_CN part of translations.pdf, there are several ASCII-art
diagrams whose vertical lines look sometimes jagged.
This is due to the interference between default settings of xeCJK
and fancyvrb (employed in sphinxVerbatim env), where extra space
is inserted between a latin char and a non-latin char when they
are next to each other (i.e., no explicit white space).

This issue can be suppressed by invoking \CJKsetecglue{} at the
beginning of every sphinxVerbatim enviornment.

\AtBeginEnvironment, provided by the etoolbox package, is useful in
this case.

Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20240905050941.31439-1-akiyks@gmail.com
2024-09-05 14:16:41 -06:00
..
templates
automarkup.py
cdomain.py
kernel_abi.py
kernel_feat.py docs: kernel_feat.py: fix build error for missing files 2024-02-21 13:44:21 -07:00
kernel_include.py docs: kernel_include.py: Cope with docutils 0.21 2024-05-02 09:50:59 -06:00
kerneldoc-preamble.sty docs: kerneldoc-preamble.sty: Suppress extra spaces in CJK literal blocks 2024-09-05 14:16:41 -06:00
kerneldoc.py
kernellog.py
kfigure.py
load_config.py
maintainers_include.py
parallel-wrapper.sh
parse-headers.pl
requirements.txt docs: drop the version constraints for sphinx and dependencies 2024-03-03 08:17:20 -07:00
rstFlatTable.py
translations.py