how to edit the form of the pdf extraction in Zotfile
hi,
I was wondering how I can edit the form in which Zotfile extracts the highlights from pdf files. More in details, I would like either to change these quotation marks "" into these «» or just to delete the quotation marks at the beginning and the end of the highlighted texts. Is there anyone who can help me in this matter? Many thanks.
Alfredo
I was wondering how I can edit the form in which Zotfile extracts the highlights from pdf files. More in details, I would like either to change these quotation marks "" into these «» or just to delete the quotation marks at the beginning and the end of the highlighted texts. Is there anyone who can help me in this matter? Many thanks.
Alfredo
https://github.com/jlegewie/zotfile/blob/master/chrome/content/zotfile/zotfile.js#L2542
Replace this line (2542) by:
note += "<p>"+tagStart+"«"+markup+"» (" + cite + page + ")" +tagEnd+"</p>";
But two hidden options (openingQuotationMarks and closingQuotationMarks) have been added to the next ZotFile version (2.3 not yet released). You can access them through about:config
To avoid encoding issues, you should type:
&#171;
to display «and
&#187;
to display »Alfredo
What about the option to disable the extraction of highlighted text altogether? I followed the hidden options guide and it appears I cannot change the values from "string" to "boolean" there. Maybe it's because I upgraded to Mac mountain lion, or maybe it's the new zotero and zotfile releases, but every time i've extracted annotations before now, highlighted text wasn't included. I just want my sticky annotations to come through.
226, "In a very real sense, political action is viewed essentially as a means through which the power of all the participants may be increased, if we define power as the ability to command things that are desired by men."
pdf producer: mac os x 10.8.2 quartz PDFContext
pdf version: 1.2 (Acrobat 4.x)
file size: 300.83 kb
page size: 5.35 x 8.39 in, 21 pp.
fast web view: no
application: RealPage PDF Generator 2.0
all fonts are Helvetica type (bold, bold oblique); realpageBAS13 (embedded subset), etc...
does this help?