Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #197432

Re: SLRTR 000000: ZWJ in Sphinx

From Mark Bourne <nntp.mbourne@spamgourmet.com>
Newsgroups comp.lang.python
Subject Re: SLRTR 000000: ZWJ in Sphinx
Date 2025-05-07 19:44 +0100
Organization A noiseless patient Spider
Message-ID <vvg9mv$16avl$1@dont-email.me> (permalink)
References <SLRTR-000000-20250505123051@ram.dialup.fu-berlin.de>

Show all headers | View raw


Stefan Ram wrote:
> The Use of the U+200D "ZERO WIDTH JOINER" (ZWJ) Character in
> reStructuredText Input for "Sphinx"
> (Technical Report SLRTR 000000)
> 
> (This technical report was prepared by the author during his spare
> time.)
> 
> Stefan Ram
> 2025
> 
> Abstract - The character U+200D "ZERO WIDTH JOINER" (ZWJ) may be
> employed in inputs written in the "reStructuredText" (rst) markup
> notation for the software documentation tool "Sphinx" in order to permit
> the inclusion of special characters within embedded code segments.
> To ensure that Sphinx's automatic line breaking continues to function
> correctly, two minor adjustments to Sphinx are required.

Does using U+2060 "WORD JOINER" instead avoid the need to modify Sphinx?

Just going by the description at <https://unicode-explorer.com/c/2060>, 
which describes it as "a zero width non-breaking space", that seems to 
be what you want.  I'm not sure from the description of U+200D whether 
that one's supposed to allow breaking, but U+2060 sounds like it 
definitely shouldn't allow breaking ;).

-- 
Mark.

Back to comp.lang.python | Previous | Next | Find similar


Thread

Re: SLRTR 000000: ZWJ in Sphinx Mark Bourne <nntp.mbourne@spamgourmet.com> - 2025-05-07 19:44 +0100

csiph-web