Giter Club home page Giter Club logo

pandoc-beamer-block's Introduction

Installation

Python package pre-commit Coveralls Scrutinizer Code Climate CodeFactor Codacy PyPI version PyPI format Latest release Last commit License Python version Poetry version Pandoc version Downloads Development Status Docs Code style: black Repo Size Code Size Source Rank

pandoc-beamer-block is a pandoc filter for adding beamer block to divs.

Instructions

pandoc-beamer-block requires python, a programming language that comes pre-installed on linux and Mac OS X, and which is easily installed on Windows.

Install pandoc-beamer-block using the bash command

$ pipx install pandoc-beamer-block

To upgrade to the most recent release, use

$ pipx upgrade pandoc-beamer-block

pipx is a script to install and run python applications in isolated environments from the Python Package Index, PyPI. It can be installed using instructions given here.

Getting Help

If you have any difficulties with pandoc-beamer-block, please feel welcome to file an issue on github so that we can help.

Notes

pandoc-beamer-block's People

Contributors

chdemko avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

carlesm

pandoc-beamer-block's Issues

Running the filter with python3.10 gives IndexError

Hi,
I just got a new laptop so I am in the process of re-installing a few things and checking whether everything still works as expected.
I have python3.10 on my machine, and when I try running pandoc with the pandoc-beamer-block filter option I get this error:

Traceback (most recent call last):
  File "/usr/local/bin/pandoc-beamer-block", line 8, in <module>
    sys.exit(main())
  File "/home/ilenia/.local/lib/python3.10/site-packages/pandoc_beamer_block.py", line 112, in main
    return run_filter(block, doc=doc, prepare=prepare)
  File "/home/ilenia/.local/lib/python3.10/site-packages/panflute/io.py", line 227, in run_filter
    return run_filters([action], *args, **kwargs)
  File "/home/ilenia/.local/lib/python3.10/site-packages/panflute/io.py", line 200, in run_filters
    doc = load(input_stream=input_stream)
  File "/home/ilenia/.local/lib/python3.10/site-packages/panflute/io.py", line 58, in load
    doc = json.load(input_stream, object_hook=from_json)
  File "/usr/lib/python3.10/json/__init__.py", line 293, in load
    return loads(fp.read(),
  File "/usr/lib/python3.10/json/__init__.py", line 359, in loads
    return cls(**kw).decode(s)
  File "/usr/lib/python3.10/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.10/json/decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
  File "/home/ilenia/.local/lib/python3.10/site-packages/panflute/elements.py", line 1431, in from_json
    return _res_func[tag](c)
  File "/home/ilenia/.local/lib/python3.10/site-packages/panflute/table_elements.py", line 396, in table_from_json
    ica = decode_ica(c[0])
  File "/home/ilenia/.local/lib/python3.10/site-packages/panflute/utils.py", line 21, in decode_ica
    return {'identifier': lst[0],
IndexError: list index out of range
Error running filter pandoc-beamer-block:
Filter returned error status 1

Am I missing something here?
Thanks,
Ilenia

Could not find executable pandoc-beamer-block error on windows

For windows I have this error:

Error running filter pandoc-beamer-block:
Could not find executable pandoc-beamer-block

I installed pandoc and the filter pandoc-beamer-block, and add the path to the environment variables on windows, but still the same error.
The path : c:\python38\lib\site-packages

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.