chrisgrieser / alfred-bibtex-citation-picker

Citation picker & lightweight reference manager for BibTeX files, via Alfred.
MIT License
143 stars 8 forks source link

[Bug]: unwanted prefix `@` in `latex` format #19

Closed WeiViming closed 1 year ago

WeiViming commented 1 year ago

Bug Description

Sometimes, when I change cite format to latex, alfred returns unwanted \cite{@citekey} but not \cite{citekey}. However, I am not sure how to reproduce the problem. I must be restart alfred to avoid this problem if it happens.

Relevant Screenshot

No response

To Reproduce

No response

Debugging Log

[11:36:06.150] Supercharged Citation Picker[Script Filter] Processing complete
[11:36:06.177] Supercharged Citation Picker[Script Filter] Passing output 'Rivest_1978_data' to Arg and Vars
[11:36:06.178] Supercharged Citation Picker[Arg and Vars] Processing complete
[11:36:06.179] Supercharged Citation Picker[Arg and Vars] Passing output '@Rivest_1978_data' to Arg and Vars
[11:36:06.179] Supercharged Citation Picker[Arg and Vars] Processing complete
[11:36:06.180] Supercharged Citation Picker[Arg and Vars] Passing output '@Rivest_1978_data' to Copy to Clipboard
[11:36:06.180] Supercharged Citation Picker[Copy to Clipboard] Processing complete
[11:36:06.181] Supercharged Citation Picker[Copy to Clipboard] Passing output '@Rivest_1978_data' to Conditional
[11:36:06.181] Supercharged Citation Picker[Conditional] Processing complete
[11:36:06.182] Supercharged Citation Picker[Conditional] Passing output '@Rivest_1978_data' to Conditional
[11:36:06.182] Supercharged Citation Picker[Conditional] Processing complete
[11:36:06.183] Supercharged Citation Picker[Conditional] Passing output '@Rivest_1978_data' to Run Script

Sample BibTeX Entries

@article{Rivest_1978_method,
  title = {A method for obtaining digital signatures and public-key cryptosystems},
  author = {Rivest, R. L. and Shamir, A. and Adleman, L.},
  year = {1978},
  journal = {Communications of the ACM},
  doi = {10.1145/359340.359342}
}

Buffer Files

No

Workflow Configuration

image

Checklist