From 1cbfb9a0b574ab719a553554810193487eee5539 Mon Sep 17 00:00:00 2001 From: Priyanshu Gupta Date: Thu, 13 Mar 2025 07:52:44 +0530 Subject: [PATCH 1/4] Add info about fixes --- .../checkintegrity.md | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/en/finding-sorting-and-cleaning-entries/checkintegrity.md b/en/finding-sorting-and-cleaning-entries/checkintegrity.md index ad8b2739d..84d43a9da 100644 --- a/en/finding-sorting-and-cleaning-entries/checkintegrity.md +++ b/en/finding-sorting-and-cleaning-entries/checkintegrity.md @@ -5,3 +5,56 @@ JabRef can check the integrity of a library. This feature is available through **Quality → Check integrity**. ![Check integrity dialog](<../.gitbook/assets/checkintegrity.png>) + +## List of Fixes + +### Mask Title + +Ensures that uppercase letters in titles are properly enclosed in curly braces to preserve capitalization in BibTeX. + +* `Title Example` ⇒ `{T}itle {E}xample` + +### Correct Date Format + +Normalizes the date field to ISO format (yyyy-MM-dd) if it follows the dd-MM-yyyy pattern. + +* `15-08-2023` ⇒ `2023-08-15` + +### Format Page Number Range + +Ensures the page range follows a standard format. If the value does not match the expected pattern, it defaults to `1-10`. + +* `5-` ⇒ `1-10` +* `abc` ⇒ `1-10` + +### Replace Non-ASCII Characters + +Removes non-ASCII characters from the abstract field to ensure compatibility with various systems. + +* `Résumé of naïve approach` ⇒ `Resume of naive approach` + +### Handle Missing Citation Key + +Sets a default citation key if it is missing. + +* `CROSSREF` field set to `UnknownKey` + +### Capitalize First Letter + +Ensures the first letter of a specified field is capitalized, while the rest of the text is in lowercase. + +* `example text` ⇒ `Example text` + +### Ensure Valid Edition + +Validates the edition field to allow only numeric values or predefined words (First, Second, Third). Defaults to `First` if invalid. + +* `Fourth` ⇒ `First` +* `3` ⇒ `3` + +### Remove Non-Integer Edition + +Ensures that the edition field contains only numeric values. Removes any invalid values. + +* `First` ⇒ ` ` +* `2nd` ⇒ ` ` From ad0af54c3479f0f57d16dc6c98770aea61b18039 Mon Sep 17 00:00:00 2001 From: Priyanshu Gupta Date: Thu, 13 Mar 2025 15:38:44 +0530 Subject: [PATCH 2/4] Remove space --- en/finding-sorting-and-cleaning-entries/checkintegrity.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en/finding-sorting-and-cleaning-entries/checkintegrity.md b/en/finding-sorting-and-cleaning-entries/checkintegrity.md index 84d43a9da..cdbdd96db 100644 --- a/en/finding-sorting-and-cleaning-entries/checkintegrity.md +++ b/en/finding-sorting-and-cleaning-entries/checkintegrity.md @@ -56,5 +56,5 @@ Validates the edition field to allow only numeric values or predefined words (Fi Ensures that the edition field contains only numeric values. Removes any invalid values. -* `First` ⇒ ` ` -* `2nd` ⇒ ` ` +* `First` ⇒ `` +* `2nd` ⇒ `` From cdae9197f40d8f0e8404ba0d384196e56e6a4237 Mon Sep 17 00:00:00 2001 From: Priyanshu Gupta Date: Mon, 17 Mar 2025 23:28:23 +0530 Subject: [PATCH 3/4] Add example --- en/finding-sorting-and-cleaning-entries/checkintegrity.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/en/finding-sorting-and-cleaning-entries/checkintegrity.md b/en/finding-sorting-and-cleaning-entries/checkintegrity.md index cdbdd96db..51e443a17 100644 --- a/en/finding-sorting-and-cleaning-entries/checkintegrity.md +++ b/en/finding-sorting-and-cleaning-entries/checkintegrity.md @@ -13,6 +13,7 @@ This feature is available through **Quality → Check integrity**. Ensures that uppercase letters in titles are properly enclosed in curly braces to preserve capitalization in BibTeX. * `Title Example` ⇒ `{T}itle {E}xample` +* `Oliver Kopp and Carl Christian Snethlage and Christoph Schwentker` ⇒ `{O}liver {K}opp and {C}arl {C}hristian {S}nethlage and {C}hristoph {S}chwentker` ### Correct Date Format @@ -38,6 +39,7 @@ Removes non-ASCII characters from the abstract field to ensure compatibility wit Sets a default citation key if it is missing. * `CROSSREF` field set to `UnknownKey` +* `` field set to `DefaultKey` ### Capitalize First Letter From c7f2cc43f004b5097df9e457f1f9f2d47a11d25e Mon Sep 17 00:00:00 2001 From: Priyanshu Gupta Date: Fri, 21 Mar 2025 08:01:20 +0530 Subject: [PATCH 4/4] Remove documentation --- .../checkintegrity.md | 51 ------------------- 1 file changed, 51 deletions(-) diff --git a/en/finding-sorting-and-cleaning-entries/checkintegrity.md b/en/finding-sorting-and-cleaning-entries/checkintegrity.md index 51e443a17..72b240cac 100644 --- a/en/finding-sorting-and-cleaning-entries/checkintegrity.md +++ b/en/finding-sorting-and-cleaning-entries/checkintegrity.md @@ -8,55 +8,4 @@ This feature is available through **Quality → Check integrity**. ## List of Fixes -### Mask Title -Ensures that uppercase letters in titles are properly enclosed in curly braces to preserve capitalization in BibTeX. - -* `Title Example` ⇒ `{T}itle {E}xample` -* `Oliver Kopp and Carl Christian Snethlage and Christoph Schwentker` ⇒ `{O}liver {K}opp and {C}arl {C}hristian {S}nethlage and {C}hristoph {S}chwentker` - -### Correct Date Format - -Normalizes the date field to ISO format (yyyy-MM-dd) if it follows the dd-MM-yyyy pattern. - -* `15-08-2023` ⇒ `2023-08-15` - -### Format Page Number Range - -Ensures the page range follows a standard format. If the value does not match the expected pattern, it defaults to `1-10`. - -* `5-` ⇒ `1-10` -* `abc` ⇒ `1-10` - -### Replace Non-ASCII Characters - -Removes non-ASCII characters from the abstract field to ensure compatibility with various systems. - -* `Résumé of naïve approach` ⇒ `Resume of naive approach` - -### Handle Missing Citation Key - -Sets a default citation key if it is missing. - -* `CROSSREF` field set to `UnknownKey` -* `` field set to `DefaultKey` - -### Capitalize First Letter - -Ensures the first letter of a specified field is capitalized, while the rest of the text is in lowercase. - -* `example text` ⇒ `Example text` - -### Ensure Valid Edition - -Validates the edition field to allow only numeric values or predefined words (First, Second, Third). Defaults to `First` if invalid. - -* `Fourth` ⇒ `First` -* `3` ⇒ `3` - -### Remove Non-Integer Edition - -Ensures that the edition field contains only numeric values. Removes any invalid values. - -* `First` ⇒ `` -* `2nd` ⇒ ``