-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Reformat BibTex in Show BibTex Source #13761
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
Conversation
jabgui/src/main/java/org/jabref/gui/importer/ImportEntriesViewModel.java
Show resolved
Hide resolved
jabgui/src/main/java/org/jabref/gui/importer/ImportEntriesViewModel.java
Show resolved
Hide resolved
|
You can also trigger this import window when you use the Web search e.g. arxiv or similar |
|
No need to close and reopen every time, this creates unnecessary noise |
koppor
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
koppor
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added the CHANGELOG.md entry for myself to keep things going.
|
Note that your PR will not be reviewed/accepted until you have gone through the mandatory checks in the description and marked each of them them exactly in the format of |
|
@trag-bot didn't find any issues in the code! ✅✨ |
…n-c23b1a88-5c29-46a2-a007-701edd344b9b' into jetbrains-junie-issue-13623-run-c23b1a88-5c29-46a2-a007-701edd344b9b * upstream/jetbrains-junie-issue-13623-run-c23b1a88-5c29-46a2-a007-701edd344b9b: Streamline code for getTabTitle() (#13781) Add missing variables Reformat BibTex in Show BibTex Source (#13761) Auto publish before JBang tests (#13779) Hotfix: calling of publish.yml Support BibLaTeX datamodel validations (#13693) Auto add and remove of "status: changes-required" label (#13778) New Crowdin updates (#13777) Restore local-only Git behavior for SLR to fix repository initialization error (#13775) Use vanilla hashset (#13771) Fix Springer Fetcher names (#13770) Fix condition Publish SNAPSHOT on jablib change (#13774) Adapt as per new set of checks (#13772) Bump jablib/src/main/resources/csl-styles from `1194364` to `17cfa60` (#13750) Fix path (#13769) Mode aware consistency check (#13584) Refine JBang check (#13765) Add Language Server to the UI and add the integrity/consistency check (#13697) Fix/remove comment code (#13763)
* upstream/main: Add missing variables Reformat BibTex in Show BibTex Source (#13761) Auto publish before JBang tests (#13779) Hotfix: calling of publish.yml Support BibLaTeX datamodel validations (#13693) Auto add and remove of "status: changes-required" label (#13778) New Crowdin updates (#13777) Restore local-only Git behavior for SLR to fix repository initialization error (#13775) Use vanilla hashset (#13771) Fix Springer Fetcher names (#13770) Fix condition Publish SNAPSHOT on jablib change (#13774) Adapt as per new set of checks (#13772) Bump jablib/src/main/resources/csl-styles from `1194364` to `17cfa60` (#13750)

Closes #13015
Reformats the BibTeX shown in the Import dialog’s “Show BibTeX source” preview to JabRef’s canonical style. The incoming string is parsed into a
BibEntryand rendered viaBibEntryWriterwithreformat=true; if parsing fails, the raw string is shown unchanged. This makes the preview readable and consistent with JabRef’s formatting guidelines.Steps to test
1.Open JabRef

2.Create new library
3.Open Firefox
4.Ensure that JabRef plugin is installed
5.Navigate to https://learning.oreilly.com/library/view/infrastructure-as-code/9781098150341/
6.Click on "Import references..."
7.See Popup

8.Select "Show BibTeX source"
9.See the formatting
Before :

After :

Mandatory checks
CHANGELOG.mdin a way that is understandable for the average user (if change is visible to the user)