jlegewie/zotfile

lua pdf support

オープン

#39 opened on 2012/05/21

 (3 件のコメント) (0 件のリアクション) (0 人の担当者)Java (291 件のフォーク)batch import
enhancementhelp wantedpdf extraction

Repository metrics

Stars
 (4,365 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

can someone add support for kindle device kpdfviewer which stores highlights,text in a separate .lua file in the same location.

more info: http://www.mobileread.com/forums/showthread.php?t=157047

sample .lua file:return { ["globalzoom_mode"] = -4, ["highlight"] = { [1] = { [1] = { [2] = { ["y0"] = 209, ["x0"] = 73, ["y1"] = 217, ["x1"] = 510 }, [3] = { ["y0"] = 219, ["x0"] = 73, ["y1"] = 227, ["x1"] = 517 }, [1] = { ["y0"] = 199, ["x0"] = 451, ["y1"] = 207, ["x1"] = 516 }, [4] = { ["y0"] = 230, ["x0"] = 73, ["y1"] = 238, ["x1"] = 522 }, [5] = { ["y0"] = 241, ["x0"] = 73, ["y1"] = 249, ["x1"] = 482 }, ["text"] = "a Wikipedia article and classified into one of five abstract concept categories: Research Field, Technology, System, Term and Other. Using the content of the matched Wikipedia article, the system then constructs a conceptual graph structure representation for each key phrase and the questions are then generated based the structure. To evaluate the quality of the computer generated questions, we conducted a version of the Bystander Turing test, which involved 20 research students who had written literature " } },

the ["text"] field contains the annotation to be extracted. How to modify extract.js to accomplish this?

コントリビューターガイド