Giter Site home page Giter Site logo

Comments (3)

jgm avatar jgm commented on June 1, 2024

Pandoc doesn't know anything about this particular environment or package.
In principle we could build support for it into pandoc's LaTeX reader, but in general we don't try to support every package out there -- we couldn't possibly do that.
Best approach is to work around the issue by inserting a small renewenvironment into your document that will change this into something pandoc can handle:

\renewenvironment{wrapfigure}[2]{\begin{figure}}{\end{figure}}

from pandoc.

felixvuo avatar felixvuo commented on June 1, 2024

Hi @jgm , thank you for the swift response. By using the \renewenvironment command I presume that would mess up my original latex (which I render to pdf). Is there a way to do this redefinition as a preprocessing step passed to pandoc?

from pandoc.

jgm avatar jgm commented on June 1, 2024

You could put it in pandoc's metadata somewhere.

dummy: |
  \renewenvironment...

from pandoc.

Related Issues (20)

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.