mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Update sphinx/writers/latex.py
Co-authored-by: Takeshi KOMIYA <i.tkomiya@gmail.com>
This commit is contained in:
parent
0c89c85a39
commit
e759bd14c8
@ -853,7 +853,7 @@ class LaTeXTranslator(SphinxTranslator):
|
||||
else:
|
||||
self.body.append('%\n')
|
||||
self.body.append('\\begin{footnote}[%s]' % label.astext())
|
||||
if 'auto' not in node.attributes:
|
||||
if 'auto' not in node:
|
||||
self.body.append('\\phantomsection'
|
||||
'\\label{\\thesphinxscope.%s}%%\n' % label.astext())
|
||||
self.body.append('\\sphinxAtStartFootnote\n')
|
||||
|
Loading…
Reference in New Issue
Block a user