-
Notifications
You must be signed in to change notification settings - Fork 120
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
number vs issue #726
Comments
Given that people are already putting things like ranges in |
(although I'd then have no way to decide in what field to put the zotero data, but that's tangential to this issue) |
@plk What do you think about this? The only drawback to not requiring |
In fact, the entire sorting system was overhauled in a major way to use a more efficient and typed algorithm precisely to accommodate integer sorting for these fields. The field type for sorting can be modified by the user in the sorting template but I would like to have a numeric field. I can perhaps make some changes to accommodate ranges (sorting on the first number in the range) but for arbitrary non-numeric parts, I think a new field would be better. Numeric sorting is important and having a free-form field again reverts to alpha sorting which impacts performance and is much less algorithmically clean. |
So does that mean the issue field is back in favor? |
Mhhh, so this solitary drawback is quite a massive one. At the moment, however, no sorting scheme sorts by I'm not too keen on a new field, since I definitely do not want people to put ranges in the |
I see the point so it would seem as simple as changing the datatype of |
That would be the best option in my book. Of course I would not mind if you looked into integer range sorting, but that would not solve the core problem here (plus I appreciate that you have better things to do ...). |
So what is left for the |
Good question. I would use |
Unfortunately for me, determining algorithmically where to put what is exactly what I'd have to do. I'll probably do something like:
|
Mhhhh... Since I really don't like
but really your choice is fine as well. There are only a few things that make sense here and everything else will give weird and unpleasant results regardless of what you go for. There may be better choices in specific cases for specific styles, but that is not something you should have to worry about. |
I can't ask the user -- Zotero preps the export and hands me the references to convert, no user interaction possible. It also doesn't have a separate field for seasons, so if the above collapses to "seasons go to Another option is to dump everything in If this discussion goes too far of track for this repo, please do let me know. |
Let's head back over to retorquere/zotero-better-bibtex#925 to discuss this further. |
dev...moewew:numberint has hopefully all the necessary changes to turn |
|
If i may ask for your humble opinion, Question: Would it be conform with Biblatex, if Jabref were to somehow fetch the (article-) number, move it to the number field and move the issue-number from the number field into the issue field? "Short" summary and description of the problem:
Since the Some publishers just abstain from providing it in Bibtex formated data. Some other publishers have now even started putting the actual article-number into the Additional info:
|
The whole Base BibTeX only has
and so in BibTeX you unambiguously use
and printed
Apparently, it was felt that the Roughly speaking But this is all from the good old 'we have a printed journal with page numbers' perspective. Once you throw electronic journals - where articles are identified via an article number and not a page range (within a printed issue) - into the mix, things get more interesting, because you get an additional number: the 'article number'. In my opinion these article numbers should be rendered in pretty much the same position like page numbers, but they obviously should not be prefixed with "p."/"pp." or the like. The Base BibTeX has no corresponding field (see also https://tex.stackexchange.com/q/445888/35864), so I can understand that publisher put this into the To answer your question: Moving the issue number to |
Thank you so much! This made everything a little bit more clear. I always wondered what Good to know! |
It would be nice to see some of this text migrated to the documentation. It
will be very useful to a lot of people.
PN
…On Tue, Jan 11, 2022, 6:53 PM ThiloteE ***@***.***> wrote:
Thank you so much! This made everything a little bit more clear.
I always wondered what eid is, but i never understood the explanation in
the documentation and failed to associate it with article-number. I rarely
had seen it being included in bibliographic data and since it is not the
only type of ID that can be rendered via Biblatex (e.g. DOI, ISSN,
Eprint,...) i thought it must be something quite exotic.
Good to know!
—
Reply to this email directly, view it on GitHub
<#726 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAR7WYQAMM3A6EBK7L33ETTUVSRHBANCNFSM4ET35IPQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Comments on 308a69d would be appreciated. |
With regard to 308a69d
|
Thanks for the comments.
|
Looks good! Sorry, i must have misread issue-number.
The above sentence could be replaced with:
I think this would be more coherent with your fine lines provided in 1094 and 1831, but as long as people understand. Yours is fine too 😁 |
Cf. https://tex.stackexchange.com/q/418590/35864, retorquere/zotero-better-bibtex#925, plk/biblatex-apa#45
Currently the docs are quite strict about
number
being an integer. For thenumber
s as they appear in@article
s that seems to be a bit too restrictive. There are at least two cases where one would put something other than a plain integer thereAt the moment the documentation seems to suggest to use
issue
for non-integer input, and this is what Zotero BBT does. I find this unsatisfying since the output in the standard styles is significantly different when usingissue
as compared tonumber
. It has also been established that for most intents and purposesnumber
is the correct field for the subdivision of a journalvolume
.If
biblatex
and Biber were to accept non-integer values fornumber
the two cases above would easily give the expected output. Cautious style developers could use\ifnumerals
,\ifnumeral
or\ifinteger
if they want to make sure the output does not end up looking stupid if they do anything special to the number field.The only downside to this that I can see is sorting. If
number
is treated as a string, sorting pure integer-valuednumber
fields might not give the expected output. But no standard sorting schemes sort bynumber
...There is even precedence for a non-integer
number
inbiblatex-examples.bib
biblatex/bibtex/bib/biblatex/biblatex-examples.bib
Lines 1494 to 1507 in 3dfd95f
and
biblatex/bibtex/bib/biblatex/biblatex-examples.bib
Lines 1579 to 1641 in 3dfd95f
Here are three real-life examples that could benefit from
number
not being an integerThe text was updated successfully, but these errors were encountered: