Repository navigation
Releases
v1.23.1
Fixed
- Pasting a long run of initials no longer freezes the editor. A pasted line with hundreds of dotted initials before a title (“A. A. A. …, ‘Title’ …”) could hold the editor for seconds while the OSCOLA name pattern, which is tried in every style, backtracked through it; a 2.4 KB line took about 9 seconds. A dotted run of initials in a given-name-first name now takes at most four (“J. R. R. R. Tolkien”), and the same line reads in milliseconds. Real names read as before. (#327, #329)
What's Changed
Full Changelog: v1.23.0...v1.23.1
v1.23.0
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-annotationrule 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 BibTeXtitle,subtitle,booktitle, orbooksubtitlenow 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
v1.22.0
Changed
-
Borges requires PHP 8.1 or later. PHP 7.4 and 8.0 are end-of-life and get no security fixes. The plugin header,
readme.txt, andcomposer.json(require.php) now declare 8.1, PHPCompatibility checks against 8.1, and the runtime matrix drops its PHP 7.4 cell: pull requests test Apache with PHP 8.1 and WordPress 6.4 in its place, and pushes tomainrun ten cells, from PHP 8.1 through 8.5. Sites below PHP 8.1 stay on 1.21.0, since WordPress does not offer an update whoseRequires PHPis above the server's. The reusable citeproc-php renderer drops itssetAccessible()branch for PHP below 8.1. (#305) -
New WordPress.org banner, icon, and favicon. A quieter "Folio" design replaces the handwritten-signature banner: BORGES in Cormorant Garamond letterspaced over the tagline "Structured bibliographies and inline citations in any style." in EB Garamond Italic, beside three book spines in ink and oxblood on warm paper.
npm run assets:brand(scripts/build_brand_assets.py) builds the banners, the square icon (SVG, 128, 256, and 512px), and a favicon set. The old art and its scripts are archived indocs/design/archive/original-art/, which never ships or deploys. (#298) -
The WordPress.org readme is rewritten for end users. The description, installation steps, and FAQ now speak to people adding bibliographies to posts rather than to developers, and the listing screenshots are retaken. (#303)
-
A link pasted on its own opens Manual Entry. A plain link, such as a PDF (
https://clinicalgenome.org/…/clingen_vcep_protocol_version_11_november2023-1.pdf) or a web page whose address holds no DOI, arXiv ID, or catalog or archive.org record, used to get the general "Paste a DOI, PMID…" notice and stay in the box. Now Manual Entry opens as a webpage with the URL filled in, and a notice says that a link alone has no title, author, or date and asks for the title. An unfinished Manual Entry draft is never replaced: the link then stays in the paste box with that explanation. A link pasted beside other citations gets that explanation as its own error. Borges does not fetch the link: reading a remote PDF would mean calling any host a user pastes (where every lookup today calls a fixed one), and PDF metadata is rarely good enough to cite. The Playground demo's Manual Entry note shows it. (#293) -
Clearer help text. Help text in the block settings, the field editor, and manual entry says “display,” not “print,” for what appears on screen. The Annotation field now reads: “A note about this citation, shown under it when ‘Show annotations’ is on. Leave a blank line between paragraphs. The note is saved with the citation’s data, so CSL-JSON and BibTeX exports include it even when annotations are hidden.” It uses the toggle’s exact label and says what the note belongs to. (#306)
Fixed
-
The editor stays with the entry you click. Clicking an entry, or its Copy, Edit, Edit fields, Delete, or Move buttons, made the editor seem to jump to the top of the block: selecting the block shows the paste box above the list, and starting an edit shows a notice there, so the entry slid down, often out of view. The entry you click now stays where it was on screen while the block changes around it; after a delete, the next entry takes its place. Scrolling ends the hold at once. (#306)
-
The “Editing” label no longer overlaps an entry’s number. In numbered styles (IEEE, Vancouver), “Editing: Roe 2018” was drawn over the “6.”, because the label inherited the entry’s hanging indent. (#306)
-
Reviews print the work they review. A
revieworreview-bookentry went through each style's journal form, so no style printed itsreviewed-titleorreviewed-author, and Chicago dropped the day of a newspaper review:Jacobs, Alexandra. “The Muchness of Madonna.” New York Times (October 2023).Every bundled style now has a review form: Chicago'sReview of *Madonna: A Rebel Life*, by Mary Gabriel.before the periodical, with a newspaper review's full date (*New York Times*, October 8, 2023); APA 7's[Review of the book *Madonna: A rebel life*, by M. Gabriel]after the review's title, with the full date for a newspaper review; MLA 9'sReview of *Madonna: A Rebel Life*, by Mary Gabriel.; and a plainreview of *Title*, by Authorin Harvard, IEEE, Vancouver, and OSCOLA, andResenha da obra de:in ABNT, whose manuals give no review form. A review in a journal keeps the journal form. A review with no reviewed author ends at the title, with no danglingby. The reviewed title is italicized, and APA, Harvard, and Vancouver print it in sentence case. A new deprecation keeps blocks saved by 1.21.0 valid. The editor and the REST write routes share the formatter, so both are fixed; saved entries change when they are next formatted. (#308) -
Sentence case keeps the names of well-known places. APA 7, Harvard, IEEE, and Vancouver printed Borges's "The Library of Babel" as "The library of babel", because a capital alone cannot tell a proper noun from an ordinary word, and the list of words that keep their capitals had no cities or places. It now has about a hundred: world capitals and major cities (London, Paris, Kyoto, Toronto, Chicago) and places of history and legend (Babel, Babylon, Troy, Carthage, Eden, Atlantis). Names that are also common words (Reading, Bath, Nice, Mobile, Phoenix) stay off the list. People's names still need the entry's "Keep title capitalization as entered" checkbox, and the
bibliography_builder_sentence_case_proper_nounsfilter adds a site's own words. The formatter's cache keys include a hash of the list, so affected entries reformat; saved entries change when they are next formatted. The Playground demo's IEEE example adds the Borges chapter. (#304) -
Software entries print their version and access date. A
softwareentry went through each style's book form, so itsversionwas dropped in every style, and an undated online entry printed "n.d." with no access date (and, in Chicago, IEEE, Vancouver, and ABNT, no URL). Every bundled style now has a software form from its manual: APA 7'sTitle (Version 1.0) [Computer software], Chicago'sVersion 1.0with "Accessed …" in place of "n.d.", Cite Them Right's[Computer program], Citing Medicine's[computer program], and the version element in MLA 9, IEEE, OSCOLA, and ABNT. The editor and the REST write routes share the formatter, so both are fixed; saved entries change when they are next formatted. (#299) -
A pasted webpage citation keeps its date when the date has no day. In
ClinGen. "ClinGen Variant Curation Expert Panel Protocol, Version 11." November 2023. https://…, the "November 2023" became the website's name and the entry had no year, becauseparseWebpageCitation()read only the "November 15, 2023" form. A last sentence that is only a date ("November 15, 2023", "15 November 2023", "November 2023", or "2023") is now the entry's date, and the same forms work after a site name ("Clinical Genome Resource, November 2023"),Accessed, andEffective. Month names must be written out, so a site called "Mars 2030" keeps its name. The Playground demo's formatted citations include the ClinGen example. (#294) -
No more PHP 8.5 deprecation notices from formatting. On PHP 8.5 (WordPress Playground now runs 8.5), each
/formatrequest logged thousands of notices forReflectionProperty::setAccessible()andSplObjectStorage::attach()/contains()from the reusable citeproc-php renderer. It no longer callssetAccessible(), a no-op since PHP 8.1, and usesoffsetSet()/offsetExists(). Four notices remain, once per request, from citeproc-php 2.7.1 itself (pkp/citeproc-php#203); seedocs/external-eccentricities.md. The runtime matrix adds Apache with PHP 8.5 and latest WordPress. (#302) -
A dissertation's genre keeps its period. "PhD diss., University of Chicago" was stored as
PhD dissand printed as "PhD diss, University of Chicago" in every style. A genre ending in an abbreviation ("diss.", "Ph.D.") now keeps its period; other genres are trimmed as before. (#307) -
CSL-JSON pasted among other citations imports as CSL-JSON. A CSL-JSON item or array separated from other citations by blank lines was read as free text, so the JSON itself became a title. It now imports the same way as when it is pasted alone, and JSON that is not CSL-JSON gets the same notice and stays in the form. (#309)
Internal
- A plain
npm ciinstalls the dependencies. It failed on a clean checkout, becauseeslint-plugin-import,-jsx-a11y, and-react(pulled in by@wordpress/eslint-plugin) declare peer ranges that end at ESLint 9, and the repo uses ESLint 10. CI always passed--legacy-peer-deps. A new.npmrcmakes that the default, so local installs resolve the same way as CI;.distignorekeeps it out of the plugin. (#300)
What's Changed
v1.21.0
Added
- Storybook for the editor components (development only).
npm run storybookshows the structured citation editor, the reorder controls, the editor notices, the heading alignment menu, and the repeated-authors setting in their different states, such as a journal article, a book, and manual entry, or each style's repeated-author choices, without a WordPress site.npm run test:storybookbuilds it and renders every story in Chromium, failing on an error or an axe accessibility violation; CI runs it in the a11y job, and onmaindeploys the checked build to GitHub Pages (the README's Storybook badge, https://dknauss.github.io/Borges/storybook/). Nothing ships in the plugin: the release ZIP copies only its runtime files. Seedocs/storybook.md.
Changed
- Heading alignment moved to the block toolbar. The "Heading Alignment" sidebar setting from 1.20.0 is now an "Align heading" menu in the block toolbar, where core blocks such as Heading and Paragraph keep text alignment, which also shortens the block's sidebar. It shows while the block has a visible heading and offers the same two choices, Center (the default) and Start. Only the control moved: the setting is still stored as
headingAlign, saved markup is unchanged, and the write routes, read routes, andwp borges listwork as before. Core'stypography.textAlignsupport was considered and not used, since it would store the alignment differently and its support key has changed names across the WordPress versions Borges supports.
Fixed
- Bibliographies sent by email no longer show bullets. WordPress.com and Jetpack newsletters build their emails from the saved post, without the block's stylesheet or the plugin's email filters, so unordered bibliographies arrived as bulleted lists with a 40px indent. Saved unordered lists (every style except the numbered IEEE and Vancouver, and each of OSCOLA's tables) now carry
style="list-style:none;padding-left:0;margin-left:0"inline. WordPress.com's email renderer puts its own list styles first, so these win: no bullets, flush left. Numbered lists keep their numbers. On the web nothing changes, since the stylesheet already sets the same, and the<li>s carry no inline style, so the hanging indent is the site's to set. The PHP save port, used by the write routes, writes the same markup. Existing posts keep valid blocks through a deprecation and pick up the change when next saved in the editor; until then, email and feeds the site sends itself (bibliography_builder_portable_markup()) add the same style to their lists.
What's Changed
- Move heading alignment to the block toolbar by @dknauss in #286
- Add Storybook for the editor components, with a story a11y check in CI by @dknauss in #287
- Roadmap: more Storybook stories by @dknauss in #289
- Save unordered bibliographies with an inline no-bullet style for email (1.21.0) by @dknauss in #288
Full Changelog: v1.20.0...v1.21.0
v1.20.0
Added
- Repeated authors setting. A new block setting, "Repeated authors" (
repeatedAuthorMark), chooses how an entry by the same authors as the entry before it begins. MLA 9 and OSCOLA 5 blocks can write the names out instead of using their marks; Chicago blocks can use the 17th edition's 3-em dash (———.), and ABNT blocks NBR 6023:2002's underscore line (______.), for writers and journals that still ask for them. Screen readers hear the names, and copied text and exports keep them. Existing blocks save exactly as before. The write routes' settingsPATCH, the read routes, the abilities, andwp borges listcarry the setting. (#242) - Harvard citations can be pasted as text. A Harvard reference with no DOI or other identifier, in the Cite Them Right form Borges's Harvard style prints, is now read into its fields: journal articles, books (with edition and place), chapters in edited books, conference papers, arXiv preprints, encyclopedia entries, and web pages with or without an author, along with their
Available at:links and access dates. Before, every Harvard reference got the "Paste a DOI…" notice. Pasting into a Harvard bibliography tries the Harvard reading first; in other styles it is tried after the others, so APA citations (with a full stop after the year) are read as before. Like APA, these show "Check the fields before publishing" under the entry. (#231) - IEEE and Vancouver citations can be pasted as text. IEEE references (initials-first names such as "C. R. Harris", quoted titles,
vol.,no.,pp.,[Online]. Available:links andAccessed:dates) and Vancouver references (names such as "Harris CR",Journal. 2020;585(7825):357-62.,In:chapters,[Internet]pages with[cited …]dates,Available from:links, and PMIDs) with no identifier are now read into their fields: journal articles, books with edition, place, and editors, chapters, conference papers, preprints, theses (IEEE), encyclopedia entries, and web pages. Vancouver's shortened page ranges are written out ("357-62" is stored as 357-362, which the style shortens again). As with Harvard, pasting into an IEEE or Vancouver bibliography tries that style first, these entries ask you to check the fields, and the list numbers ("[1]", "1.") are dropped. (#231)
Changed
- The bibliography heading is centered again, with a Heading Alignment setting. APA 7, MLA 9, Chicago, Turabian, and ABNT all center the reference list heading, so it is centered by default once more, including in bibliographies saved by 1.19.x. A new block setting, "Heading Alignment" (
headingAlign), sets it back to the start of the line (left in left-to-right languages), in line with the entries and a theme's section headings, as 1.19.0 had it. The centered default uses:where()around the block wrapper, so it has the specificity of one class and a theme can set its own alignment with any rule on.bibliography-builder-heading(Bad Sector keeps it start-aligned this way); the setting's Start keeps the full selector, so a choice made on the block still wins. Saved markup is unchanged unless you choose Start, so existing blocks stay valid without a deprecation. Email and feed output follow the setting, and an<h2>–<h6>heading now carries its alignment inline too. The write routes' settingsPATCH, the read routes, andwp borges listcarry the setting. - Clearer "Citations in this post" panel. It now says "in-text citations", "out of date with the current style or numbering", and "edited by hand" instead of code-side terms; with no citations yet it says where Cite is (the block toolbar's More menu); and the checkbox, now "Also update citations I edited by hand", says that your wording will be replaced. The update notice says "hand-edited" to match. (#269)
Fixed
POST /bibliography/v1/formatsays when a request sends no citations. A body without acslItemslist (a misspelled key, an empty body, or a value that isn't a list) used to get200with no entries, which looked the same as a bibliography with nothing to format. It now gets400(bibliography_builder_formatter_missing_items) naming the key.items, the name the write routes and abilities use, is accepted as an alias, and an emptycslItemslist still returns200. The route's parameters now show in the REST index. The editor always sendscslItems, so it is unaffected. (#272)- The "Try the current main build" Playground demo no longer fails with "Could not download required files". Its blueprint fetched the main build's ZIP through Playground's CORS proxy, which sometimes stalls. CI now also deploys that ZIP to GitHub Pages, which sends CORS headers, and the Main build and write-API blueprints install it from there directly. See
docs/playground-main-preview-hosting.md. - PubMed and PubMed Central records print cleanly. Names NCBI sends as bare initials now get their periods ("Zhao, C, and KG Claeys" reads "Zhao, C., and K. G. Claeys" in Chicago; "Kristien G" becomes "Kristien G."), an issue sent as "Pt 8" prints as "8", and a journal title with an NLM subtitle ("Brain : a journal of neurology") prints as the journal names itself ("Brain") when the record's short title says so. The cleanup runs once, as the record arrives, in the
GET /pmidandGET /pmcidroutes (cached records included) and in the editor, so REST clients get the same record. Entries already in a bibliography are unchanged; paste the PMID again to refresh one. (#270, #271) - Pasted citations the editor can't read are turned away instead of read wrongly. A labelled journal article in IEEE, ABNT, or MLA form ("vol. 12, no. 3, pp. 34–43") pasted with no DOI was read as a book, with the volume and issue in its title and the page range as its publisher. ABNT and MLA ones now get the "Paste a DOI…" notice, as other citations the editor doesn't read do, and IEEE ones are read as articles (see Added). A numbered entry ("[1] …", "12. …") is read without its number, which used to end up in the first author's name. Citations read by the parser's less certain patterns (chapters, web pages, APA-style books and articles, and articles with "et al." or semicolon-separated authors) now show "Read from pasted text without an identifier. Check the fields before publishing." under the entry and count toward the import notice's "Review N imported records"; editing the entry's fields clears it. (#231)
What's Changed
- docs: link the footnote-mode roadmap entry to #243 by @dknauss in #265
- Clarify the "Citations in this post" panel wording by @dknauss in #269
- Free-text parser: scope more input styles, and fail closed on misread citations (#231 Phase 0) by @dknauss in #267
- Free-text parser: read Harvard citations, with the block's style as a hint (#231 Phase 1) by @dknauss in #274
- Add a manual live probe for the Playground demo links by @dknauss in #273
- Add a "Repeated authors" block setting (repeatedAuthorMark) by @dknauss in #268
- Center the bibliography heading by default, with a Heading Alignment setting by @dknauss in #278
- Free-text parser: read IEEE and Vancouver citations (#231 Phase 2) by @dknauss in #276
- Let themes override the bibliography heading's centered default by @dknauss in #277
- Clean up NLM initials, "Pt" issues, and journal subtitles in PubMed records by @dknauss in #280
- Serve the main-preview ZIP from GitHub Pages for the Main build demo by @dknauss in #279
- Probe: log requests to the GitHub Pages host by @dknauss in #281
- Return 400 from /format when the body has no cslItems list (#272) by @dknauss in #283
- Run the Playground live probe daily, and document the self-hosted Playground experiment by @dknauss in #282
- Release 1.20.0 by @dknauss in #284
Full Changelog: v1.19.1...v1.20.0
v1.19.1
Changed
- The
readme.txtchangelog lists 1.10.0 onward and links to this file for earlier versions. At 5,202 words it was over wordpress.org's 5,000-word limit, so the plugin page was silently cutting off the oldest entries.
Fixed
- OSCOLA tables of legislation and treaties print titles in roman. The short titles of Acts and statutory instruments and the names of treaties were italicized in their tables; OSCOLA 5 leaves them roman, as it does case names in the table of cases. OSCOLA blocks saved by 1.17.0 through 1.19.0 still open without a validation error and switch to roman the next time they are saved. (#246)
- OSCOLA statutory instruments keep their SI number. A
regulationprinted only its title; it now reads "Air Navigation Order 2016, SI 2016/765" (OSCOLA 5 §2.5). Saved entries keep their text until they are formatted again, for example by switching the style or editing the entry. (#247) - JSON-LD author names keep their particles. A person's
namein the structured data left out a name particle, so "Sérgio Buarque de Holanda" read "Sérgio Buarque Holanda" and "Ludwig van Beethoven" read "Ludwig Beethoven". As the page renders,namenow carries the given name, particles, family name, and suffix as the entry shows them, andfamilyNamekeeps a non-dropping particle ("van Beethoven"); editors and translators get the same. Published posts are corrected without being re-saved, and the saved markup is unchanged. (#248) - After Update citations, the "Citation style changed" snackbar is dismissed, so it no longer sits beside the result still saying citations use the old style.
What's Changed
- Dismiss the style-change snackbar after updating citations by @dknauss in #261
- Trim the readme.txt changelog under wordpress.org's word limit by @dknauss in #262
- Fix OSCOLA table italics, OSCOLA SI numbers, and JSON-LD name particles by @dknauss in #263
- docs: add note and footnote mode to the roadmap backlog by @dknauss in #264
- Release 1.19.1 by @dknauss in #266
Full Changelog: v1.19.0...v1.19.1
v1.19.0
Added
-
In-text and margin citations. A new Cite control in the rich-text toolbar links a short citation in any paragraph, heading, list item, or quote to an entry in a bibliography on the same post, so it works in a theme's margin-note paragraph style (a sidenote or gloss) as well as in running text. It lists every entry of every bibliography in the post, searchable by author, year, or title, with an optional page or other locator. The short form follows the bibliography's style: a Chicago short note ("Illich, Tools for Conviviality, 12") for Chicago notes and OSCOLA, "(Illich 1973, 12)" for author-date styles ("(Illich 12)" in MLA), and "[2]" for IEEE and Vancouver. The citation is a plain link to the entry's
#ref-…anchor, so it works with no script on the page and survives WordPress's HTML filtering for every role; it is ordinary post text you can edit after inserting it. Selected text can be kept as the link text or replaced. The bibliography block's saved markup is unchanged. A link breaks if its entry is deleted (even if pasted again) or its block is duplicated, since those entries get new IDs; style changes, re-sorting, and edits keep them.Citations can be brought up to date after a style change. Each citation saves its page, chapter, or section as
data-locator, and the Cite popover fills it in again when reopened. The bibliography's sidebar gains a "Citations in this post" panel that counts the citations pointing at it and has an Update citations button; changing the style also offers Update citations in a notice. The update rewrites every citation the editor wrote, in any block, nested ones included, in the current style and numbering, keeping its locator, as one step you can undo. Citations you reworded are left alone unless you tick "Also replace citations I reworded". Citations made before this change have no saved locator; it is read back from their text when it matches a short form, and saved. Citations whose entry is gone are left alone and counted. With two citations side by side ("[1][2]"), updating or removing one no longer changes the other. -
Annotated bibliographies. The entry editor and manual entry gain an "Annotation" field for your own note on a work: what it argues, why it matters, how you used it. Paragraphs are separated by a blank line, and the note is stored as plain text in the entry's CSL
annotevariable ("reader's notes about the item content" in CSL 1.0.2), so editing it never resets a hand-edited display line. A new block setting, "Show annotations" (off by default), prints each note under its entry as one<p class="bibliography-builder-annotation">per paragraph, indented to line up with the entry's wrapped lines, and also in newsletters and feeds. Notes stay out of the copied citation text, plain-text copies, COinS, and JSON-LD. CSL-JSON keepsannote, BibTeX writesannote, BibLaTeXannotation, and RIS anN1line (in the per-entry Cite / Export RIS only while notes are shown). BibTeXannoteand BibLaTeXannotationimport as annotations with their paragraphs kept, as doesannotein pasted CSL-JSON; RISN1stays a note and abstracts stay abstracts. With the setting off, or with no annotations, a block saves exactly what it did before, so existing blocks need no deprecation. Annotations are part of the entry's data, so the CSL-JSON and BibTeX exports carry them even while they are hidden. The REST read model, the write routes, andwp borges listgainshowAnnotations. -
Microformats for each entry. As a page renders, each bibliography entry becomes an
h-cite, so IndieWeb tools (webmention receivers, readers, and other microformats parsers) read the bibliography as a list of citations: its title, each author as anh-card(with an ORCID iD as its link), the date to the precision the record has, the DOI ashttps://doi.org/…, the URL, the journal or book it is in, and the publisher. The values sit in hidden<data>elements, so the visible entry and what screen readers announce are unchanged. Published posts get it without being re-saved, and feeds and email leave it out. The newbibliography_builder_enrich_microformatsfilter turns it off. -
Journal abbreviations in the RIS export. The per-entry Cite / Export RIS and the bibliography's RIS download now carry a record's journal abbreviation (CSL
container-title-short, or Zotero'sjournalAbbreviation) as aJ2line after the journal's full title, where Zotero, Mendeley, and EndNote read it. A record without one has noJ2line. -
Sentence case in Harvard. Cite Them Right asks for titles with only the first word and proper nouns capitalized, the subtitle included ("Cite them right: the essential referencing guide"), so Harvard now prints titles of works and of the book a chapter is in the way APA and Vancouver do, from a converted copy; journal names keep their capitals, and the stored title never changes. The "Keep title capitalization as entered" checkbox covers the proper nouns the conversion can't recognize. Existing blocks keep their stored text until their entries are next formatted.
Changed
-
Full citation records in Yoast SEO's graph. With Yoast SEO, the Article's (or WebPage's) schema.org
citationnow carries each cited work's whole record, the same one the bibliography'sItemListhas: authors, DOI, ISBN, journal, volume, pages, publisher, andsameAslinks. It used to carry only the type,@id, and title, and Yoast's schema aggregator and NLWeb (both the crawler and its WordPress plugin's MCP answers) read only Yoast's graph, so a local trace with nine works found 12 of 78 field values reached them; now all 78 do. Yoast's script grows accordingly (7.6 KB to about 29 KB on the test page). Thebibliography_builder_yoast_citation_recordsfilter returns to the short references when it returns false. Rank Math and the WebPage node Borges prints without an SEO plugin keep the short references. -
The bibliography heading is start-aligned. It was centered by the block's stylesheet, which sat oddly above left-aligned entries and next to a theme's left-aligned section headings. The editor preview and the email output follow. A heading you had styled yourself is unaffected.
-
The Cite / Export RIS change alters saved markup for entries with a journal abbreviation, so the block gains a deprecation for the 1.18.0 shape (
tests/fixtures/deprecations/v18-deprecated.html). Existing blocks stay valid. -
MLA's repeated-author hyphens, OSCOLA's double em dash, and OSCOLA's date order for one author's works are now set per style in
includes/styles.json(repeatedAuthors,chronologicalAuthors), which the editor and the PHP port ofsave()both read, instead of being written into the code by style name. Output is unchanged. -
The Playground demo page now has one example bibliography per citation style (nine, adding Chicago Author-Date, MLA 9, Harvard, Vancouver, OSCOLA with its tables of primary sources, and ABNT), and each names the block settings it shows: per-entry Cite / Export, every machine-readable output on and off, heading levels from Paragraph to H4 and an empty heading, and a block font size. The Cite / Export example links straight to its place on the published page. The paste samples add RIS records and a CSL-JSON document, so every input format is there to try.
Fixed
- Citations in Yoast SEO graphs built outside the page request. Borges adds the cited works to Yoast's Article (or WebPage) piece as schema.org
citation, but it looked the post up from the main query, so a graph Yoast built for another caller came without them. NLWeb's WordPress plugin is one such caller: it asks Yoast for each post's graph (YoastSEO()->meta->for_post()) to answer agents over MCP, and its answers carried no citations. Borges now reads the post from the context Yoast passes with each piece. The page's own JSON-LD and Yoast's schema aggregator were not affected. Thebibliography_builder_json_ld_page_urlfilter gains the post as a second argument.
What's Changed
- markup-value: add GPT-6.1 (Codex) to the language-model results by @dknauss in #233
- Add style reference checks and a style verification plan by @dknauss in #237
- Show every style and block setting in the Playground demos by @dknauss in #238
- Follow-ups to #236: style rules in styles.json, RIS J2, Harvard sentence case, live abbreviation check by @dknauss in #249
- Left-align the bibliography heading by default by @dknauss in #251
- SPEC: plan annotated bibliographies, margin citations, and h-cite by @dknauss in #255
- Mark bibliography entries as h-cite microformats by @dknauss in #257
- Add annotated bibliographies by @dknauss in #258
- Add in-text and margin citations by @dknauss in #256
- Demo: in-text citations and annotations by @dknauss in #259
- Read the post from Yoast's context when adding citations by @dknauss in #252
- Put full citation records into Yoast SEO's graph by @dknauss in #254
- Trace citation metadata through Yoast SEO and NLWeb by @dknauss in #253
- Release 1.19.0 by @dknauss in #260
Full Changelog: v1.18.0...v1.19.0
v1.18.0
Added
- OSCOLA repeated authors. In an OSCOLA bibliography, one author's works now come oldest first, then by title within a year, and after the first of them the author's name becomes a double em dash, as OSCOLA 5 §1.7 asks: "—— Punishment and Responsibility (OUP 1968)". Works the author wrote with others follow, by co-author, with the dash for the first author only ("—— and Honoré AM, Causation in the Law (OUP 1959)"). Screen readers hear the name, as with MLA's hyphens. The dash is saved as two U+2014 characters, which WordPress's typography filter leaves alone. It applies only when the entries start with the name exactly as OSCOLA writes it, so manual display text and anything in doubt keep the full name.
- Journal abbreviations in IEEE and Vancouver. Both manuals cite a journal article by the journal's abbreviated title, and now Borges does too when the record has one (CSL
container-title-short): IEEE prints it as stored ("J. Libr. Syst."), Vancouver without periods, as NLM writes them ("J Libr Syst"). A record without one prints the full title, as before. The abbreviation comes from the source when it supplies one (CrossRef and PubMed records, an RISJ2, a BibLaTeXshortjournal, or Zotero'sjournalAbbreviationin pasted CSL-JSON); Borges does not look it up. A new "Journal abbreviation" field in the entry editor sets it by hand. It is italicized where the full title would be. - Sentence case in APA, Vancouver, and IEEE. All three manuals print the titles of articles and books in sentence case ("The origin of species: A new look"), but CrossRef and most imports supply title case. The formatter now converts a copy of the title for these styles; the stored title is never changed, so switching the block to Chicago or MLA brings the capitals back, and the JSON-LD, COinS, and exports keep the title as entered. APA and Vancouver convert the titles of works and of the book a chapter appears in, but not journal names, proceedings (a conference's name), legal sources, or software; IEEE converts only the titles it quotes (articles, chapters, papers) and leaves book titles in title case; Vancouver lowercases the first word after a colon, as NLM does. Acronyms, words with inner capitals (DNA, COVID-19, iPhone, McCarthy), "I" and its contractions, and single capitals (vitamin A) keep their capitals, a title already in sentence case is left alone, and so is one whose CSL
languageis not English. Languages and nationalities, countries and continents, Canadian provinces and territories, US states, months, and days keep their capitals ("The making of the English working class", "Vaccination in Alberta and British Columbia"), and a site can add its own words with thebibliography_builder_sentence_case_proper_nounsfilter. Names that are also common words (May, March, Turkey, China) are left out of that list. Any other proper noun that reads like an ordinary word cannot be told apart ("Darwin and Wallace" prints as "Darwin and wallace"), so the entry editor and manual entry gain a "Keep title capitalization as entered" checkbox, stored in the entry's CSLcustomobject. Existing blocks keep their stored text until their entries are next formatted. - Server-Timing on the formatter route.
POST /bibliography/v1/format(editors only) now reports where its time goes: WordPress before the route, sanitizing, cache lookups (with how many entries the caches answered), rendering, cache writes, and the whole callback. Browser developer tools show it, andscripts/time-format-route.shaddsserver_p50_msandwp_p50_msto its lines (SERVER_TIMING=1prints each header), so a slow round trip on a real host can be split into Borges, WordPress, and the network.
Changed
-
The bibliography heading takes its size and weight from the theme's headings, so a "Sources" h3 matches the theme's other h3s, such as a "Notes" heading above it. It was set to 1.25em at weight 600, which no theme's headings matched. It stays centred, and the block's Typography panel still sets its size.
-
List indents use logical properties (
padding-inline-start,inset-inline-start). Right-to-left sites already got mirrored indents from the generated-rtl.css; now a right-to-left bibliography on a left-to-right site (a block or container withdir="rtl") indents from the right too. -
The changes above alter saved markup for OSCOLA lists with two works by one author, for author-date lists with two undated works by one author, and for entries whose title is in their text in another case but not marked italic (
save()now looks for a title without regard to case when it is not there as stored), so the block gains a deprecation for the 1.17.0 shape (tests/fixtures/deprecations/v17-deprecated.html). Existing blocks stay valid. -
tools/markup-valuescores Borges's own free-text parser beside AnyStyle (npm run borges-parser, and innpm run sweep), anddocs/free-text-parsing.mdrecords the comparison, what AnyStyle is, and why Borges doesn't run it. -
CI runs the three Playwright suites as parallel jobs that no longer wait for the Quality job, restores
node_modules, the Playground CLI, Chromium, and WordPress downloads from cache, and cancels a pull request's superseded runs. -
New bibliographies start with a real heading. A newly inserted block's visible heading ("Works Cited", "References") is now an
<h2>, so it appears in the page's heading outline where screen reader users navigate. It was a paragraph unless the author chose a level. Existing blocks keep what they were saved with, and the Heading Level setting can still set any block back to Paragraph or to H3–H6. A site can choose another level for new blocks with thebibliography_builder_new_block_heading_levelfilter (0 for a paragraph, or 2–6). -
Citation links no longer carry
nofollowornoreferrer. Links in entries (a DOI, a URL) were saved withrel="nofollow noopener noreferrer", which told search engines not to trust the works the author cites and hid each citation from the cited site's referrer logs. They now carryrel="noopener". Already-saved posts get the new value as they render, so no deprecation is needed. A site that wants the old advice to search engines can return'nofollow noopener'from the newbibliography_builder_citation_link_relfilter (an empty string drops the attribute). -
The bibliography is named by its visible heading. When a block has a heading, the section's accessible name now comes from it through
aria-labelledby, rather than a copy of the text inaria-label, so translation tools and screen readers see one name, not two. The heading gets anidbuilt from the block's stablebibliographyId. A block with no heading, or one saved before it had an ID, keepsaria-label. Already-saved posts are upgraded as they render.
Fixed
- Two undated works by the same author now sort by title in author-date styles (APA, Chicago author-date, Harvard, ABNT). The editor kept them in the order they were added while the PHP port of
save()(write routes, bulk reformat, WP-CLI) sorted them by title, so a bibliography written through the REST API could differ from the one the editor saves. - Bibliography headings in newsletters and feeds. The default heading ("Works Cited", "References") is a paragraph the block's stylesheet sets larger, semibold, and centered. Email clients and feed readers show posts without that stylesheet, so it read as plain body text. Email and feed output now carry the same styles inline and set the heading in bold. A heading level of H2–H6 is unchanged; email clients style those themselves.
What's Changed
- Compare Borges's free-text parser with AnyStyle; document free-text parsing by @dknauss in #229
- Tidy the 1.17.0 changelog by @dknauss in #230
- Roadmap: free-text parser expansion next; triage the deepmerge alert by @dknauss in #232
- markup-value: results on the released 1.17.0 by @dknauss in #234
- Speed up CI: parallel Playwright suites, dependency caches by @dknauss in #235
- Style the default bibliography heading in newsletters and feeds by @dknauss in #239
- Start new bibliographies with an h2 heading by @dknauss in #240
- Send Server-Timing from /format and report it in the route timer by @dknauss in #241
- OSCOLA 5 repeated authors, IEEE/Vancouver journal abbreviations, sentence case for APA/Vancouver/IEEE by @dknauss in #236
- Drop nofollow/noreferrer from citation links; name the bibliography by its heading by @dknauss in #244
- Release 1.18.0 by @dknauss in #245
Full Changelog: v1.17.0...v1.18.0
v1.17.0
Added
- OSCOLA tables of primary sources. An OSCOLA bibliography that cites cases, legislation, or treaties now lists them as OSCOLA 5 (§§1.6–1.7) asks: a table of cases, then legislation (statutory instruments after statutes), then treaties, then the bibliography of secondary sources. Each table has its own label, one level below the block heading, and the editor, plain-text exports, the write routes, and bulk reformat show the same tables. Case names in the table of cases stay roman, and "Re X" files under X. Existing OSCOLA blocks stay valid and take the new shape the next time they are edited; bibliographies of secondary sources alone, and every other style, are unchanged.
- Cited works linked from the page on every site. Without Yoast SEO or Rank Math, Borges now prints the page's own
WebPagenode with the cited works as schema.orgcitation, the link it already adds to those plugins'Article. Thebibliography_builder_link_page_citationsswitch covers it, and the newbibliography_builder_page_citation_nodefilter can change or drop it.
Changed
- COinS says what kind of work each entry is. Each COinS span now carries its OpenURL genre and the fields that format has room for, so Zotero's browser connector imports a chapter as a book section with its pages, a conference paper or report with its proceedings or report title, publisher, and place, a book with its edition, a journal article with its ISSN, and every entry with its URL. Editors and translators are still left out, since OpenURL has no place for them. Saved posts need no change;
bibliography_builder_enrich_coinsturns this off. - Encyclopedia and dictionary entries name their reference work in the JSON-LD, as
isPartOf, so a citation of a Britannica or Wikipedia entry keeps its container.
Fixed
- Google's Rich Results Test no longer marks bibliographies invalid. It reads the bibliography's
ItemListas a carousel, where aListItemmay carryurloritembut not both. Entries now carryitemalone; each work's@idstill points at its entry when it has no DOI. - VoiceOver reads the bibliography as a list again. Safari stops treating a list as a list when its markers are hidden, so VoiceOver read each entry as plain text, with no "list, 12 items" and no "7 of 12". The lists now carry
role="list", added as the block renders, so saved posts need no change (#226). - arXiv numbers print once in APA 7 and IEEE, not as "arXiv:arXiv:1706.03762". The stored record and its exports keep the prefix; existing citations print correctly the next time they are formatted (#224).
Internal
- The OSCOLA change adds a deprecation for the 1.16.0 markup (
src/deprecated.js,tests/fixtures/deprecations/v16-deprecated.html). tools/markup-valuebuilds its test pages from any corpus, style, and folder (MV_CORPUS,MV_STYLE,MV_OUT);npm run sweepmeasures every style;corpus-marginalia.jsonadds a real reference list of 36 works; real token counts (o200k_base) sit beside the estimate;npm run parserandllm-baseline.mjsscore what AnyStyle and language models recover from the plain list; and COinS is read through Zotero's own OpenURL reader, field by field.
What's Changed
- Save OSCOLA bibliographies as OSCOLA 5 tables by @dknauss in #220
- COinS: say what kind of work each entry is, and carry its fields by @dknauss in #221
- markup-value: real token counts and a citation-parser baseline by @dknauss in #222
- JSON-LD: page citation edges without an SEO plugin, no ListItem url; broader markup-value tests by @dknauss in #223
- Print arXiv numbers once in APA 7 and IEEE by @dknauss in #225
- Keep the bibliography a list for VoiceOver in Safari by @dknauss in #227
- Release 1.17.0 by @dknauss in #228
Full Changelog: v1.16.0...v1.17.0
v1.16.0
Added
- RIS import. Paste a reference manager's RIS export, a whole
.risfile or single records, and each record imports as a citation. Records can sit in one paste with DOIs and formatted citations, and Zotero's CRLF line endings are fine. Borges reads RIS with@citation-js/plugin-ris(MIT, editor only), which follows the RIS specification as Zotero does; it also keeps a web page'sY2access date, which the plugin drops. Tested against Zotero 10 and Mendeley Reference Manager RIS exports in the reference-manager corpus, the sample library they were made from (checked against Zotero's own CSL JSON of it), and a round trip through Borges's RIS export. wp borges duplicates. A read-only report of repeated citations across the whole site, or in the posts you name: one row per later copy of a work in the same bibliography (whatwp borges deduplicatewould remove) and per work listed in two bibliographies of one post (which deduplicate leaves alone). It changes nothing, and follows the read commands' rules: no--userchecks no capabilities, and--userskips posts that user cannot edit. Seedocs/wp-cli.md.
Changed
- Bulk deduplicate keeps every field. Before it drops a later copy of a work, it copies any field the kept copy lacks, such as a DOI, pages, or a volume, into it, and formats that entry again. A field the kept copy has is never overwritten. Each removed entry lists what it gave in
mergedFields, andwp borges deduplicategains amergedcolumn. - Development dependencies refreshed to clear the
zod(GHSA-mrhx-c7xc-m3w5),qs,serialize-javascript,katex, andsmol-tomladvisories.@wordpress/scriptsmoves from 31 to 37, which retires the interimzodoverride, andtools/markup-valuemoves to Lighthouse 13.5.0. None of them ship in the plugin. - Build tooling:
@wordpress/scripts37 lints with ESLint 10, so the repo gains a flateslint.config.jsthat keeps Jest's rules and globals for tests (the default now assumes Vitest), andnpm testruns Jest throughwp-scripts test-unit-jest. Catch bindings that were never read are dropped, JSDocFunctionand*types are spelled out, and the visually hidden styles useclip-path: inset(50%)in place of the deprecatedclip. - Code style: JavaScript and JSON now follow the WordPress JavaScript coding standards' spacing inside parentheses and brackets (
foo( bar[ 0 ] )). The repo formats withwp-prettier, the fork@wordpress/scriptsuses, in place of upstream Prettier 2.8. The reformat changes only spaces and line breaks. - Containers in JSON-LD for magazines, newspapers, and the web. As a page renders, a magazine or newspaper article's JSON-LD is now part of a schema.org
Periodical(with its ISSN, volume, and issue, as journal articles already were), and a web page or blog post part of aWebSite, each named by the citation's container title. Before, those container titles were left out of the structured data (#204). - Conference papers in JSON-LD. A conference paper is now part of its proceedings, a
Book, rather than anEvent, which schema.org'sisPartOfdoes not accept. The conference itself, from the citation's event title and place, is linked throughrecordedAt(#205). - Every author and the PMID in COinS. As a page renders, each entry's COinS span now lists every author after the first, in order, as
rft.au, and a PubMed ID (rft_id=info:pmid/…), so Zotero's browser connector and other COinS readers import the whole author list. The first author keepsrft.aulastandrft.aufirstand is not repeated, which in Zotero listed it twice; when a later author shares its last name, every author is written asrft.auinstead. Organizations and one-part names after the first author are written asrft.auwith a trailing comma, so Zotero keeps them whole and in place (it moves everyrft.aucorpname to the front). Checked against Zotero's own OpenURL reader (tools/markup-value,npm run zotero). The newbibliography_builder_enrich_coinsfilter turns this off (#206).
All three apply at render time, like the 1.13.0 JSON-LD enrichment: saved blocks are unchanged and stay valid, and published posts get the fields without being edited.
Fixed
- Titles with straight apostrophes are italicized. A book title or journal name stored with a straight apostrophe or straight double quotes, such as "Ted Nelson's Computer Paradigm", now saves in italics. citeproc prints those marks curly (’ “ ”), so the stored title was not found in the formatted entry and stayed roman; titles are now matched with quotation marks folded, in
save()and its PHP port alike. A saved bibliography stays valid and takes the italics the next time it is edited (#192). - BC years in CSL-JSON. A pasted CSL-JSON date whose BC year is a string, as Better CSL JSON writes it (
"date-parts": [["-334"]]), now imports as the integer -334, on the editor and REST sides alike. Before, the year was dropped: a year-only date was refused, and a full date kept only its month and day. Found in Better BibTeX's own export tests (the reference-manager corpus). - Years before 1000 in every style. The formatter's library (citeproc-php) printed nothing for any year below 1000, so "Aristotle. Politics. 334 BCE." and Bede's 731 lost their dates. Such a date is now printed as its year alone, "334 BCE" (ABNT: "334 AEC"), "731", or "100–44 BCE" and "4 BCE–30 CE" for a range; month and day are left out. Saved bibliographies keep their stored text and pick this up the next time they are formatted.
- Notes styles put a single author first. In Chicago notes-bibliography and OSCOLA, a single-author work now sorts before co-authored works that begin with the same name, so "Gessner, Conrad" precedes "Gessner, Conrad, and Josias Simler", as CMOS 17th ed. 14.67–14.70 asks. Co-authored works then sort by their next author, and different authors who share a family name (Smith, Adam and Smith, John) sort by given name, not by title. This is the author-chain comparison author-date styles already used, in
save()and its PHP port alike. A saved bibliography stays valid and takes the new order the next time it is edited (#212). - ABNT sorts titles without Portuguese leading articles. A reference that opens with its title now files under the first word after O, A, Os, As, Um, Uma, Uns, or Umas, so "O Guarani" sorts under G, as ABNT's alphabetical-order standard NBR 6033 (§3.4, "Artigos iniciais") asks; English A, An, and The were already skipped, in every style. Same-author works with the same year are lettered in that order. Other styles are unchanged. A saved ABNT bibliography stays valid and takes the new order the next time it is edited.
- Comments in JabRef files. Pasting a whole
.bibfile that holds@string,@comment, or@preambleblocks no longer reports the plain-text comments between its entries as citations Borges couldn't read, or leaves them in the paste box. BibTeX ignores text outside entries, and JabRef keeps such comments in the files it saves. Pastes without those blocks still read text between entries as citations. - Thesis and report types from BibTeX. A BibTeX
@mastersthesis,@phdthesis, or@techreport, or a BibLaTeXtypeholding a standard type key such asmathesisorpatentde, now imports with a readable genre ("Master's thesis", "PhD thesis", "technical report", "German patent"). Before, the bare key was stored, so a style that prints the genre showed "[mathesis]". Found in Zotero's own BibTeX export. - EndNote BibTeX without cite keys. EndNote's BibTeX export can write entries with no key (
@article{straight into the fields), and Mendeley writes@misc{,for an item without one. Borges couldn't read either; it now imports them, and export builds a key from the author and year. - Pasted XML exports. Pasting an EndNote XML or Word bibliography XML file saved the markup as a free-text citation. Borges now says it can't read XML exports and suggests BibTeX or CSL JSON.
- Place of publication from Mendeley BibTeX. Mendeley Reference Manager writes the place into a nonstandard
cityfield, which was dropped, so its books, chapters, and reports imported with no place. Borges now readscitywhen the entry has noaddressorlocation. Only field names count, never text inside a value, so a title such as "Why city = culture matters" imports unchanged, and a value that mentionsaddress =does not block the place.
Testing
- Real reference-manager exports.
src/lib/reference-manager-corpus.test.jsruns real exporter output through the parser: 13 files from Better BibTeX's own tests (Better BibTeX, Better BibLaTeX, and Better CSL JSON) and a JabRef database file, both MIT-licensed.manifest.jsonrecords each file's source, license, and expected entry and error counts, and the suite snapshots the CSL-JSON every file yields. Maintainers' own exports go incontributed/, which now holds Zotero 10's BibTeX, BibLaTeX, CSL JSON, and RIS exports of a 12-work sample library (contributed/borges-sample.ris), and Mendeley Reference Manager 2.150's BibTeX and RIS exports of the 9 works its RIS import kept; see the corpus README. Public EndNote samples: a user's EndNote BibTeX export from Better BibTeX's import tests, and an EndNote 20 XML export from JabRef's tests.
What's Changed
- chore(deps-dev): bump the npm_and_yarn group across 1 directory with 2 updates by @dependabot[bot] in #187
- Add real reference-manager exports to the parser corpus by @dknauss in #195
- Add wp borges duplicates and fill kept copies in bulk deduplicate by @DKnA...