Re: SLRTR 000000: ZWJ in Sphinx

Mark Bourne <[email protected]>
Newsgroups comp.lang.python
Organization A noiseless patient Spider
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.