Skip to content

Conversation

@koppor
Copy link
Member

@koppor koppor commented Dec 5, 2025

This PR depends on #14504 (because of the used Localization string)

When invalid data is pasted, the data is collected in the comment field.

Example:

Try to paste

@Article{Kopp:2023:LTG,
  author =       "Oliver Kopp",
  title =        "The {\LaTeX} template generator: How micro-templates
                 reduce template maintenance effort",
  journal =      [j-TUGboat](http://ftp.math.utah.edu/pub/tex/bib/tugboat.html#j-TUGboat),
  volume =       "44",
  number =       "2",
  pages =        "203--207",
  year =         "2023",
  CODEN =        "????",
  DOI =          "https://doi.org/10.47397/tb/44-2/tb137kopp-microtemplates",
  ISSN =         "0896-3207",
  ISSN-L =       "0896-3207",
  bibdate =      "Mon Sep 18 10:39:32 MDT 2023",
  bibsource =    "https://www.math.utah.edu/pub/tex/bib/tugboat.bib",
  URL =          "https://tug.org/TUGboat/tb44-2/tb137kopp-microtemplates.pdf",
  acknowledgement = [ack-nhfb](http://ftp.math.utah.edu/pub/tex/bib/tugboat.html#ack-nhfb),
  fjournal =     "TUGboat",
  issue =        "137",
  journal-URL =  "https://tug.org/TUGboat/",
  ORCID-numbers = "Kopp, Oliver/0000-0001-6962-4290",
  remark =       "Intermediate Plus{\Dash}separating writing from
                 knowledge of packages, classes, tools.",
}
``´

<img width="562" height="306" alt="image" src="https://github.com/user-attachments/assets/85002ae8-1656-4b29-8f2b-11039e818f08" />

<img width="855" height="339" alt="image" src="https://github.com/user-attachments/assets/88278bb5-4456-4407-8a33-8453c58b9445" />

Next step: Support nested BibTeX entries

### Steps to test

See above

### Mandatory checks

<!--
Go through the checklist below. It is mandatory, even for a draft pull request.

Keep ALL the items. Replace the dots inside [.] and mark them as follows: 
[x] done 
[ ] TODO (yet to be done)
[/] not applicable
-->

- [x] I own the copyright of the code submitted and I license it under the [MIT license](https://github.com/JabRef/jabref/blob/main/LICENSE)
- [x] I manually tested my changes in running JabRef (always required)
- [/] I added JUnit tests for changes (if applicable)
- [x] I added screenshots in the PR description (if change is visible to the user)
- [x] I described the change in `CHANGELOG.md` in a way that is understandable for the average user (if change is visible to the user)
- [/] I checked the [user documentation](https://docs.jabref.org/): Is the information available and up to date? If not, I created an issue at <https://github.com/JabRef/user-documentation/issues> or, even better, I submitted a pull request updating file(s) in <https://github.com/JabRef/user-documentation/tree/main/en>.

@koppor koppor added component: ui status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers labels Dec 5, 2025
- After importing, now all imported entries are marked. [#13535](https://github.com/JabRef/jabref/pull/13535)
- The URL integrity check now checks the complete URL syntax. [#14370](https://github.com/JabRef/jabref/pull/14370)
- <kbd>Tab</kbd> in the last text field of a tab moves the focus to the next tab in the entry editor. [#11937](https://github.com/JabRef/jabref/issues/11937)
- When pasting invalid BibTeX data, the content is now pasted as `@Misc` with the raw data in the `note` field. [#14520](https://github.com/JabRef/jabref/pull/14520)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but in the code it's comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: ui status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants