1
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 docs/sphinx: Fix TOC scroll hack for the home page 2024-01-23 14:33:13 -07:00
automarkup.py docs: Raise the minimum Sphinx requirement to 2.4.4 2023-12-15 08:36:33 -07:00
cdomain.py docs: Raise the minimum Sphinx requirement to 2.4.4 2023-12-15 08:36:33 -07:00
kernel_abi.py docs: kernel_abi.py: fix command injection 2024-01-03 13:44:11 -07:00
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 doc: kerneldoc.py: fix indentation 2024-02-21 13:44:21 -07:00
kernellog.py
kfigure.py docs: Raise the minimum Sphinx requirement to 2.4.4 2023-12-15 08:36:33 -07:00
load_config.py docs: Fix the docs build with Sphinx 6.0 2023-01-06 13:04:00 -07:00
maintainers_include.py Documentation/sphinx: fix Python string escapes 2023-09-12 14:27:45 -06:00
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 docs: translations: use attribute to store current language 2024-02-21 13:41:37 -07:00