Skip to content

Import. Format BibTeX source in JabRef style #13015

Open
@koppor

Description

@koppor
  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..."\ Image
  7. See popup
    Image
  8. Select "Show BibTeX source"
  9. See that this is strangely formatted
    Image

Wish:

  • For this field, the BibTeX could should be parsed.
  • If not successful: show original string
  • if successful: show reformmated bibtex

Hints

  • Ensure that flag org.jabref.model.entry.BibEntry#changed is true
  • One should be able to use org.jabref.logic.bibtex.BibEntryWriter#serializeAll to get the String represnetation of the entry.
  • One could also use org.jabref.logic.bibtex.BibEntryWriter#write(org.jabref.model.entry.BibEntry, org.jabref.logic.exporter.BibWriter, org.jabref.model.database.BibDatabaseMode, java.lang.Boolean) with reformat beging true

Metadata

Metadata

Assignees

Type

Projects

Status

Assigned

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions