1""" 2 sphinx.builders.latex.nodes 3 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 5 Additional nodes for LaTeX writer. 6 7 :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS. 8 :license: BSD, see LICENSE for details. 9""" 10 11from docutils import nodes 12 13 14class captioned_literal_block(nodes.container): 15 """A node for a container of literal_block having a caption.""" 16 pass 17 18 19class footnotemark(nodes.Inline, nodes.Referential, nodes.TextElement): 20 """A node represents ``\footnotemark``.""" 21 pass 22 23 24class footnotetext(nodes.General, nodes.BackLinkable, nodes.Element, 25 nodes.Labeled, nodes.Targetable): 26 """A node represents ``\footnotetext``.""" 27 28 29class math_reference(nodes.Inline, nodes.Referential, nodes.TextElement): 30 """A node for a reference for equation.""" 31 pass 32 33 34class thebibliography(nodes.container): 35 """A node for wrapping bibliographies.""" 36 pass 37 38 39HYPERLINK_SUPPORT_NODES = ( 40 nodes.figure, 41 nodes.literal_block, 42 nodes.table, 43 nodes.section, 44 captioned_literal_block, 45) 46