Skip to content
Snippets Groups Projects
Commit 9afba751 authored by Bas Nijholt's avatar Bas Nijholt
Browse files

update refs

parent 1b738285
No related branches found
No related tags found
No related merge requests found
Pipeline #22112 passed
...@@ -108,13 +108,11 @@ def doi2bib(doi): ...@@ -108,13 +108,11 @@ def doi2bib(doi):
return r.text return r.text
bibs = [f for f in glob.glob("*yaml") if "tmp.yaml" not in f] fname = 'paper.yaml'
print("Reading: ", bibs) print("Reading: ", fname)
mapping = {} with open(fname) as f:
for fname in bibs: mapping = yaml.safe_load(f)
with open(fname) as f:
mapping = {**mapping, **yaml.safe_load(f)}
dois = dict(sorted(mapping.items())) dois = dict(sorted(mapping.items()))
...@@ -125,14 +123,14 @@ with ThreadPoolExecutor() as ex: ...@@ -125,14 +123,14 @@ with ThreadPoolExecutor() as ex:
entries = [replace_key(key, bib) for key, bib in zip(dois.keys(), bibs)] entries = [replace_key(key, bib) for key, bib in zip(dois.keys(), bibs)]
bib_files = glob.glob("not_on_crossref.bib")
with open("paper.bib", "w") as outfile: with open("paper.bib", "w") as outfile:
fname = "not_on_crossref.bib"
outfile.write("@preamble{ {\\providecommand{\\BIBYu}{Yu} } }\n\n") outfile.write("@preamble{ {\\providecommand{\\BIBYu}{Yu} } }\n\n")
for fname in bib_files: outfile.write(f"\n% Below is from `{fname}`.\n\n")
outfile.write(f"\n% Below is from `{fname}`.\n\n") with open(fname) as infile:
with open(fname) as infile: outfile.write(infile.read())
outfile.write(infile.read()) outfile.write("\n% Below is from `paper.yaml` files.\n\n")
outfile.write("\n% Below is from all `yaml` files.\n\n")
for e in entries: for e in entries:
for line in e.split('\n'): for line in e.split('\n'):
# Remove the url line # Remove the url line
......
...@@ -5,6 +5,19 @@ ...@@ -5,6 +5,19 @@
school = {Rice University}, school = {Rice University},
} }
@Article{Dyn1990,
doi = {10.1093/imanum/10.1.137},
url = {https://doi.org/10.1093%2Fimanum%2F10.1.137},
year = 1990,
publisher = {Oxford University Press ({OUP})},
volume = {10},
number = {1},
pages = {137--154},
author = {Nira Dyn and David Levin and Samuel Rippa},
title = {Data Dependent Triangulations for Piecewise Linear Interpolation},
journal = {{IMA} Journal of Numerical Analysis}
}
@InCollection{Figueiredo1995, @InCollection{Figueiredo1995,
author = {de Figueiredo, Luiz Henrique}, author = {de Figueiredo, Luiz Henrique},
title = {Adaptive sampling of parametric curves}, title = {Adaptive sampling of parametric curves},
...@@ -70,16 +83,3 @@ ...@@ -70,16 +83,3 @@
title = {Mathematica, Version 12.0}, title = {Mathematica, Version 12.0},
note = {Champaign, IL, 2019}, note = {Champaign, IL, 2019},
} }
@Article{Dyn1990,
doi = {10.1093/imanum/10.1.137},
url = {https://doi.org/10.1093%2Fimanum%2F10.1.137},
year = 1990,
publisher = {Oxford University Press ({OUP})},
volume = {10},
number = {1},
pages = {137--154},
author = {Nira Dyn and David Levin and Samuel Rippa},
title = {Data Dependent Triangulations for Piecewise Linear Interpolation},
journal = {{IMA} Journal of Numerical Analysis}
}
...@@ -10,6 +10,19 @@ ...@@ -10,6 +10,19 @@
school = {Rice University}, school = {Rice University},
} }
@Article{Dyn1990,
doi = {10.1093/imanum/10.1.137},
url = {https://doi.org/10.1093%2Fimanum%2F10.1.137},
year = 1990,
publisher = {Oxford University Press ({OUP})},
volume = {10},
number = {1},
pages = {137--154},
author = {Nira Dyn and David Levin and Samuel Rippa},
title = {Data Dependent Triangulations for Piecewise Linear Interpolation},
journal = {{IMA} Journal of Numerical Analysis}
}
@InCollection{Figueiredo1995, @InCollection{Figueiredo1995,
author = {de Figueiredo, Luiz Henrique}, author = {de Figueiredo, Luiz Henrique},
title = {Adaptive sampling of parametric curves}, title = {Adaptive sampling of parametric curves},
...@@ -76,20 +89,7 @@ ...@@ -76,20 +89,7 @@
note = {Champaign, IL, 2019}, note = {Champaign, IL, 2019},
} }
@Article{Dyn1990, % Below is from `paper.yaml` files.
doi = {10.1093/imanum/10.1.137},
url = {https://doi.org/10.1093%2Fimanum%2F10.1.137},
year = 1990,
publisher = {Oxford University Press ({OUP})},
volume = {10},
number = {1},
pages = {137--154},
author = {Nira Dyn and David Levin and Samuel Rippa},
title = {Data Dependent Triangulations for Piecewise Linear Interpolation},
journal = {{IMA} Journal of Numerical Analysis}
}
% Below is from all `yaml` files.
@article{Alliez2003, @article{Alliez2003,
doi = {10.1145/882262.882296}, doi = {10.1145/882262.882296},
...@@ -177,18 +177,6 @@ ...@@ -177,18 +177,6 @@
booktitle = {Proceedings of the 25th annual conference on Computer graphics and interactive techniques - {SIGGRAPH} {\textquotesingle}98} booktitle = {Proceedings of the 25th annual conference on Computer graphics and interactive techniques - {SIGGRAPH} {\textquotesingle}98}
} }
@article{Dyn1990,
doi = {10.1093/imanum/10.1.137},
year = 1990,
publisher = {Oxford University Press ({OUP})},
volume = {10},
number = {1},
pages = {137--154},
author = {NIRA DYN and DAVID LEVIN and SAMUEL RIPPA},
title = {Data Dependent Triangulations for Piecewise Linear Interpolation},
journal = {{IMA} Journal of Numerical Analysis}
}
@article{Emery1998, @article{Emery1998,
doi = {10.1088/0957-0233/9/6/003}, doi = {10.1088/0957-0233/9/6/003},
year = 1998, year = 1998,
......
...@@ -5,7 +5,6 @@ Bommer2019: 10.1103/physrevlett.122.187702 ...@@ -5,7 +5,6 @@ Bommer2019: 10.1103/physrevlett.122.187702
Chen2017: 10.1088/1361-6501/aa7d31 Chen2017: 10.1088/1361-6501/aa7d31
Clenshaw1960: 10.1007/bf01386223 Clenshaw1960: 10.1007/bf01386223
DeRose1998: 10.1145/280814.280826 DeRose1998: 10.1145/280814.280826
Dyn1990: 10.1093/imanum/10.1.137
Emery1998: 10.1088/0957-0233/9/6/003 Emery1998: 10.1088/0957-0233/9/6/003
Gonnet2010: 10.1145/1824801.1824804 Gonnet2010: 10.1145/1824801.1824804
Gramacy2004: 10.1145/1015330.1015367 Gramacy2004: 10.1145/1015330.1015367
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment