how to edit xpi files
This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
If you unzip, say, zotfile.xpi into a zotfile dir, be careful to rezip *the content* of the zotfile dir and not the dir itself (I'm not sure to be clear...?).
The problem was precisely the fact that I was zipping the dir and not just the content. Now everything works fine.
I modified the xpi to make Zotfile quote pdf annotations by using tags recognised by the RTF-scan. To be clear, this is the outcome:
«It is this internalization of resources within the firm, necessarily accompanied by their coordination through hierarchy, that is the key to the Chandlerian thesis.»{Popp et al 2006, 351}
In this way, I can just copy/paste quotations in my document without editing it at all.
If there is someone interested in getting the modified xpi of Zotfile, I can share it.
You are a genius for working this out. Could you please share your modified xpi for zotfile? I am also trying to get zotfile to just output scannable cites for each quotation, so I can just paste them where I want them in my outline.
Many Scrivener people are crying for this to be a regular zotFile feature...
Try to to edit some ZotFile hidden prefs (Zotero Prefs->Advanced->Open about:config, click yes, type the name of the prefs). The relevant prefs are formatAnnotationNote and formatAnnotationHighlight. (right-click-> reset if you're not happy with the result)
But at first glance, it seems that the parens between the author-date reference are now hardcoded.