Skip to content

LaTeX: excessive whitespace since v4.4.0 #10158

@rhssk

Description

@rhssk

Describe the bug

Hi,

I'm using Sphinx together with Breathe and Doxygen to generate LaTeX -> PDF documentation.

Since v4.4.0 I've noticed that undocumented variables/structure members have large amount of whitespace added below them.
Bisecting shows that this is caused by b230365 (#9941).

HEAD (799385f):
4 x_HEAD
With revert:
4 x_revert_b23036570

How to Reproduce

Input RST:

.. cpp:class:: Data

   .. cpp:union:: @data

      .. cpp:var:: int a

      .. cpp:var:: double b

MWE.zip

Expected behavior

No response

Your project


Screenshots

No response

OS

Linux

Python version

3.10.2

Sphinx version

v4.4.0

Sphinx extensions

No response

Extra tools

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions