Skip to content

v1.23.0

Choose a tag to compare

@github-actions github-actions released this 30 Nov 03:04
82e28e5

Added

  • Annotations can set titles in italics. An annotation was plain text, so a book named in a note (“builds on The Human Condition”) printed in roman, against every style's rule that titles are italic. In the Annotation field, put a title between asterisks, *The Human Condition*, and it prints in italics under the entry, in the editor, and in email. It is stored as <i>The Human Condition</i>, CSL-JSON's own rich-text italics, so CSL-JSON keeps it, BibTeX and BibLaTeX write \textit{…} (which imports back as italics), and RIS gets the plain words. Pasted CSL-JSON and BibTeX annotations keep their <i>, <em>, and \textit{} italics; all other markup is still stripped. An asterisk next to a space, letter, or digit (* * *, 2*3*4) stays as typed. Saved blocks are unchanged: no stored annotation held <i> before. (#323)

  • ABNT and OSCOLA citations paste as text. Borges already formatted both styles but could not read them back, so a pasted ABNT or OSCOLA citation with no DOI got the "Paste a DOI, PMID…" notice, or worse, came back as a book with "17. ed. Rio de Janeiro: Paz e Terra" as its publisher. ABNT citations (FREIRE, Paulo. Pedagogia do oprimido. 17. ed. Rio de Janeiro: Paz e Terra, 1987.) now read as books, chapters, articles (v. 27, n. 2, p. 97-111, abr. 2020), theses, preprints, magazine articles, software, and web pages (Disponível em:, Acesso em:), with surnames in capitals written back as names (Paulo Freire) and Portuguese month abbreviations read as dates. OSCOLA secondary sources (Hart HLA, Punishment and Responsibility (OUP 1968), Endicott TAO, ‘The Impossibility of the Rule of Law’ (1999) 19 OJLS 1) read as books, articles, chapters, newspaper articles, encyclopedia entries, theses, preprints, and web pages, in the bibliography's name form or the footnote's (HLA Hart). In an OSCOLA bibliography, pasted lines that end in a page number or an access date now become one entry each instead of being joined into one. Each style's reader runs first in its own bibliography, and an ABNT surname in capitals sends a citation to the ABNT reader in any bibliography. Cases, legislation, treaties, and reviews are still declined. Like the other formatted-citation readers, these mark each entry for review. On the plugin's test lists they recover every detail the styles print in the 12-work list and all but one in the 36-work list, and on 7,846 labelled references from AnyStyle they read 30 more with no new wrong titles. The Playground demo's formatted-citation samples add one of each. (#231) (#320)

  • DOIs for datasets and software resolve. Borges asked only Crossref for a DOI's metadata, so a DOI registered with DataCite, which covers most datasets, software releases, and repository deposits (every Zenodo record, figshare, Dryad, many university repositories), failed with "Couldn't parse the DOI." When Crossref has no record for a DOI, the editor now asks DataCite through a new editor-only REST route, GET /bibliography/v1/datacite?doi=… (edit_posts), which calls DataCite's fixed content negotiation host and caches the answer like the other resolvers. Crossref stays first, and only its "not found" falls through, so DOIs it holds resolve exactly as before. The route keeps DataCite's CSL as sent, except that organizations sent as a bare family name (“The pandas development team”) become one name, the DOI is stored in lowercase, and the subject keywords, license, and abstract are dropped. The Playground demo's DOI samples add a Dryad dataset and a Zenodo software release. The readme's External Services section lists DataCite. (#321)

Changed

  • Annotations are set off from their citations. In an annotated bibliography an annotation printed in the same size and color as its citation, so the note ran on as if it were more of the reference. Annotations now follow the usual annotated-bibliography convention: each stays a block of its own under the citation, lined up with its wrapped lines, a step smaller (0.9em), in a quieter color (the text color at 72%, so it works on light and dark backgrounds), and in roman type, since italics in a bibliography mark titles. The rule sits under :where() like the heading's centering, so a theme's own .bibliography-builder-annotation rule overrides it without !important. The editor shows annotations the same way, and email output gets the smaller size inline. Saved blocks are unchanged. (#322)

Fixed

  • Confirmations no longer make the list jump. After an action, its confirmation (“Moved … to position 2 of 5.”, “Copied citation.”, “Fields saved.”, “Added 3 citations.”, “Style changed to APA 7.”) was a black box at the top of the citation list, out of view when you were working further down, and when it went five seconds later the list moved up by its height and the scroll jumped back. Confirmations now appear in the editor’s own snackbar area at the bottom of the screen, as WordPress’s do (“Post updated.”), where they are always in view, take no room in the block, and are announced to screen readers. Warnings and errors that need reading, such as an import with skipped duplicates or a field that needs fixing, stay next to the add form and never disappear on a timer. The hints shown when an edit starts are now help text in the edit form (“Press Enter to save or Escape to cancel.”, and a one-line description on the field-by-field form) instead of a notice above the list, so starting an edit no longer pushes the list down. (#316)

  • Sentence case keeps the words a reference manager protects. APA 7, Harvard, IEEE, and Vancouver printed title = {The Muchness of {Madonna}} as “The muchness of madonna”, because the BibTeX import dropped the inner braces and the CSL sanitizers dropped Zotero’s <span class="nocase">, so the name was lowercased like any other word. Braces around a word or phrase in a BibTeX title, subtitle, booktitle, or booksubtitle now import as that span, CSL-JSON pastes keep it, and sentence case leaves the words inside it alone: “The muchness of Madonna”. Braces that belong to a command (\textit{…}, {\"O}) and braces around a whole title, which Mendeley adds to every title, protect nothing. The span is the only markup a title keeps; display, COinS, JSON-LD, microformats, RIS, plain text, and the editor’s title field show the plain title, CSL-JSON keeps the span, and BibTeX export writes braces back. Zotero’s built-in BibTeX export braces every capitalized word after the first, so titles imported from it keep title case in these styles, as LaTeX would print them; Zotero’s CSL-JSON protects only the words Zotero marks; a new readme FAQ points Zotero users to it, or to Better BibTeX, for sentence case. Saved blocks are unchanged: entries imported earlier lost their braces, so paste them again to protect those words. (#314)

What's Changed

  • Keep BibTeX braces and CSL-JSON nocase spans out of sentence case by @dknauss in #314
  • Show 1.22.0's review, dissertation, and mixed CSL-JSON fixes in the Playground demo by @dknauss in #315
  • Send confirmations to the editor snackbar list so the citation list stops jumping by @dknauss in #316
  • Read ABNT and OSCOLA citations pasted as text by @dknauss in #320
  • Assess the value and priority of the interoperability roadmap items by @dknauss in #318
  • Plan note citations for Chicago and OSCOLA on core footnotes by @dknauss in #319
  • Resolve DataCite DOIs when Crossref has no record by @dknauss in #321
  • Set annotations off from their citations by default by @dknauss in #322
  • Let annotations set titles in italics by @dknauss in #323
  • Release 1.23.0 by @dknauss in #324

Full Changelog: v1.22.0...v1.23.0