Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #197432
| Path | csiph.com!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Mark Bourne <nntp.mbourne@spamgourmet.com> |
| Newsgroups | comp.lang.python |
| Subject | Re: SLRTR 000000: ZWJ in Sphinx |
| Date | Wed, 7 May 2025 19:44:45 +0100 |
| Organization | A noiseless patient Spider |
| Lines | 28 |
| Message-ID | <vvg9mv$16avl$1@dont-email.me> (permalink) |
| References | <SLRTR-000000-20250505123051@ram.dialup.fu-berlin.de> |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Wed, 07 May 2025 20:44:48 +0200 (CEST) |
| Injection-Info | dont-email.me; posting-host="ac5234508fcfbb399e601740837213a8"; logging-data="1256437"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+ud/BltmDlOul32Css2+4H" |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 SeaMonkey/2.53.20 |
| Cancel-Lock | sha1:mvYIn9QMUV+YtRp0LAXKZf6d4bM= |
| In-Reply-To | <SLRTR-000000-20250505123051@ram.dialup.fu-berlin.de> |
| Xref | csiph.com comp.lang.python:197432 |
Show key headers only | 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
Re: SLRTR 000000: ZWJ in Sphinx Mark Bourne <nntp.mbourne@spamgourmet.com> - 2025-05-07 19:44 +0100
csiph-web