• Stars
    star
    5,242
  • Rank 7,892 (Top 0.2 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created about 11 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Make Zotero effective for us LaTeX holdouts

Better BibTeX for Zotero

Join the chat at https://gitter.im/retorquere/zotero-better-bibtex Greenkeeper badge

Better BibTeX (BBT) is an extension for Zotero and Juris-M that makes it easier to manage bibliographic data, especially for people authoring documents using text-based toolchains (e.g. based on LaTeX / Markdown).

Features

Facilities for generating citation keys

  • Automatically generate citation keys without key clashes! Generate citation keys that take into account existing keys in your library even when they are not part of the items you export. Prevent random breakage!
  • Generate citation keys based on contents of your items using citekey formulas.
  • Set your own, stable citation keys, drag and drop LaTeX citations, add other custom BibLaTeX fields.

Conversion between formats and encodings

  • Zotero does all its work in UTF-8 Unicode, which is absolutely the right thing to do. Unfortunately, for those shackled to BibTeX and who cannot (yet) move to BibLaTeX, unicode is a major PITA. Also, Zotero supports some simple HTML markup in your items that Bib(La)TeX won't understand.

  • BBT will convert from/to HTML/LaTeX:

    • <i>...</i>โ‡”\emph{...}/\textit{...}
    • <b>...</b>โ‡”\textbf{...}
    • <sup>...</sup>โ‡”\textsuperscript{...} and <sub>...</sub>โ‡”\textsubscript{...}.

    More can be added on request.

    BBT contains a comprehensive list of LaTeX constructs, so stuff like \"{o} or \"o will be converted to their unicode equivalents on import (e.g., \"{o} to รถ), and their unicode equivalents back to \"{o} if you have that option enabled (but you don't have to if you use BibLaTeX, which has fairly good Unicode support).

    If you need literal LaTeX in your export: surround it with <script>...</script> (or <pre>...</pre>, which do the same) markers.

Facilities for exporting data from Zotero

  • Highly customized exports.
  • Fixes date field exports: export dates like 'forthcoming' as 'forthcoming' instead of empty, but normalize valid dates to unambiguous international format.
  • Auto export of collections or entire libraries when they change.
  • Pull export from the embedded webserver.
  • Automatic journal abbreviation.

Getting started

To get started, read the installation instructions.

How does it work ?

At its core, BBT behaves like any Zotero import/export module; anywhere you can export or import bibliography items in Zotero, you'll find Better X listed among the choices.

If nothing else, you could keep your existing workflow as-is, and just enjoy the improved LaTeX โ†” unicode translation on import and export and more accurate field mapping.

Better BibTeX works from BibTeXing and Tame the BeaST for BibTeX, and The Biblatex Package for BibLaTeX, but since there isn't really a definitive manual for either format that is universally followed by Bib(La)TeX editors/processors, I'm pragmatic about implementing what works.

Got problems? We got fixes!

If you have any questions on BBT's use, do not hesitate to file a GitHub issue and ask for help.

If you're reporting a bug in BBT, please take a moment to glance through the support request guidelines; it will make sure I get your problem fixed as quick as possible. Clear bug reports commonly have really short time-to-fix, so if you report something, stick around -- it may be done as you wait.

The support request guidelines are very detailed, perhaps to the point of being off-putting, but please do not fret; these guidelines simply express my ideal bug submission. I of course prefer very clearly documented issue reports over fuzzy ones, but I prefer fuzzy ones over missed ones.

Sponsoring BBT

While the development needs of BBT are to a large extent covered by the generosity towards open-source developers of services such as github, my development system does require the occasional upgrade; also, I enjoy getting the occasional frivolous tech-toy that I wouldn't otherwise grant myself. While you should feel in no way obligated to pay for BBT, anything you can spare is very much appreciated. If you'd rather contribute a little bit each month (and a little means a lot) so I can save up for a replacement a year or so down the line, head on over to Patreon, but mind that Patreon takes a fairly large cut of what you give.

Many, many thanks, also to the existing contributors -- thanks to you I've hit my first target and have been able to replace my trusty macbook air with a newer macbook pro which has much more breathing room.

My github stats

Metrics

More Repositories

1

zotero-deb

Packaged versions of Zotero and Juris-M for Debian-based systems
Crystal
849
star
2

zotero-storage-scanner

A Zotero plugin to remove the broken & duplicate attachment link of the bibliography
TypeScript
521
star
3

zotero-folder-import

TypeScript
321
star
4

zotero-file

Zotero 7 Meet ZotFile: Zotero plugin to manage your attachments: automatically rename, move, and attach PDFs (or other files) to Zotero items.
Java
168
star
5

zotero-report-customizer

TypeScript
152
star
6

zotero-auto-index

TypeScript
146
star
7

zotero-open-pdf

TypeScript
126
star
8

zotero-pmcid-fetcher

TypeScript
87
star
9

zotero-date-from-last-modified

TypeScript
84
star
10

zotero-file-hierarchy

https://goo.gl/forms/dFD27RHUuArq6UEK2
JavaScript
80
star
11

zotero-sync

TypeScript
33
star
12

devonthink

TypeScript
32
star
13

generator-zotero-plugin

Generate zotero plugin build scaffolding
TypeScript
31
star
14

zotero-link-local-files

CSS
24
star
15

bibtex-parser

A node/npm package for parsing bibtex (.bib) files. This is the parser that drives Better BibTeX for Zotero bib(la)tex imports.
TeX
22
star
16

zotero-thebrain-export

TypeScript
21
star
17

zotero-plugin

TypeScript
16
star
18

zotero-opds

TypeScript
12
star
19

zotero-cite-columns

TypeScript
8
star
20

zotero-bulk-mas-import

TypeScript
7
star
21

zotero-chatgpt-summary

TypeScript
4
star
22

zotero-minimize

Minimize zotero at start. Does nothing else. Nothing to configure.
TypeScript
4
star
23

zotero-asreview

Show ASReview rankings in Zotero
TypeScript
4
star
24

zotero-erdos

TypeScript
4
star
25

unicode2latex

Convert unicode text to LaTeX
Crystal
3
star
26

zotero-devonthink-export

JavaScript
3
star
27

zotero-seektable-export

TypeScript
2
star
28

pdf2email

Python
2
star
29

zotero-offline-index

JavaScript
2
star
30

ruby-exchange-offline-address-book

Ruby
2
star
31

zotero-open-search

JavaScript
2
star
32

zotero-creator-metaphone

TypeScript
1
star
33

zotero-clear-journal-abbrev

TypeScript
1
star
34

andrew-ng

MATLAB
1
star
35

jest-circus-test

JavaScript
1
star
36

pruner.py

Rake for python
Python
1
star
37

zotero-debug-log

TypeScript
1
star
38

json-schema-edtf

JavaScript
1
star