Skip to content

Commit a5b6ce8

Browse files
authored
Update README.md
Added explanation about replacement of dots
1 parent 41b34b1 commit a5b6ce8

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
11
# Alfred workflow to replace semicolons/ commas from the clipboard
22

33
## The problem
4-
Keywords in academic articles are usually separated by semicolons or commas but if you try to copy and paste these keywords into Zotero (and possibly other reference managers), the whole list will be converted into a single tag.
4+
Keywords in academic articles are usually separated by semicolons/dots or commas but if you try to copy and paste these keywords into Zotero (and possibly other reference managers), the whole list will be converted into a single tag.
55

66
## The solution
7-
In order for Zotero to create a separate tag for each keyword, each keyword has to be in a line of its own. In other words: semicolons/ commas need to be replaced by linebreaks. And that's exactly what this workflow does.
7+
In order for Zotero to create a separate tag for each keyword, each keyword has to be in a line of its own. In other words: semicolons/dots/commas need to be replaced by linebreaks. And that's exactly what this workflow does.
88

99
The workflow provides two ways of achieving the same thing:
1010

1111
You can copy the keywords the normal way (⌘+C) and then use the assigned hotkey to paste them, or
12-
You can copy the keywords using universal actions (Select "Replace semicolons and copy") and then paste them the normal way (⌘+V).
12+
You can copy the keywords using universal actions (Select "Replace semicolons/dots and copy") and then paste them the normal way (⌘+V).
1313

1414

15-
Either way, semicolons will be replaced by linebreaks.
15+
Either way, semicolons/dots will be replaced by linebreaks.
1616

17-
So replacing semicolons is the default behaviour but in both cases, you can use the option key to replace commas instead of semicolons.
17+
So replacing semicolons/dots is the default behaviour but in both cases, you can use the option key to replace commas instead of semicolons/dots.
18+
19+
Commas are not replaced by default, because they are sometimes used *within* keywords. So, when commas are used to spearate the keywords, you need to explicitly tell it so.
20+
21+
A note on the dots: different journals use different dot-characters to separate their keywords. I included multiple versions, but you will probably come across some dot-characters that I missed. You can just add them into the [ ] inside the workflow.

0 commit comments

Comments
 (0)