Fix "Retrieve Metadata for PDF" with bundled PDF tools
This commit is contained in:
parent
2d43518ef2
commit
31f0f0d210
|
@ -143,7 +143,7 @@ var Zotero_RecognizePDF = new function() {
|
||||||
}
|
}
|
||||||
|
|
||||||
var {exec, args} = Zotero.Fulltext.getPDFConverterExecAndArgs();
|
var {exec, args} = Zotero.Fulltext.getPDFConverterExecAndArgs();
|
||||||
args.push('-enc', 'UTF-8', '-nopgbrk', '-layout', '-l', pages, file.path, cacheFile.path);
|
args.push('-nopgbrk', '-layout', '-l', pages, file.path, cacheFile.path);
|
||||||
|
|
||||||
Zotero.debug("RecognizePDF: Running " + exec.path + " " + args.map(arg => "'" + arg + "'").join(" "));
|
Zotero.debug("RecognizePDF: Running " + exec.path + " " + args.map(arg => "'" + arg + "'").join(" "));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user