Citation.js converts formats like BibTeX, Wikidata JSON and ContentMine JSON to CSL-JSON to convert to other formats like APA, Vancouver and back to BibTeX.
I'm trying to use this to parse citation data into JSON and it's working very well, but when we have a bibtex that contains an abstract, for example:
@Article{min13091179,
AUTHOR = {Reis, Maria Anna Abreu de Almeida dos and Damasceno, Andrea Carvalho and Roriz, Carlos Eduardo Dias and Korenchendler, André Leonardo and Silva, Atilas Meneses da and Praxedes, Eric da Silva and Silva, Vitor Gorni},
TITLE = {Source Rock Evaluation from Rock to Seismic Data: An Integrated Machine-Learning-Based Work Flow and Application in the Brazilian Presalt (Santos Basin)},
JOURNAL = {Minerals},
VOLUME = {13},
YEAR = {2023},
NUMBER = {9},
ARTICLE-NUMBER = {1179},
URL = {https://www.mdpi.com/2075-163X/13/9/1179},
ISSN = {2075-163X},
ABSTRACT = {The capacity to predict the occurrence and quality of source rocks in a sedimentary basin is of great economic importance in the evaluation of conventional and non-conventional petroleum resources. Direct laboratory examinations of rock samples are the most accurate way to obtain their geochemical properties. However, rock information is usually sparse, and source rocks are often sampled at positions that may not be representative of the average organic content and quality of oil kitchens. This work proposes a work flow supported by machine learning methods (random forest, DBSCAN, and NGBoost) to automate the source rock characterization process to maximize the use of available data, expand data information, and reduce data analysis time. From the automated quality control of the input data through the extrapolation of laboratory measurements to continuous well logs of geochemical properties, culminating in the 3D estimation of these properties, we generate volumes of total organic carbon (TOC) by applying machine learning techniques. The proposed method provides more accurate predictions, reducing uncertainties in the characterization of source rocks and assisting in exploratory decision making. This methodology was applied in the presalt source rocks from Santos Basin (Brazil) and allowed us to quantify the TOC distribution, improving the interpretation of the main source rock interval top and base based only on seismic amplitude data. The result suggests higher TOC values in the northern and western grabens of the studied area and a higher charge risk in the eastern area.},
DOI = {10.3390/min13091179}
}
and I'm converting using this:
let opt={
format: 'string',
type: 'json',
lang: 'English',
style: 'csl'
}
let result = cite.set(data).get(opt);
I don't get the abstract - which I would really like to. Am I doing something wrong?
I'm trying to use this to parse citation data into JSON and it's working very well, but when we have a bibtex that contains an abstract, for example:
and I'm converting using this:
I don't get the abstract - which I would really like to. Am I doing something wrong?