emacs-citar / citar

Emacs package to quickly find and act on bibliographic references, and edit org, markdown, and latex academic documents.
GNU General Public License v3.0
518 stars 55 forks source link

Make use of, or remove, `citar-additional-fields` #769

Open bdarcus opened 1 year ago

bdarcus commented 1 year ago

In #741, I removed the field filtering on parsing.

Either that stays, in which case we remove this defcustom, or we should add it back and set default to a list of fields useful for citeproc.

rdiaz02 commented 5 days ago

What is the status of this? I'd like to be able to filter using the name of my Zotero collections (which are exported as "groups" by BBT) and thought this would be the way to go, but as per this entry (and I just tried) it does not. If this is not the right variable to use, what is the way to search/filter using custom fields?

bdarcus commented 4 days ago

No progress; I've not really thought about it since adding this issue.

But to clarify, this is just on parsing; we no longer restrict what we import into the cache, to address the issue linked in the PR.

On your use case, you are wanting to add the data to the completion candidates, so that you can filter on them; correct?

It should be the case the "groups" fields are parsed, and so stored in the cache. You might try adding it your template and see if that works?

rdiaz02 commented 4 days ago

Oh, sorry, I misread the PR then. And I also missed that I needed to modify the template. That was it!!! Thanks a lot!!! And sorry for this (there are days when my reading comprehension is somewhat better :sweat_smile: ).

rdiaz02 commented 4 days ago

For others that might search for this, I've added an entry to the wiki: https://github.com/emacs-citar/citar/wiki/Searching-using-Zotero's-collections

I wasn't sure where to place or if it is placed correctly. Of course, feel free to move/modify/delete if inappropriate.