Adjust MAX_CITATION_LABEL_LENGTH

This commit is contained in:
Takeshi KOMIYA 2018-05-03 23:38:42 +09:00
parent 996bcb561e
commit f6259c696b
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ BEGIN_DOC = r'''
''' '''
MAX_CITATION_LABEL_LENGTH = 16 MAX_CITATION_LABEL_LENGTH = 8
LATEXSECTIONNAMES = ["part", "chapter", "section", "subsection", LATEXSECTIONNAMES = ["part", "chapter", "section", "subsection",
"subsubsection", "paragraph", "subparagraph"] "subsubsection", "paragraph", "subparagraph"]

View File

@ -1240,7 +1240,7 @@ def test_latex_thebibliography(app, status, warning):
result = (app.outdir / 'Python.tex').text(encoding='utf8') result = (app.outdir / 'Python.tex').text(encoding='utf8')
print(result) print(result)
assert ('\\begin{sphinxthebibliography}{AuthorYear}\n' assert ('\\begin{sphinxthebibliography}{AuthorYe}\n'
'\\bibitem[AuthorYear]{index:authoryear}\n' '\\bibitem[AuthorYear]{index:authoryear}\n'
'Author, Title, Year\n' 'Author, Title, Year\n'
'\\end{sphinxthebibliography}\n' in result) '\\end{sphinxthebibliography}\n' in result)