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

latex writer incorrectly handles indexing a sole semi-colon character #5576

Closed
jfbu opened this issue Oct 30, 2018 · 1 comment
Closed

latex writer incorrectly handles indexing a sole semi-colon character #5576

jfbu opened this issue Oct 30, 2018 · 1 comment

Comments

@jfbu
Copy link
Contributor

jfbu commented Oct 30, 2018

Consider the following source:

.. index::
   single: clause
   single: suite
   single: ; (semicolon)

which can be seen in Python documentation sources

When processed by LaTeX writer the semi-colon is mistakendly interpreted as separator and as a result an invalid empty index entry arises.

When the PDF is built with latex_use_xindy = True this causes failed build with this error:

ERROR: CHAR: index 0 should be less than the length of the string

This arose in discussion of #5561 issue.

Environment info

  • OS: Mac
  • Python version: 3.6.4
  • Sphinx version: 1.8.2+
@jfbu
Copy link
Contributor Author

jfbu commented Nov 6, 2018

fixed at 4df3b06 (refs: #5583)

@jfbu jfbu closed this as completed Nov 6, 2018
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant