Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Markdown to Latex
-
Hi all, I'm hoping you can help me figure out how to get this markdown to latex extension to work (I'm pretty new to Python coding) the module is here, but when I try to run it I get the error "object does not contain attribute 'Postprocessor' on the following line:
class LaTeXPostProcessor(markdown.Postprocessor):
http://pypi.python.org/pypi/markdown2latex/
Any pointers would be appreciated!
-
That module hasn't been updated in over 3 years. At some point since then, the markdown module's extensions API was changed to use markdown.postprocessors.Postprocessor. (No idea what other problems that markdown2latex module might have, but I wouldn't be surprised if there's more.)
-
Wow, thanks for the heads up. I've been trying to correct everything as much as I can, but still getting an error about how my string input doesn't contain attribute 'pattern'. I'll keep trying but if there is an obvious mistake I'd love some help.