Giter Club home page Giter Club logo

pandoc-minted's People

Contributors

gandalfsaxe avatar nick-ulle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pandoc-minted's Issues

Fails to build pdf

Error producing PDF.
! LaTeX Error: Environment minted undefined.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.140 \begin{minted}

Package minted Error: Missing Pygments output

Hi @nick-ulle

I'm currently trying to use your script in my thesis. I've installed Python. I've also installed pandocfilters via pip.

pandoc --no-highlight --filter ./minted.py "$(INPUTDIR)"/*.md \
  -o "$(OUTPUTDIR)/thesis.pdf" \
  -H "$(STYLEDIR)/preamble.tex" \
  --template="$(STYLEDIR)/template.tex" \
  --bibliography="$(BIBFILE)" 2>pandoc.log \
  --csl="$(STYLEDIR)/ref_format.csl" \
  -V fontsize=12pt \
  -V papersize=a4paper \
  -V documentclass:report \
  -N \
  --latex-engine-opt='-shell-escape' \
  --latex-engine=xelatex \
  --verbose

I'm always getting the following error:

! Package minted Error: Missing Pygments output; \inputminted was
probably given a file that does not exist--otherwise, you may need
the outputdir package option, or may be using an incompatible build tool,
or may be using frozencache with a missing file.

In addition to the error message above I have the following in my log file of pandoc:

Error: cannot read infile: [Errno 2] No such file or directory: 'input.pyg'
system returned with code 256

Do you have any idea why this is happening?

Thanks for your help
Phil

Even when in path: "Could not find executable pandoc-minted"

When I run pandoc --filter pandoc-minted test.md -o test.pdf I ge the error:

Error running filter pandoc-minted:
Could not find executable pandoc-minted

I have checked echo $PATH and I'm sure that the python script is in the path. Any ideas?

Mac: error when running ln command

Running the command from README.md as such: ln -rs pandoc-minted.py DIRECTORY/pandoc-minted (with a real path directory in place of DIRECTORY), I get:

ln: illegal option -- r
usage: ln [-Ffhinsv] source_file [target_file]
       ln [-Ffhinsv] source_file ... target_dir
       link source_file target_file

Looking at the man page for ln, it seems like there is no -r option for ln, at least on Mac. Perhaps this should be correctly, or in the case it's valid on linux, made separate for Mac.

Permission denied on windows

pandoc.exe: Error running filter ./pandoc-minted.py
terminateProcess: permission denied (Permission denied)

The pandoc-minted.py file is given permission to excute

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.