summaryrefslogtreecommitdiff
path: root/rust/helpers
diff options
context:
space:
mode:
authorAkira Yokosawa <akiyks@gmail.com>2024-09-05 14:09:41 +0900
committerJonathan Corbet <corbet@lwn.net>2024-09-05 14:16:41 -0600
commit93292980f390b9245d8e3ce9b0b6c94ee45be217 (patch)
tree0ddb5f3fb0f92534e1dc5ca37a78d13a8c2dd4a2 /rust/helpers
parentd224338aa105bf3c4c4aa8b2ccdbd675c71ffbfe (diff)
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
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions