Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quiet Failure for Non-HTML Outputs #19

Open
mecrouch opened this issue Oct 1, 2015 · 11 comments
Open

Quiet Failure for Non-HTML Outputs #19

mecrouch opened this issue Oct 1, 2015 · 11 comments

Comments

@mecrouch
Copy link

mecrouch commented Oct 1, 2015

Would really love to be able to use this plugin, but I can't seem to get it to build any of the non-HTML outputs. Whenever I run jekyll build with the following config file options, the HTML site builds correctly, but nothing happens for the other outputs.

gems: [ 'jekyll-pandoc-multiple-formats' ]

markdown: pandoc

pandoc:
  skip: false
  output: test
  flags: '--smart '
  site_flags: '--toc'
  outputs:
    markdown:

Gets me this:

Configuration file: _dev-config.yml
            Source: C:/Users/jsmith/git/project/docs/
       Destination: C:/project/
      Generating...
                    done.
 Auto-regeneration: disabled. Use --watch to enable.

Seems like the plugin is working to some extent, because I do get an error message if I set the 'flags' to:

flags: '--smart --bibliography=ref.bib'
Configuration file: _dev-config.yml
            Source: C:/Users/jsmith/git/project/docs/
       Destination: C:/project/
      Generating...
pandoc-citeproc.exe: Could not find ref.bib
pandoc: Error running filter pandoc-citeproc
Filter returned error status 1
pandoc-citeproc.exe: Could not find ref.bib
pandoc: Error running filter pandoc-citeproc
Filter returned error status 1
pandoc-citeproc.exe: Could not find ref.bib
pandoc: Error running filter pandoc-citeproc
Filter returned error status 1
pandoc-citeproc.exe: Could not find ref.bib
pandoc: Error running filter pandoc-citeproc
Filter returned error status 1
pandoc-citeproc.exe: Could not find ref.bib
pandoc: Error running filter pandoc-citeproc
Filter returned error status 1
pandoc-citeproc.exe: Could not find ref.bib
pandoc: Error running filter pandoc-citeproc
Filter returned error status 1
pandoc-citeproc.exe: Could not find ref.bib
pandoc: Error running filter pandoc-citeproc
Filter returned error status 1
pandoc-citeproc.exe: Could not find ref.bib
pandoc: Error running filter pandoc-citeproc
Filter returned error status 1
pandoc-citeproc.exe: Could not find ref.bib
pandoc: Error running filter pandoc-citeproc
Filter returned error status 1
pandoc-citeproc.exe: Could not find ref.bib
pandoc: Error running filter pandoc-citeproc
Filter returned error status 1
                    done.
 Auto-regeneration: disabled. Use --watch to enable.

Any advice? I'm using Jekyll v2.5.3 and Pandoc v1.15.0.6, and Pandoc is available in my PATH.

@mecrouch mecrouch changed the title Quiet Failure to Non-HTML Outputs Quiet Failure for Non-HTML Outputs Oct 1, 2015
@fauno
Copy link
Owner

fauno commented Oct 1, 2015

which other formats have you tried?

@mecrouch
Copy link
Author

mecrouch commented Oct 1, 2015

The ones from your example (epub and pdf) plus a handful of others (html5, textile, rtf), but markdown is really the main one I'm interested in.

@fauno
Copy link
Owner

fauno commented Oct 1, 2015

what version is the gem you're using? i think we haven't release one in a while... can you try using the git version?

@mecrouch
Copy link
Author

mecrouch commented Oct 1, 2015

I was using version 0.0.7 of the jekyll-pandoc-multiple-formats gem, so I think I was already up to date. But I uninstalled and reinstalled from the cloned repository using the following commands:

gem build jekyll-pandoc-multiple-formats.gemspec
gem install --local jekyll-pandoc-multiple-formats-0.0.7.gem

But I'm still experiencing the quiet failure to build the non-HTML formats.

@fauno
Copy link
Owner

fauno commented Oct 1, 2015

i mean use the plugin from git instead of the gem

}(:=

@mecrouch
Copy link
Author

mecrouch commented Oct 1, 2015

Meaning copying jekyll-pandoc-multiple-formats.rb into the _plugins folder in my project and removing the gems: [...] line from my config file? If so, this seems to be giving me the same problem as the gem.

@ddavidebor
Copy link

Same problem here

@Ninoninoninonino
Copy link

I changed the path in the Sublime text - Pandown settings yet still get the error "pandoc-citeproc: Could not find .../references.bib
pandoc: Error running filter pandoc-citeproc
Filter returned error status 1
" Maybe this is a similar problem?

@fauno
Copy link
Owner

fauno commented Apr 28, 2016

Ninoninoninonino notifications@github.com writes:

I changed the path in the Sublime text - Pandown settings yet still get the error "pandoc-citeproc: Could not find .../references.bib

that means you're using the --bibliography flag and it points to a file
that doesn't exist

please check https://github.com/edsl/edsl-as-platform for a ready to go
configuration for this plugin

D

@Ninoninoninonino
Copy link

Ninoninoninonino commented Apr 28, 2016

Thanks but this is beyond me. What am I supposed to do with this? Is it a substitute for Pandown? It doesn't pop up in Sublime Text package install ..

@Ninoninoninonino
Copy link

I deleted the pandoc-config.json in my current project folder and everything worked again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants