-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
With this script:
const BibLatexParser = require('biblatex-csl-converter').BibLatexParser
const input = `
@article{Adams2001,
title = {{The \\emph{physical} volcanology of the 1600 eruption of Huaynaputina, southern Peru}},
}
`
let parser = new BibLatexParser(input, {
processUnexpected: true,
processUnknown: { comment: 'f_verbatim' },
processInvalidURIs: true,
});
let bib = parser.parse()
console.log(JSON.stringify(bib.entries['1'].fields.title, null, 2))
I'm getting
[
{
"type": "text",
"text": "The ",
"marks": [
{
"type": "nocase"
}
]
},
{
"type": "text",
"text": "physical",
"marks": [
{
"type": "em"
}
]
},
{
"type": "text",
"text": " volcanology of the 1600 eruption of Huaynaputina, southern Peru"
}
]
which leaves the part after the emph section unprotected. This isn't expected right?
Metadata
Metadata
Assignees
Labels
No labels