From: Alan G. I. <ala...@gm...> - 2023-01-14 00:45:44
|
I can no longer compile some documents with rst2beamer. (They compiled a year ago.) Did something change with --use-latex-citations? (I'm not setting it.) Suggested fix? Alan Isaac Traceback (most recent call last): File "C:\Program Files\Python38\Scripts\rst2beamer-script.py", line 11, in <module> load_entry_point('rst2beamer3k==0.9.1', 'console_scripts', 'rst2beamer')() File "C:\Program Files\Python38\lib\site-packages\rst2beamer.py", line 1304, in main publish_cmdline( File "C:\Program Files\Python38\lib\site-packages\docutils-0.20b0.dev0-py3.8.egg\docutils\core.py", line 391, in publish_cmdline output = pub.publish( File "C:\Program Files\Python38\lib\site-packages\docutils-0.20b0.dev0-py3.8.egg\docutils\core.py", line 227, in publish output = self.writer.write(self.document, self.destination) File "C:\Program Files\Python38\lib\site-packages\docutils-0.20b0.dev0-py3.8.egg\docutils\writers\__init__.py", line 76, in write self.translate() File "C:\Program Files\Python38\lib\site-packages\docutils-0.20b0.dev0-py3.8.egg\docutils\writers\latex2e\__init__.py", line 267, in translate self.document.walkabout(visitor) File "C:\Program Files\Python38\lib\site-packages\docutils-0.20b0.dev0-py3.8.egg\docutils\nodes.py", line 199, in walkabout visitor.dispatch_departure(self) File "C:\Program Files\Python38\lib\site-packages\docutils-0.20b0.dev0-py3.8.egg\docutils\nodes.py", line 2019, in dispatch_departure return method(node) File "C:\Program Files\Python38\lib\site-packages\rst2beamer.py", line 930, in depart_document if self._use_latex_citations and len(self._bibitems) > 0: AttributeError: 'BeamerTranslator' object has no attribute '_use_latex_citations' |