Closed ali-ramadhan closed 4 years ago
Same with this entry:
@article{Qiu02,
title = {On the {Construction}, {Comparison}, and {Local} {Characteristic} {Decomposition} for {High}-{Order} {Central} {WENO} {Schemes}},
volume = {183},
doi = {10.1006/jcph.2002.7191},
journal = {Journal of Computational Physics},
author = {Qiu, Jianxian and Shu, Chi-Wang},
year = {2002},
pages = {187--209}
}
Nested braces are not yet supported, unless you're value is inside a quoted "" value. For instance, the following would work.
@article{Qiu02,
title = "On the {Construction}, {Comparison}, and {Local} {Characteristic} {Decomposition} for {High}-{Order} {Central} {WENO} {Schemes}",
volume = {183},
doi = {10.1006/jcph.2002.7191},
journal = {Journal of Computational Physics},
author = {Qiu, Jianxian and Shu, Chi-Wang},
year = {2002},
pages = {187--209}
}
Automa.jl, with which this BibTeX parser is written, provides conditional state exit (for instance when the numbers of opening and closing braces are equal), but I don't get how to use it correctly. Unfortunately, I could not get help from the package maintainer so far. (maybe I should ask on the discourse)
I can add artificially one or two level of nested braces, but it will increase the precompilation time by a lot I think. I'm going to try, just in case.
On the long term, if the automa is too big, I would like to try to provide binaries of it (I don't mind if I need one day to compile it ...). If it is not viable, write a full parser by myself but ...
Also, nested braces need to be handled to have an output without it. The original bib entry (reformatted) is kept within the BibInternal format.
Ah nice, didn't realize the limitation with the nested braces. I'm happy to just change my titles to use the double quotes.
I will mark the issue as closed. However, we do not replace the content of braces for the moment.
Not sure if the BibTeX entry is bad but it seems that
import_bibtex
could not pull the title field out for some reason.