Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Scholar links for articles #8

Merged
merged 3 commits into from
Dec 11, 2023
Merged

Google Scholar links for articles #8

merged 3 commits into from
Dec 11, 2023

Conversation

topepo
Copy link
Contributor

@topepo topepo commented Dec 9, 2023

This PR has some post-processing tools for bibtex files that add a LaTeX \href{} entry that points to Google Scholar. This will help people get direct access to references via the journal site or other locations where the reference (or a preprint) is available.

For example, it takes this bibtex entry:

@article{vakayil2022data,
  title={Data twinning},
  author={Vakayil, A and Joseph, V R},
  journal={Statistical Analysis and Data Mining: {The} ASA Data Science Journal},
  volume={15},
  number={5},
  pages={598-610},
  year={2022}
}

and formats it as

@Article{vakayil2022data,
  title = {\href{https://scholar.google.com/scholar?hl=en&as_sdt=0%2C7&q=Data+twinning&as_ylo=2022&as_yhi=2022&btnG=}{Data twinning}},
  author = {A Vakayil and V R Joseph},
  journal = {Statistical Analysis and Data Mining: {The} ASA Data Science Journal},
  volume = {15},
  number = {5},
  pages = {598-610},
  year = {2022},
}

and renders as:

image

The original reference entries are kept intact; a separate file is written with the link markup.

@topepo topepo merged commit 2a61eb7 into main Dec 11, 2023
@topepo topepo deleted the linked-references branch December 11, 2023 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant