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 'releasename' ignored in version 2.0.0 #6243

Closed
tbird1965 opened this issue Apr 1, 2019 · 1 comment
Closed

Latex 'releasename' ignored in version 2.0.0 #6243

tbird1965 opened this issue Apr 1, 2019 · 1 comment

Comments

@tbird1965
Copy link

Latex 'releasename' Broken in verion 2.0.0
Setting latex element releasename no longer works, displays "Release" instead.

To Reproduce
Edit conf.py and set latex_elements as follows:

latex_elements = {
'releasename': 'Test',
}

Then build latex:

make latex

View latex file and you will see:

\renewcommand{\releasename}{Release}

Expected behavior
Sphinx version 1.8.5 and older (at least until the 1.7.x and possibly older) even allows releasename to be a space (which I use).

I use Sphinx for custom product manuals and using the word "Release" makes no sense. My conf.py files are setup so the PDFs will display "Version 1.0" on the title page.

In version 2.0.0, my PDFs display "Release Version 1.0"

Environment info

  • OS: Windows 7, 64 bit, SP1
  • Python version: 3.6.5
  • Sphinx version: 2.0.0
  • Sphinx extensions: none, that I know of
  • Extra tools: MiKTeX 2.9 for PDF build

Temporary Workaround
Either use Sphinx 1.8.5 or edit latex file and manually change the releasename entry.

@tk0miya tk0miya added this to the 2.0.1 milestone Apr 4, 2019
tk0miya added a commit to tk0miya/sphinx that referenced this issue Apr 4, 2019
tk0miya added a commit that referenced this issue Apr 4, 2019
Fix #6243: LaTeX: releasename setting for latex_elements is ignored
@tk0miya
Copy link
Member

tk0miya commented Apr 4, 2019

Fixed by #6253.
Thank you for reporting.

@tk0miya tk0miya closed this as completed Apr 4, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 5, 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

2 participants