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

bibchecker: exclude leading & trailing non-alphabetic characters from expected contents of curly braces #53

Open
paxtonfitzpatrick opened this issue Nov 8, 2021 · 0 comments
Labels

Comments

@paxtonfitzpatrick
Copy link
Member

When checking entries for words that should be manually capitalized using curly braces (entries in caps.txt), the auto-checker should not expect leading and trailing symbols to be inside the braces. For example, CoppEtal17 was added as:

@inproceedings{CoppEtal17,
	author = {G Coppersmith and C Hilland and O Frieder and R Leary},
	booktitle = {2017 {IEEE} {EMBS} International Conference on Biomedical \& Health Informatics ({BHI})},
	organization = {IEEE},
	pages = {393--396},
	title = {Scalable mental health analysis in the clinical whitespace via natural language processing},
	year = {2017}}

The checker throws the following error:

CoppEtal17: 	booktitle "2017 {IEEE} {EMBS} International Conference on Biomedical \& Health Informatics ({BHI})" should be "2017 {IEEE} {EMBS} International Conference on Biomedical \& Health Informatics {(BHI})"

In the booktitle field, "BHI" in parentheses is capitalized as ({BHI}). The checker sees this as an error and wants {(BHI}) instead.

I'm not familiar with the checker code and don't want to introduce unexpected bugs by trying to change this myself, so for now, I've updated CoppEtal17 to match what the checker prefers.

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

No branches or pull requests

1 participant