Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Partial Match in citation-abbreviations Field #9872

Open
TomBener opened this issue Jun 12, 2024 · 0 comments
Open

Support for Partial Match in citation-abbreviations Field #9872

TomBener opened this issue Jun 12, 2024 · 0 comments

Comments

@TomBener
Copy link
Contributor

TomBener commented Jun 12, 2024

Problem:

Currently, the citation-abbreviations feature does not support partial matching within fields like publisher or container-title. This limitation makes it cumbersome to abbreviate terms when the exact full name of the field value is not known or when multiple variations of a term need to be abbreviated.

Proposed Solution:

I propose extending the functionality of the citation-abbreviations feature to support partial matching within specific fields. This enhancement would allow users to specify partial terms or patterns within fields, enabling more flexible abbreviation of field values.

For example, supporting a syntax like the following in the citation-abbreviations JSON or YAML file to abbreviate common texts journal, review, university:

{
     "default": {
          "container-title": {
               "Journal": "J.",
               "Review": "Rev."
          },
          "publisher": {
               "University": "Univ."
          }
     }
}

This enhancement would greatly improve the usability and flexibility of the citation-abbreviations feature, especially when dealing with large bibliographies with varying field values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant