tomduck / pandoc-latex-extensions Goto Github PK
View Code? Open in Web Editor NEWA pandoc filter that adds latex extensions.
License: GNU General Public License v3.0
A pandoc filter that adds latex extensions.
License: GNU General Public License v3.0
There is a problem running the pip install on macOS 10.15 Catalina. And since I have encountered this bug already on another software (lektor/lektor#831), I have a workaround for it:
export ARCHFLAGS="-arch x86_64";
pip install …
Maybe you can add this to the FAQ, or add a custom architecture check to the setup file ;)
All I get is this when running pandoc
with this filter on.
Traceback (most recent call last):
File "/home/tan/.local/bin/pandoc-latex-extensions", line 5, in <module>
from pandoclatexextensions import main
File "/home/tan/.local/lib/python3.8/site-packages/pandoclatexextensions/__init__.py", line 2, in <module>
from .core import *
File "/home/tan/.local/lib/python3.8/site-packages/pandoclatexextensions/core.py", line 33, in <module>
from . import plugins
ImportError: cannot import name 'plugins' from partially initialized module 'pandoclatexextensions' (most likely due to a circular import) (/home/tan/.local/lib/python3.8/site-packages/pandoclatexextensions/__init__.py)
Error running filter pandoc-latex-extensions:
Filter returned error status 1
Hello,
above all, thank you for your effort!
I noticed that the marginfigure script doesn't work in my case.
The image stays in the main body, and doesn't become a float in the margin area. The caption is, however, rendered as it should.
I am wonder if the whole \includegraphics code is missing from the python script, I'm not proficient in python, however.
Also, the pip installer doesn't install the plugin folder I had to use the link provided in this comment.
On macosx 12.6.3 , python 3.10, pandoc 3.1.
Thanks again!
Is the example correct? And if so, does the extension work as intended? (The text ipsum dolor sit amet,
is not included in the output.)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.