Git Product home page Git Product logo

pandoc-latex-extensions's Issues

Marginfigure doesn't render a figure in the margin, but in the main body

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!

Circular import

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

macOS error: architecture not supported

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 ;)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.