-
Notifications
You must be signed in to change notification settings - Fork 89
extract-bib option fails #20
Comments
The version on the package repository doesn't contain the |
@jdherman How do you build the gem yourself? Are the instructions short enough to explain here? |
Yep, it's pretty easy if you have all of the command line tools. A while back I wrote a blog post with instructions: I think this should still work. @kjw, are there plans to bump the version on the package repository? |
@jdherman Thank you! I followed those instructions, and the tool worked beautifully on an article with 50 citations. I need at least a dozen of them, and it was going to be a pain to do them one at a time. |
Great, it's saved me a ton of time too! |
When running
I encounter the following error:
I use pdf-extract 0.1.1 and tried to execute the above error with pdf-reader versions 1.1.1, 1.2.0 and 1.3.3 but always get the above error. Does anybody have an idea how to solve this? |
Hi @philippoertle ... this could be a tricky one, since it's coming from pdf-reader not pdf-extract. I assume it doesn't have anything to do with the extract-bib option specifically. This is a shot in the dark, but are there problems with the filename? Double check the path, and try removing the numbers from the beginning of the filename so that it starts with a letter. |
@philippoertle I am pretty sure this is caused by the pdf-reader. You may try this: 1; You may need ttfunk-1.4.0 2; Get the cloned pdf-reader-1.3.3 (and uninstall all other versions) 3; Then get the cloned pdf-extract (not the same as zip) I hope it would help... btw which ruby version you use? |
Same here:
Not sure if I should report here or to Versions should match what @AnikoG was saying:
Thanks! EDIT: Oops, missed the fact that |
Hi everybody, after following the steps described by @AnikoG , the extract-bib argument works just fine for me. |
@Phyks @philippoertle You're welcome! This tool is really worth of the struggle... : ) |
Hi guys! C:\Downloads> I'm running ruby 2.1.9p490 (2016-03-30 revision 54437) [i386-mingw32]. Tried with the same result in the Ruby 2.2 and the latest one. Thanks for any advice!! |
Same as above, problem appears at the commander gem.
|
Hi,
Executing
pdf-extract
as follows:fails with the following error:
I added
puts input.inspect
as instrumentation inobject_hash.rb
to theextract_io_from(input)
method of the classObjectHash
, as follows:The output emitted was
"extract-bib"
, suggesting that the argument is being misinterpreted to be a file name.Any thoughts/suggestions on the matter?
Thanks!
The text was updated successfully, but these errors were encountered: