Git Product home page Git Product logo

Comments (2)

lf-araujo avatar lf-araujo commented on August 22, 2024 1

Dear Sergio, thank you for your time.

It is completely my mistake, apparently I did not have koma-script installed in both machines. This is necessary for acro to work. My bad.

from panflute.

sergiocorreia avatar sergiocorreia commented on August 22, 2024

I haven't touched the code in the 5 months, so I'm guessing two options:

  1. Something changed in Pandoc and you are using an updated version (which version of pandoc are you running?). I checked the changelog for pandoc-types and couldn't find anything that might lead to a problem.
  2. Something changed in the input text which made a bug in the filter noticeable. But I'm reading the code and can't find any obvious problem.

I also tested it locally and it worked (on both pandoc 2.0 and 2.1.3):

C:\Git>pandoc --version
pandoc 2.1.3
Compiled with pandoc-types 1.17.4.2, texmath 0.10.1.1, skylighting 0.7.0.2
Default user data directory: C:\Users\Sergio\AppData\Roaming\pandoc
Copyright (C) 2006-2018 John MacFarlane
Web:  http://pandoc.org
This is free software; see the source for copying conditions.
There is no warranty, not even for merchantability or fitness
for a particular purpose.

C:\Git>more acro.md
We have links: [SO](acro "Stack Overflow")

C:\Git>pandoc -F acronyms.py acro.md
<p>We have links: <a href="acro" title="Stack Overflow">SO</a></p>

from panflute.

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.