-
Notifications
You must be signed in to change notification settings - Fork 28
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
Month as text in bibtex #76
Comments
What version of RefManageR do you have installed? I cannot reproduce this with the development version of RefManageR on GitHub. |
Sorry, my first edit misunderstood your question. RefManageR is 0.8.45, Windows, R 3.1.3 |
I'm not following how that is relevant to your first post or my reply. I just ran your new example and all I get is warnings for packages that don't have a date field to begin with. I have also confirmed that the first example you provided with Month = {Dec} is parsed fine by the version of RefManageR available on CRAN.
|
Your pointer is correct, it is a local problem. So we should move this to mwmclean, but since he is here .-).
When I replace "Dec" by Dez or Dezember, ReadBib/RefManageR works Ok. I assume that not too many users have non-english locales in bib files , so it would be better to have English as the default. I did not see a locale in ReadBib, did I miss it? What's the best workaround? |
|
Thanks, works, but would require resetting the locale and try() wrapping after ReadBib, otherwise other things will go wrong. My suggestion would be to handle set/reset internally, and using English as the default for months/time in bib files. |
Why do you need |
Why "try": because ReadBib may fail, and I always wrap everything in a 'try' when global parameters are changed. |
Using biber/biblatex, it is valid to use a string for month, even if various versions are around (December, dec, {December}, {Dec}). For one example, see
http://tex.stackexchange.com/questions/70455/bibtex-month-format
where some possible mappings are indicated in egreg's answer.
read.bibtex
(knitcitations 1.0.5) chokes on these string and wants a number. I know I can suppress the warnings, but I might miss more important ones when doing so.1: All formats failed to parse. No formats found.
2: In ProcessDate(bib[["year"]], bib[["month"]]) :
Failed to parse month: Dec. Ignoring and using year only.
The text was updated successfully, but these errors were encountered: