From ebafb9827c8545a4f3d84db85ee61fb140254ef8 Mon Sep 17 00:00:00 2001 From: lukeflo Date: Wed, 29 Jan 2025 21:24:41 +0100 Subject: Simplify codebase + Remove EntryTableItem struct + Simply use the initial generated BibiData struct + One simple `.clone()`, thus, replaces multiple iterations + Keep all other actions --- tests/multi-files/bibfile1.bib | 24 +++++++++++------------- tests/multi-files/bibfile2.bib | 11 +++++++++++ 2 files changed, 22 insertions(+), 13 deletions(-) (limited to 'tests') diff --git a/tests/multi-files/bibfile1.bib b/tests/multi-files/bibfile1.bib index 230a517..9239626 100644 --- a/tests/multi-files/bibfile1.bib +++ b/tests/multi-files/bibfile1.bib @@ -12,16 +12,14 @@ annotation = {A \texttt{collection} entry providing the excerpt information for the \texttt{doody} entry. Note the format of the \texttt{pages} field}, } -@book{ - Bernal_2001, - title={Black Athena Writes Back: Martin Bernal Responds to His Critics}, - ISBN={9780822380078}, - url={http://dx.doi.org/10.1515/9780822380078}, - DOI={10.1515/9780822380078}, - publisher={Duke University Press}, - author={Bernal, Martin}, - editor={Moore, David Chioni}, - year={2001}, - month=sep, - file = {} -} \ No newline at end of file +@book{Bernal_2001, + title = {Black Athena Writes Back: Martin Bernal Responds to His Critics}, + author = {Bernal, Martin}, + year = {2001}, + month = sep, + publisher = {Duke University Press}, + doi = {10.1515/9780822380078}, + isbn = {9780822380078}, + url = {http://dx.doi.org/10.1515/9780822380078}, + editor = {Moore, David Chioni}, +} diff --git a/tests/multi-files/bibfile2.bib b/tests/multi-files/bibfile2.bib index 85038d2..465d048 100644 --- a/tests/multi-files/bibfile2.bib +++ b/tests/multi-files/bibfile2.bib @@ -8,3 +8,14 @@ date = {2006}, indextitle = {Effect of immobilization on catalytic characteristics}, } + +@article{https://doi.org/10.34780/3zczgz54, + title = {Between Legacy and Innovation – Archaeological Data Re-use and Integration}, + author = {Ward, Chloë}, + year = {2024}, + publisher = {Journal of Global Archaeology}, + doi = {10.34780/3ZCZGZ54}, + url = {https://publications.dainst.org/journals/joga/article/view/4578}, + keywords = {Sudan Archaeology, Nubia Archaeology, Legacy Data, Data Re-use}, + language = {en}, +} -- cgit v1.2.3