-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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 field wrong when creating library compatible with bibtex and BibLaTeX #263
Comments
Hi @foleyj2, JabRef 2.9.2 is quite outdated. Recently, there have been a few changes to field formatting that might have an impact on your problem. Can you please try out the current development version and check if your problem persists? Also, do I understand you correctly that you expect the serialization to be like
instead of
? The first one will definitly not be supported by JabRef. |
If you write
BibTeX understands that 'mar' is the string you want to be actually used for the month. While
is a BibTeX standard to abbreviate months (mar for March, apr for April, etc.). Depending on the bibliography style, it can be converted automatically to March (in English), Mars (in French), März (in German), etc. BTW, the month abbreviation does not need to be defined by the user with an @string . At this point, you may start hating BibTeX format... or find it beautiful! ;-) |
As far as I remember someone introduced some autocorrection functionality that automatically wraps non-wrapped fields in brackets. This might be a problem here, but I don't know. I also believe that Bibtex should be supported in its standard fashion and I believe that people who want a certain feature (full Bibtex support) should be willing to implement it themselves and submit a pull request ;-) P.S.: In other circumstances, we kind of already decided against full Bibtex support, see #214 |
Regarding #214 (i.e. using "" or {}), this is two ways of writing the same thing: this does not change the meaning for bibTeX, leading to the same compilation output. It is different here, about abbreviations. More generally, when a user defines an abbreviation using a @string (in the preamble), the related field values will not be between brackets (or double quotes). Enforcing brackets everywhere means that user-defined abbreviations will not work anymore, right? |
When I tried BibLaTeX, I think, it said that numbers should be used ( |
@mlep: Still, someone might complain that his favourite IDE, tool, whatever can only work with |
I only know about using |
@simonharrer: Yes, with this knowledge in mind, the writing logic starts making a little more sense. I also found the following comment (but cannot guarantee that the code actually does this):
So it seems that
should also work? |
Not exactly. In JabRef the content of the field "Month" must be |
Yes, the solution is indeed to write |
I have not tried the #mon# method, but I tried the previously mentioned putting the number instead and that seems to have worked nicely. Thank you for all the help! Joe |
Glad to hear! |
Another option is to use the "date" field in biblatex, which allows values |
I would like to update it, but I don't want to use anything but standard packaged versions. Joe |
I would use the date field except that I share my reference library among multiple templates, some of which must use bibtex (Journals) and others which use biber (internationalized internal reports) Joe |
cb98d36691 copied .github/workflows/merge.yaml .github/workflows/sheldon.yaml from styles 62dcca65d7 Update locales-nn-NO.xml (#267) eb8587463f Update locales-nb-NO.xml (#266) bd502ffb0d Update locales-pt-PT.xml (#262) 2dcc82ced1 Update locales-it-IT.xml (#263) git-subtree-dir: buildres/csl/csl-locales git-subtree-split: cb98d366912a0c0be361880e12fbc43cef6d383e
This is for JabRef 2.9.2 on linux but also relevant on the windows release.
I often work with reference libraries that must be used on both bibtex only journals in addition to biber/BibLaTeX. Until recently, I didn't have a problem with this under JabRef. (My students also noticed this problem.). The problem is how the Month field is formatted. If you put the month field to "March" or "mar", Jabref will always put {} around it.
This is a problem because biber/BibLaTeX can only deal with the short version without brackets. If you put "{mar}" it continues to skip the entries because it cannot convert them into the numeric representation. It has to be "Month = mar," or biber just returns an empty bibliography.
This has been mentioned in http://tex.stackexchange.com/questions/27898/biblatex-month-field
When BibLaTeX mode is enabled, you can't make a month field, only a date field, which is a problem for these older templates, which I don't have control over.
Please help. I don't want to have to edit the file manually to create the Month field.
The text was updated successfully, but these errors were encountered: