From d6e73479277a9c5c2e70ccbb8776e2631e182042 Mon Sep 17 00:00:00 2001 From: sij Date: Sun, 27 Oct 2024 01:03:25 +0200 Subject: [PATCH] Update README.md --- README.md | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 2dec7b1..89c1651 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Creates formatted citations from DEVONthink documents, with smart Bates number s Bates-numbered documents: ```markdown -"The environmental impact study shows..." [FWS 123456](x-devonthink-item://...) +"The environmental impact study shows..." [FWS 4326](x-devonthink-item://...) ``` Regular documents: @@ -27,11 +27,10 @@ Regular documents: ## Features -- Smart Bates number detection and formatting -- Page number tracking -- URL-encoded quotes -- Markdown-compatible output -- Error handling +- Copies selected text to clipboard +- Calculates Bates number using if filename has Bates start or range in it +- Appends deeplink to selected text in document to clipboard +- Formats clipboard in Markdown - Works with both Bates and regular documents ## Installation @@ -54,6 +53,17 @@ Regular documents: - DEVONthink Pro - macOS - Perl (for URL encoding) +- For Bates numbering, documents should be titled in one of these formats: + - `FWS 000533` + - `FWS 000533-000564` + - `FWS-000533` + - `FWS_000533` + - `NMFS 002561-002985` + - `BLM 45` + - `BLM_45-62` + - etc. + +I wrote a separate Python script, `bates`, to quickly rename a folder of PDFs to be compatible with this script. [Find it here →](https://sij.ai/sij/pathScripts) ## Notes