JabRef / jabref

Graphical Java application for managing BibTeX and biblatex (.bib) databases
https://devdocs.jabref.org
MIT License
3.64k stars 2.59k forks source link

Cleanup actions. Move action for issue, number, eid, pages fields. #8413

Open ThiloteE opened 2 years ago

ThiloteE commented 2 years ago

Came up during https://github.com/JabRef/jabref/issues/8372

Specifically, here: https://github.com/JabRef/jabref/issues/8372#issuecomment-1008898616

Desired solution

Edited:

tobiasdiez commented 2 years ago

According to the biblatex docs you reference to, the issue field:

This field is intended for journals whose individual issues are identified by a designation such as ‘Spring’ or ‘Summer’ rather than the month or a number. The placement of issue is similar to month and number. Integer ranges and short designators are better written to the number field.

So I think biblatex and bibtex are not too different there, and the number field is what should be used more often.

But maybe we can add an integrity check that checks if things like "Spring" are in number and proposes to move to issue; and conversely if a number is in issue and the number field is empty, then propose to move to number.

ThiloteE commented 2 years ago

Thank you Tobias, sounds good 👍

Also relevant here: "Moving the issue number to issue and article number to number would not be my preference, because the issue number is traditionally number and the article number is eid in biblatex"

The long answer: plk/biblatex#726 (comment)

ThiloteE commented 2 years ago

A and C will or could be solved by https://github.com/JabRef/jabref/issues/6536#issuecomment-1146494805

HoussemNasri commented 2 years ago

Option A is already possible within 'Manage field names & content' e.g. to move data from 'number' to 'issue':

  1. Choose 'number' as the field name from the Combobox.
  2. Select the 'Rename field to:' radio button and enter 'issue' in the adjacent text field.
  3. Tick 'Overwrite existing field values'
  4. Click 'OK'