-
Notifications
You must be signed in to change notification settings - Fork 1
Description
This one will convert a BBL record into a BiB record. And is almost
a copy of this program in the CrossRefWare bundle.
bbl2bib.pl - convert 'thebibliography' environment to a bib file
but instead of dispatching in the direction of
http://www.ams.org/mathscinet-mref
it will send it in the direction of the ArXiv (same as previous script)
http://export.arxiv.org/api/query?search_query=id:$1
and get the record just like the first script, parsing the XML and writing the BibTeX entry.
There is only ONE essential difference between the two programs: MathSciNet MRef program accepts a a FULL \bibitem BBL record -- the arxiv program does not. So we have to prepaper the query from an unformatted BBL record.
We should divide it in two cases:
- The record does contain something like the ArXiv number (xxxx.yyyy or xxxx.yyyyy)
Then use the number to do a search on that ID at the arXiv (just like the first script) and write the number in.
- Nothing looks like an ArXiv ID.
Then we should use some heuristics to separate the record in AUTHOR and TITLE and do a search like the second script.
Here are some examples of BBL records that would be interesting to try:
\bibitem{CMM} A. Cerqueira, C. Matheus and C. G.
Moreira \ Continuity of Hausdorff dimension across
generic dynamical Lagrange and Markov spectra. https://arxiv.org/abs/1602.04649
\bibitem{CMR} A. Cerqueira, C. G. Moreira, S. Roma\~na \ Continuity
of Hausdorff Dimension Across Generic Dynamical Lagrange and Markov
Spectra II. https://arxiv.org/abs/1711.03851
\bibitem{Mat} C. Matheus, \ The Lagrange and Markov spectra
from the dynamical point of view. arxiv:1703.01748
\bibitem{CMM} A. Cerqueira, C. Matheus and C. G.
Moreira \ Continuity of Hausdorff dimension across
generic dynamical Lagrange and Markov spectra.
\bibitem{CMR} A. Cerqueira, C. G. Moreira, S. Roma\~na \ Continuity
of Hausdorff Dimension Across Generic Dynamical Lagrange and Markov
Spectra II
\bibitem{Mat} C. Matheus, \ The Lagrange and Markov spectra
from the dynamical point of view.
This program will not work well straight out, but tuning it for the match verification would be a nice addition