From f86f8fde25aaac99cf0d19e44c9b67c2412b3e0b Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Mon, 21 Apr 2008 16:32:24 +0000 Subject: [PATCH] Handle substitution definition node. --- sphinx/latexwriter.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sphinx/latexwriter.py b/sphinx/latexwriter.py index 8173c821b..2dcd6a2ac 100644 --- a/sphinx/latexwriter.py +++ b/sphinx/latexwriter.py @@ -808,6 +808,9 @@ class LaTeXTranslator(nodes.NodeVisitor): def depart_description(self, node): pass + def visit_substitution_definition(self, node): + raise nodes.SkipNode + # text handling replacements = [