texworld / betterbib

:green_book: Command-line tools for bibliographies.
816 stars 42 forks source link

Spellchecker-based case protection at the word level is inadequate #259

Closed vitorsr closed 1 year ago

vitorsr commented 1 year ago

See example below.

New York City becomes new York city in sentence case bibliographic styles.

Moreover it is currently not possible to fix this with the current approach.

# betterbib db 10.1111/j.1749-6632.2001.tb02682.x | betterbib up -
Syncing... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00

Total number of entries: 1
Found: 1
%comment{This file was created with betterbib v4.3.9.}

@article{hayes2006,
 author = {Hayes, Curtis G.},
 doi = {10.1111/j.1749-6632.2001.tb02682.x},
 number = {1},
 source = {Crossref},
 url = {https://doi.org/10.1111/j.1749-6632.2001.tb02682.x},
 volume = {951},
 journal = {Ann. N.Y. Acad. Sci.},
 publisher = {Wiley},
 title = {West {Nile} Virus: {Uganda,} 1937, to New {York} City, 1999},
 issn = {0077-8923, 1749-6632},
 pages = {25--37},
 year = {2006},
 month = jan,
}
nschloe commented 1 year ago

This is fixed in the main branch. I'll release it soon.

nschloe commented 1 year ago

Released now.