Skip to content

Commit

Permalink
actually add the lua filter, dumbass
Browse files Browse the repository at this point in the history
  • Loading branch information
retorquere committed Mar 30, 2022
1 parent 2229856 commit 9751cbf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion content/aux-scanner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export const AUXScanner = new class { // eslint-disable-line @typescript-eslint/
const filter = OS.Path.join(Zotero.BetterBibTeX.dir, lua)
if (!(await OS.File.exists(filter))) {
const url = `resource://zotero-better-bibtex/${lua}`
log.debug('installing', url, 'to', filter, ':\n', contents)
log.debug('installing', url, 'to', filter)
const file = Zotero.File.pathToFile(filter)
const contents = Zotero.File.getContentsFromURL(url)
Zotero.File.putContents(file, contents)
Expand Down
1 change: 1 addition & 0 deletions site/data/citekeyformatters/filters.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"`abbr`": "Abbreviates the text. Only the first character and subsequent characters following white space will be included.",
"`acronym`=list? (string)": "Does an acronym lookup for the text. You can optionally pass the name of the list; the list must live in the Zotero/better-bibtex directory in your profile, and must use commas as the delimiter.",
"`alphanum`": "clears out everything but unicode alphanumeric characters (unicode character classes `L` and `N`)",
"`ascii`": "removes all non-ascii characters",
"`capitalize`": "uppercases the first letter of each word",
Expand Down

0 comments on commit 9751cbf

Please sign in to comment.