Hi,
Unfortunately, we can't use two translators at the same time. Only one
translator can be registered to the specific builder. So it would be
better to integrate these translators to a single one.
As a workaround, you can override the method of the default
LaTeXTranslator via assigning method::
from sphinx.writers.latex import LaTeXTranslator
original_visit_literal_block = LaTeXTranslator.visit_literal_block
def my_visit_literal_block(self, node):
...
LaTeXTranslator.visit_literal_block = my_visit_literal_block
Thanks,
Takeshi KOMIYA
2020年8月7日(金) 21:12 Yves Chevallier <
cana...@gmail.com>:
> --
> You received this message because you are subscribed to the Google Groups "sphinx-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
sphinx-users...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/sphinx-users/81fb2c56-2711-4262-89a1-02a2552d1ce5o%40googlegroups.com.