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

Integrity check should report year not consisting of 4 numerals #1897

Closed
grimes2 opened this issue Aug 31, 2016 · 4 comments
Closed

Integrity check should report year not consisting of 4 numerals #1897

grimes2 opened this issue Aug 31, 2016 · 4 comments

Comments

@grimes2
Copy link
Contributor

grimes2 commented Aug 31, 2016

Field year should consist of four numerals (year = {1986}). Other formats are allowed (year = {about 1986}), but should be reported by Check integrity.
EDIT: Because these formats are allowed, it should be not reported by Check integrity.

@grimes2 grimes2 closed this as completed Aug 31, 2016
@Siedlerchr
Copy link
Member

Yeah, but the official bibtex spec defines it a bit more detailed bibtex spec: http://ftp.fernuni-hagen.de/ftp-dir/pub/mirrors/www.ctan.org/biblio/bibtex/base/btxdoc.pdf

Generally it should consist of four numerals, such as 1984, although the stan-
dard styles can handle any year whose last four nonpunctuation characters are
numerals, such as ‘(about 1984)’.

@grimes2
Copy link
Contributor Author

grimes2 commented Aug 31, 2016

Interesting, but then this is not allowed: '(1984 but I am not sure)' or '(1984a)'

@grimes2
Copy link
Contributor Author

grimes2 commented Sep 1, 2016

My interpretation is: The Year Checker should check for "last nonpunctuation character should not be an alphabetic character". I would like to implement this.

@grimes2 grimes2 reopened this Sep 1, 2016
@Siedlerchr
Copy link
Member

You're welcome :) should be relatively simple to check if the last 4 chars of the field string are numeric.
Go for it 👍

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

No branches or pull requests

3 participants