getting bibtex for a work within a work,
Mike Marchywka
marchywka at hotmail.com
Fri Oct 6 22:34:21 CEST 2023
I ran into this recently,
https://www.academia.edu/download/63153016/Dworkin_The_Prokaryotes-A_Handbook_on_the_Biology_of_Bacteria_3rd_ed_Vol_320200430-42071-1b9nr0r.pdf#page=443
clicking it redirects to this,
https://d1wqtxts1xzle7.cloudfront.net/63153016/Dworkin_The_Prokaryotes-A_Handbook_on_the_Biology_of_Bacteria_3rd_ed_Vol_320200430-42071-1b9nr0r.pdf?1588286417=&response-content-disposition=inline%3B+filename%3DThe_Prokaryotes_Third_Edition.pdf&Expires=1696627749&Signature=NAqZn5HqbVSuL3rXkgAyAAbRdHraPzQZkjniINeSOygtYqmNkuCzB7eSuxCglqkngyqMKd4syoHuPjkxcnk~ZwXTdbYY-MS9-BVKadYEjnpY-DFvjKEzs-T4AaP43rs~nK-PQDYssozqH5KdOIAGfW~95ISuIC7rgzGWkIMEZP1wXdTqSyeQLHNBV0lrjqyp-azNj0Rc2F-nWkgb9gbOcWnb0uoce0bKcwcI2gbvGv1G8rC7OnAIGA5zZhnRqCyYIOlw6i-iMg7AXri7wh5KDXHgkbUkJXJNnkvJuwV2UeU190lzhRNk~kQox-rxQolIdEWiPuVH6t3lDFVTnaqMMw__&Key-Pair-Id=APKAJLOHF5GGSLRBV4ZA#page=443
There was some concern in the past about citing a work within
a work but the fragment in the URL seems to work just fine.
I added to TooBib the ability to get the fragment page
from the pdf file and it was able to get
both of these entries although the "container" I coerced
to "journal" some glue logic can fix that AFAICT.
The Zotero webform does not do pdf AFAICT so I did not
try it but with a plugin you have a lot more
to work with.
For including machine readable bibtex, if the pages are
known at build time this is now easy but if not you
can still think of some ways to make it work such as
some structured text in the human readable stuff etc.
This uses pdfseparate and pdftotext to get the DOI's,
cat xxxx
% mjmhandler: toobib handlepdftext (pdftotext)(crossref)
% date 2023-10-06:16:19:41 Fri 06 Oct 2023 04:19:41 PM EDT
% srcurl: https://d1wqtxts1xzle7.cloudfront.net/63153016/Dworkin_The_Prokaryotes-A_Handbook_on_the_Biology_of_Bacteria_3rd_ed_Vol_320200430-42071-1b9nr0r.pdf?1588286417=&response-content-disposition=inline%3B+filename%3DThe_Prokaryotes_Third_Edition.pdf&Expires=1696624333&Signature=fmdvpKK4DPEpGOTjOXSL7c2SmLQB7YhkECarKoUxvvucy7qSZ6Z8WBu3NvBvqwVUWQiYqSgCu4MkgNPAJd5mNKzAzWfTt370k886qVgpSqcjxlvWp7EpV4UwgCPTlR569AtmZyey0IjQOrxFAy4aHpD46BV~rmIyK8MPvShQuRdd7UiIWxrQssigTrVnX7CzdqaSmD9lKoMlwi0I09QFns3ldVt4JAWQROTpZwp6MPUIZD4-eTad2qePjSYbZSXosXzVLprX4inGbIM3OZcIHCLX2~9tqUwubnHfH6zYt2785FngSawbDCNVe0R2dB~mQLg~cOHaMh~eQs4yahLYxg__&Key-Pair-Id=APKAJLOHF5GGSLRBV4ZA#page=443
% citeurl: http://api.crossref.org/works/10.1007/0-387-30743-5
@reference-book{MartinDworkinfirstStanleyFalkowadditionalEugeneRosenbergadditional_Prokaryotes_2006,
X_TooBib = {date: 2006},
X_TooBib = {year: 2006, infield_fix_dates },
X_TooBib = {urldate: FixBeKvp s= cmd=date "+%Y-%m-%d" d=2023-10-06 dn=urldate},
X_TooBib = {author: ReWriteParse be.get("author")=},
X_TooBib = {author: ReWriteParse be.get("author")=},
X_TooBib = {journal: ReWriteParse be.get(s)=Springer New York be.get(dest)=},
X_TooBib = {author: },
affiliation = {},
author = {},
author_orig = {},
bib-source = {Crossref},
content-domain = {false},
date = {2006},
date-created = {2006-10-07T17:54:03Z},
date-deposited = {2019-04-062019-04-06T00:38:02Z},
date-indexed = {2023-09-27T14:07:29Z},
date-issued = {2006},
date-license = {2006-01-012006-01-01T00:00:00Z},
date-published-print = {2006},
date_orig = { 2006 2006 },
deposited = {1554511082000},
doi = {10.1007/0-387-30743-5},
editor = {Martin, Dworkin, first, Stanley, Falkow, additional, Eugene, Rosenberg, additional, Karl-Heinz, Schleifer, additional, Erko, Stackebrandt, additional},
is-referenced-by-count = {16},
isbn = {9780387254937, 9780387307435},
isbn-type = {9780387254937, print, 9780387307435, electronic},
journal = {Springer New York},
license = {1136073600000, tdm, 0, http://www.springer.com/tdm},
link = {http://link.springer.com/content/pdf/10.1007/0-387-30743-5.pdf, application/pdf, vor, text-mining, http://link.springer.com/content/pdf/10.1007/0-387-30743-5, unspecified, vor, similarity-checking},
member = {297},
prefix = {10.1007},
publication-date = {2006},
publisher = {Springer New York},
publisher-location = {New York, NY},
reference-count = {0},
references-count = {0},
resource = {http://link.springer.com/10.1007/0-387-30743-5},
score = {1},
title = {The Prokaryotes},
type = {reference-book},
url = {http://dx.doi.org/10.1007/0-387-30743-5},
urldate = {2023-10-06},
year = {2006},
final_assembly ={ TooBib handler handlepdftext (pdftotext)(crossref)},
srcurl={https://d1wqtxts1xzle7.cloudfront.net/63153016/Dworkin_The_Prokaryotes-A_Handbook_on_the_Biology_of_Bacteria_3rd_ed_Vol_320200430-42071-1b9nr0r.pdf?1588286417=&response-content-disposition=inline%3B+filename%3DThe_Prokaryotes_Third_Edition.pdf&Expires=1696624333&Signature=fmdvpKK4DPEpGOTjOXSL7c2SmLQB7YhkECarKoUxvvucy7qSZ6Z8WBu3NvBvqwVUWQiYqSgCu4MkgNPAJd5mNKzAzWfTt370k886qVgpSqcjxlvWp7EpV4UwgCPTlR569AtmZyey0IjQOrxFAy4aHpD46BV~rmIyK8MPvShQuRdd7UiIWxrQssigTrVnX7CzdqaSmD9lKoMlwi0I09QFns3ldVt4JAWQROTpZwp6MPUIZD4-eTad2qePjSYbZSXosXzVLprX4inGbIM3OZcIHCLX2~9tqUwubnHfH6zYt2785FngSawbDCNVe0R2dB~mQLg~cOHaMh~eQs4yahLYxg__&Key-Pair-Id=APKAJLOHF5GGSLRBV4ZA#page=443},
xsrcurl={https://d1wqtxts1xzle7.cloudfront.net/63153016/Dworkin_The_Prokaryotes-A_Handbook_on_the_Biology_of_Bacteria_3rd_ed_Vol_320200430-42071-1b9nr0r.pdf?1588286417=&response-content-disposition=inline%3B+filename%3DThe_Prokaryotes_Third_Edition.pdf&Expires=1696624333&Signature=fmdvpKK4DPEpGOTjOXSL7c2SmLQB7YhkECarKoUxvvucy7qSZ6Z8WBu3NvBvqwVUWQiYqSgCu4MkgNPAJd5mNKzAzWfTt370k886qVgpSqcjxlvWp7EpV4UwgCPTlR569AtmZyey0IjQOrxFAy4aHpD46BV~rmIyK8MPvShQuRdd7UiIWxrQssigTrVnX7CzdqaSmD9lKoMlwi0I09QFns3ldVt4JAWQROTpZwp6MPUIZD4-eTad2qePjSYbZSXosXzVLprX4inGbIM3OZcIHCLX2~9tqUwubnHfH6zYt2785FngSawbDCNVe0R2dB~mQLg~cOHaMh~eQs4yahLYxg__&Key-Pair-Id=APKAJLOHF5GGSLRBV4ZA#page=443},
citeurl={http://api.crossref.org/works/10.1007/0-387-30743-5},
toobib-date={2023-10-06:16:19:41 Fri 06 Oct 2023 04:19:41 PM EDT}
}
% mjmhandler: toobib handlepdftext<-handlepdftext
% date 2023-10-06:16:19:42 Fri 06 Oct 2023 04:19:42 PM EDT
% srcurl: /tmp/fileUlj87e.outguesses https://d1wqtxts1xzle7.cloudfront.net/63153016/Dworkin_The_Prokaryotes-A_Handbook_on_the_Biology_of_Bacteria_3rd_ed_Vol_320200430-42071-1b9nr0r.pdf?1588286417=&response-content-disposition=inline%3B+filename%3DThe_Prokaryotes_Third_Edition.pdf&Expires=1696624333&Signature=fmdvpKK4DPEpGOTjOXSL7c2SmLQB7YhkECarKoUxvvucy7qSZ6Z8WBu3NvBvqwVUWQiYqSgCu4MkgNPAJd5mNKzAzWfTt370k886qVgpSqcjxlvWp7EpV4UwgCPTlR569AtmZyey0IjQOrxFAy4aHpD46BV~rmIyK8MPvShQuRdd7UiIWxrQssigTrVnX7CzdqaSmD9lKoMlwi0I09QFns3ldVt4JAWQROTpZwp6MPUIZD4-eTad2qePjSYbZSXosXzVLprX4inGbIM3OZcIHCLX2~9tqUwubnHfH6zYt2785FngSawbDCNVe0R2dB~mQLg~cOHaMh~eQs4yahLYxg__&Key-Pair-Id=APKAJLOHF5GGSLRBV4ZA#page=443
% citeurl: http://api.crossref.org/works/10.1007/0-387-30743-5_19
@book-chapter{Stackebrandt_Cummins_Johnson_Family_Propionibacteriaceae_Genus_2006,
X_TooBib = {date: 2006},
X_TooBib = {year: 2006, infield_fix_dates },
X_TooBib = {urldate: FixBeKvp s= cmd=date "+%Y-%m-%d" d=2023-10-06 dn=urldate},
X_TooBib = {author: Stackebrandt , Erko and Cummins , Cecil S. and Johnson , John L.},
affiliation = {},
author = {Stackebrandt , Erko and Cummins , Cecil S. and Johnson , John L.},
author_orig = {Erko Stackebrandt and Cecil S. Cummins and John L. Johnson},
bib-source = {Crossref},
content-domain = {false},
date = {2006},
date-created = {2006-10-07T21:54:03Z},
date-deposited = {2021-08-012021-08-01T23:31:12Z},
date-indexed = {2023-08-25T17:37:16Z},
date-issued = {2006},
date-license = {2006-01-012006-01-01T00:00:00Z},
date-published-online = {2017-01-17},
date-published-print = {2006},
date_orig = { 2006 2006 2017-01-17 },
deposited = {1627860672000},
doi = {10.1007/0-387-30743-5_19},
is-referenced-by-count = {24},
journal = {The Prokaryotes},
license = {1136073600000, unspecified, 0, http://www.springer.com/tdm},
link = {http://link.springer.com/content/pdf/10.1007/0-387-30743-5_19, unspecified, vor, similarity-checking},
member = {297},
page = {400-418},
prefix = {10.1007},
publication-date = {2006},
publisher = {Springer New York},
publisher-location = {New York, NY},
reference = {deleted},
reference-count = {173},
references-count = {173},
resource = {http://link.springer.com/10.1007/0-387-30743-5_19},
score = {1},
title = {Family Propionibacteriaceae: The Genus Propionibacterium},
type = {book-chapter},
url = {http://dx.doi.org/10.1007/0-387-30743-5_19},
urldate = {2023-10-06},
year = {2006},
final_assembly ={ TooBib handler handlepdftext (pdftotext)(crossref)},
srcurl={https://d1wqtxts1xzle7.cloudfront.net/63153016/Dworkin_The_Prokaryotes-A_Handbook_on_the_Biology_of_Bacteria_3rd_ed_Vol_320200430-42071-1b9nr0r.pdf?1588286417=&response-content-disposition=inline%3B+filename%3DThe_Prokaryotes_Third_Edition.pdf&Expires=1696624333&Signature=fmdvpKK4DPEpGOTjOXSL7c2SmLQB7YhkECarKoUxvvucy7qSZ6Z8WBu3NvBvqwVUWQiYqSgCu4MkgNPAJd5mNKzAzWfTt370k886qVgpSqcjxlvWp7EpV4UwgCPTlR569AtmZyey0IjQOrxFAy4aHpD46BV~rmIyK8MPvShQuRdd7UiIWxrQssigTrVnX7CzdqaSmD9lKoMlwi0I09QFns3ldVt4JAWQROTpZwp6MPUIZD4-eTad2qePjSYbZSXosXzVLprX4inGbIM3OZcIHCLX2~9tqUwubnHfH6zYt2785FngSawbDCNVe0R2dB~mQLg~cOHaMh~eQs4yahLYxg__&Key-Pair-Id=APKAJLOHF5GGSLRBV4ZA#page=443},
xsrcurl={/tmp/fileUlj87e.outguesses},
citeurl={http://api.crossref.org/works/10.1007/0-387-30743-5_19},
toobib-date={2023-10-06:16:19:42 Fri 06 Oct 2023 04:19:42 PM EDT}
}
--
mike marchywka
44 Crosscreek Trail
Jasper GA 30143
USA, Earth marchywka at hotmail.com
404-788-1216 ORCID: 0000-0001-9237-455X
More information about the texhax
mailing list.