[docutils:patches] #183 Fix spacing around `code` and `raw` blocks in `compound` blocks

Günter Milde via Docutils-develop <[email protected]> Wed, 19 Feb 2025 18:27:09 -0000
Newsgroups gmane.text.docutils.devel
Message-ID </p/docutils/patches/183/70cbfbfd35d90b897450bbb49b849290b9d627d1.patches@docutils.p.sourceforge.net>
- **status**: pending-remind --> closed-fixed
- **Comment**:

Thank you for the patches.
The non-controversial parts of the patches are implemented. 
Closing now because of the long silence. If there are remaining issues, please open a new ticket.



---

**[patches:#183] Fix spacing around `code` and `raw` blocks in `compound` blocks**

**Status:** closed-fixed
**Group:** None
**Labels:** LaTeX 
**Created:** Mon Aug 16, 2021 08:17 PM UTC by Clément Pit-Claudel
**Last Updated:** Thu Aug 04, 2022 11:36 AM UTC
**Owner:** nobody
**Attachments:**

- [1-visit-inline.patch](https://sourceforge.net/p/docutils/patches/183/attachment/1-visit-inline.patch) (2.5 kB; text/x-patch)
- [2-compound-code.patch](https://sourceforge.net/p/docutils/patches/183/attachment/2-compound-code.patch) (2.1 kB; text/x-patch)
- [3-compound-raw.patch](https://sourceforge.net/p/docutils/patches/183/attachment/3-compound-raw.patch) (766 Bytes; text/x-patch)
- [compound.rst](https://sourceforge.net/p/docutils/patches/183/attachment/compound.rst) (629 Bytes; text/x-rst)


I have attached three patches and a test related to spaces before `raw` and `code` blocks.

- `1-visit-inline.patch`: This is a small code simplification
- `2-compound-code.patch`: This removes an unconditional newline added in compound blocks before code blocks that have a `:name:`
- `3-compound-raw.patch`: This removes an unconditional newline added in compound blocks before raw blocks.
- `compound.rst`: This is a test; I wasn't sure where to add it.  It shows how things are modified by 



---

Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/docutils/patches/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/patches/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.