Skip to content
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

New MetaData serialization #232

Closed
stefan-kolb opened this issue Feb 22, 2017 · 3 comments
Closed

New MetaData serialization #232

stefan-kolb opened this issue Feb 22, 2017 · 3 comments

Comments

@stefan-kolb
Copy link
Collaborator

stefan-kolb commented Feb 22, 2017

Ideas:

  • Reuse BibTeX parser logic as far as possible
  • Drop custom String parsing logic
  • Make it obvious which data is related to Jabref
  • One Bibentry as configuration object, e.g., saveactions -> SaveAction.java

old:

@Comment{jabref-meta: databaseType:bibtex;}

new:

@JabRef{metadata,
  databasetype = {bibtex}
}

old:

@Comment{jabref-meta: saveActions:enabled;
date[normalize_date]
pages[normalize_page_numbers]
month[normalize_month]
;}

new:

@JabRef{saveActions,
  state = {enabled},
  date = {normalize_date, action2}
  pages = {normalize_page_numbers}
  month = {normalize_month}
}
@tobiasdiez
Copy link
Collaborator

I really like the idea! Maybe the JabRef type might lead to problems but otherwise a very readable and understandable format!

@koppor
Copy link
Owner

koppor commented Oct 9, 2019

koppor pushed a commit that referenced this issue Oct 18, 2021
495f888637 Bump addressable from 2.7.0 to 2.8.0 (#232)
67e503dd38 Bump nokogiri from 1.11.1 to 1.12.5 (#238)

git-subtree-dir: buildres/csl/csl-locales
git-subtree-split: 495f88863723df52ca10506eb4c2ed246aa37f2f
@koppor
Copy link
Owner

koppor commented Feb 13, 2024

Refined issue at JabRef#10371.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants