Repository navigation
Releases
Releases · pan4ratte/obsidian-citation-suite
2.3.1
Enhancements and bug fixes
- The settings dashboard cards are no longer squashed on phones and tablets, and their titles no longer break onto a second line. A card left alone in its row stretches to the full width.
- The settings dashboard with the changelog and the user guide now shows on phones too.
2.3.0
New options
- Replacing changed citation keys. If Better BibTeX gave a source a new key and the note still cites the old one, the "Bibliography" tab shows both keys and replaces the old ones with one button, and a new command does the same in every note. The tooltip on the underlined key names the new key.
- Citations with the author in the text. Citations without square brackets are formatted the way Pandoc formats them:
@doe2020 saysreads "Doe (2020) says", and@doe2020 [p. 33] saysreads "Doe (2020, p. 33) says". Such citations count only if your library has a source with that key, so mentions like@namestay as they are.
Enhancements and bug fixes
- The panel in the settings is refreshed: Zotero's status, the changelog and the user guide are now separate cards with an icon and a title, Zotero's status is shown in colour, and the changelog's card shows the plugin's version. The Better BibTeX notices are cards with an icon and a title, and appear and disappear with an animation.
- If Better BibTeX makes a key anew every time a source is edited in Zotero, the plugin's settings warn about it and say which option to turn off: otherwise notes with the old key lose the source. The warning can be closed for good.
- Fixed a bug where an inline footnote
^[…]with a citation inside was formatted as a single citation as a whole.
2.2.0
New options
- Choosing the library when selecting sources in Zotero. Where the note's sources are spread over several Zotero libraries, the select button opens a menu naming them, each with the number of sources it holds, and the sources in the chosen library are selected.
UI/UX enhancements and bug fixes
- A source that is in several Zotero libraries at once is selected in any of them, not only in the one it was taken from for the bibliography.
- The new-version notice in the settings is gone, as it duplicated the "Changelog" button. The button now announces a new version itself: its icon is animated until the changelog is opened.
2.1.0
New features
- Building the bibliography from embedded notes. The bibliography pane now counts the sources cited in embedded notes (
![[note]], a heading's section or a block included) — where the embed stands, and however deep embeds are nested. - Selecting every source in Zotero. A new button in the bibliography pane selects all of the note's sources in Zotero's window. Zotero shows one library at a time, so where the sources are spread over several libraries, those in the library holding the most of them are selected.
UI/UX enhancements and bug fixes
- The bibliography pane starts reading the current note's citations when Obsidian starts, even while its tab is not open.
2.0.0
Major update: mobile devices support, as well as citation style and bibliography files from the vault
- Mobile support. Phones and tablets are now fully supported, thanks to the plugin scanning the vault for bibliography files (
.bibor CSL JSON) and citation style files (.csl) on its own. - Bibliographies from files in the vault. The plugin scans the vault, and where it finds bibliography files it offers them in its settings to choose from. This is what lets it be used not only on mobile devices, but on the desktop without Zotero. A note can name a bibliography of its own in its
bibliographyproperty (Pandoc's format), several files at once included. A note's own setting takes priority. - Citation styles from the vault. The plugin scans the vault, and where it finds citation style files it shows them in a section of their own in the list of styles. The style named in a note's
cslproperty takes priority. - Citing sources without Zotero. Where the bibliography chosen is a file in the vault, the citation window is opened without reaching for Zotero, but its interface and working follow Zotero's own. The suggestions while a key is typed (after
@) — that is, citing without opening the window at all — work without Zotero too.
UI/UX enhancements and bug fixes
- The setting "Style the citation preview in the style and language from the note's properties" is gone: the
csl,citation-styleandlangproperties take priority by default where a note fills them in. - The search and copy buttons on the bibliography pane were given animations.
- Fixed a bug that left the bibliography of a note reading its sources from a file in the vault a list of empty entries when a note reading from Zotero had been drawn before it.
- Fixed a bug that sometimes kept citations in footnote text from showing in Live Preview: a blank space was left in their place, and a citation only appeared after it was clicked.
- Fixed a bug that made a citation broken into parts by a line break cause an editor error.
1.2.0
New features
- Citation preview that takes the note's context into account. Citations are now formatted just as they will look after the note is exported: a repeated citation of a source is written in its short form or as "Ibid." if the style says so, and numbered styles number sources in order of first citation, just as the bibliography does.
- Unknown citation keys are marked. A key Zotero has no source for — one with a typo, say — is underlined with a wavy line in every view mode, even with no preview style chosen. The marking can be turned off in the settings.
- Suggestions while typing a citation key. Typing
@opens a list of sources from Zotero, filtered by key, title and author. The key picked is inserted in Pandoc format, and the suggestions can be turned off in the settings. - New options in the context menu of a source in the bibliography. The context menu of an entry on the "Bibliography" tab has a new "Open literature note" option — when the vault has a note named
@keyorkey, or with the key in itscitekeyproperty. The "Open PDF" option also lets you open the PDF attached to the source in Zotero's reader. - Style and language from the note's properties. When a note's properties give
csl(orcitation-style) orlang, the preview and the bibliography are styled the way exporting with Pandoc will style them: in that style, in that language and with locator labels in that language — withlang: ru-RU, for instance, Pandoc readsс. 33as a page and leavesp. 33as text. The style file is looked for where Pandoc looks for it, and the bibliography says which style and language come from the properties. This can be turned off in the settings.
UI/UX enhancements and bug fixes
- Locator labels are now inserted so that Pandoc reads them: in the note's language (
с. 33withlang: ru-RU) and with abbreviations Pandoc recognises (chap. 2rather thanch. 2). Such locators used to end up in the export as plain text. - The comma before text after a key that is not a locator (
[@doe2020, and more]) is now kept in the preview, as Pandoc keeps it.
1.1.0
New features
- Footnote settings for a single note. Putting citations in footnotes, where the footnote text goes, the numbering and the text before and after the number can now be set for one note — with the "Footnote settings for the current note" command or from the note's context menu. The "Reset to general settings" button gives the note the plugin's general settings back, and the "Reset the footnote settings of every note" option does it for every note at once after confirmation.
- Popup for footnotes. The text of a new footnote can now optionally open in a popup, so there is no need to scroll the page. This can be turned off in the settings, and the cursor position after a footnote is created can then be set (after the footnote anchor or in its text).
UI/UX enhancements and bug fixes
- Fixed a bug that left the bibliography empty or not updated after switching from one note to another.
- The Zotero port option now has a button that resets the port to the default one.
- The Zotero status card has been reworked, with a better look, a more compact layout and animations.
- When Zotero is not responding, the bibliography pane now says so instead of listing the sources as not found in the library, and updates by itself once Zotero starts.
- The bibliography pane's icon has been updated, and the bibliography refresh button now has an animation.
- A new footnote is now separated from the existing footnotes by a blank line instead of being added right under them.
1.0.0
First release
- Citing sources through Zotero. The window opens with a hotkey or from the command palette and lets you set the page, the prefix, the suffix or suppress the author. Once a source is picked, it is inserted into the note in Pandoc format (
[@doe2020, p. 33]), and several sources into a group separated by;. Zotero notes can be picked in the same window too — their text is inserted into the note as Markdown. - Formatted citation preview. In the plugin settings you can choose a citation style from your Zotero library to format the preview of citations in your notes. The citation itself stays in Pandoc format — this is only how it looks, and it has no effect on how the note is exported. Hovering over a citation shows the bibliography entry of each source — these tooltips can be turned off, or their delay changed. Under the list of styles is a preview of how citations look, which you can adjust to your taste: the citation color, the underline style, bold and italic.
- Automatic footnotes. With the setting on, a footnote anchor is placed at the cursor and the citation itself goes into the footnote's body — after the current paragraph, at the end of the current section or at the end of the note. Footnote numbers are written in arabic or roman numerals, and text of your own can be added before and after the number. The citation preview also shows it in a footnote when the option is on. The "Insert footnote without a citation" command creates an empty footnote with the chosen settings without opening the citation window, and the "Renumber footnotes in order" command renumbers every footnote in the note in order.
- Preview of the note's bibliography. A tab in the right sidebar lists every source cited in the note — formatted in the citation style chosen for the preview, following its sorting, numbering and indentation. Above the bibliography are the number of entries, a search of the list and a button that copies the bibliography. Right-clicking an entry opens a menu that lets you reveal the source in Zotero, copy the entry or find its mentions in the note.
- Settings. The square brackets can be turned off, the port of Zotero's local server can be changed (24119 for the beta), and Zotero's window can be minimized as soon as the pick is done. The top of the settings shows whether Zotero is running and whether Better BibTeX is installed in it, and its buttons open the changelog and the user guide — which the "Open user guide" command opens too.