Scripting for Better Bibtew in Zotero
This commit is contained in:
parent
0d66bd4840
commit
6186237a0f
1 changed files with 15 additions and 0 deletions
15
how_to
15
how_to
|
@ -207,6 +207,7 @@ MAC spoofing:
|
|||
sudo ip link set dev <IF> up
|
||||
|
||||
Mount as user:
|
||||
/!\ on filesystems with permissions, it is permanent
|
||||
sudo mount /dev/sd[a-z][0-9] /mnt
|
||||
sudo chown <user> /mnt
|
||||
|
||||
|
@ -456,3 +457,17 @@ Echo to stderr
|
|||
Reset gpg-agent passphrase cache
|
||||
Useful mainly for testing purposes
|
||||
echo RELOADAGENT | gpg-connect-agent
|
||||
|
||||
Better Bibtex, Zotero:
|
||||
Add URL to webpages
|
||||
https://retorque.re/zotero-better-bibtex/scripting/
|
||||
if (Translator.BetterBibTeX && item.itemType === 'webpage') {
|
||||
if (item.accessDate) {
|
||||
this.add({ name: 'note', value: "(accessed " + item.accessDate + ")" });
|
||||
}
|
||||
if (item.url) {
|
||||
this.add({ name: 'howpublished', bibtex: "{\\url{" + this.enc_verbatim({value: item.url}) + "}}" });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue