Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docstring of automodule does not start a new paragraph in LaTeX, but in HTML #556

Closed
shimizukawa opened this issue Jan 2, 2015 · 2 comments
Labels

Comments

@shimizukawa
Copy link
Member

In the following example, the behaviour will differ between LaTeX and HTML output:

This is a simple test paragraph.

.. automodule:: foo
    :members: bar

The docstring of the module will end up in the same paragraph as the previous line in LaTeX, but not in HTML. The latter behaviour seems to be more sensible.

A workaround is to place

.. raw:: latex

    \\

before the automodule directive, but that has some issues in terms of formatting, spacing, etc. -- aside from being ugly.


@shimizukawa
Copy link
Member Author

From Georg Brandl on 2011-01-03 20:38:30+00:00

Should be fixed with <<cset 0cda61e>>.

@shimizukawa
Copy link
Member Author

From Georg Brandl on 2014-10-18 07:30:26+00:00

Removing version: 1.0.4 (automated comment)

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant