Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dmstern/html2biblatex
A tiny bookmarklet for exporting web pages to BibLaTeX (all browsers / no installation).
https://github.com/dmstern/html2biblatex
biblatex bibtex bookmark bookmark-button javascript latex webpage
Last synced: 1 day ago
JSON representation
A tiny bookmarklet for exporting web pages to BibLaTeX (all browsers / no installation).
- Host: GitHub
- URL: https://github.com/dmstern/html2biblatex
- Owner: dmstern
- Created: 2014-04-10T08:59:06.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T09:32:50.000Z (almost 2 years ago)
- Last Synced: 2023-08-04T10:11:59.049Z (over 1 year ago)
- Topics: biblatex, bibtex, bookmark, bookmark-button, javascript, latex, webpage
- Language: JavaScript
- Homepage: http://dmstern.github.io/html2biblatex
- Size: 331 KB
- Stars: 78
- Watchers: 6
- Forks: 32
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
html2biblatex
=============> Citing a webpage in LaTeX has never been easier!
html2biblatex is a lightweight bookmarklet for exporting web pages to BibLaTeX.
_small - flexible - magic!_
Just click on the html2biblatex bookmark button and paste the collected content into your BibLaTeX code.
![Screenshot of popup window to copy the biblatex entry](./screenshot-bookmark.png "html2biblatex Screenshot")
![Screenshot of popup window to copy the biblatex entry](./screenshot-copy.png "html2biblatex Screenshot")
--------------------------------------------------------
Installation
------------1. Create a new bookmark in the bookmark panel of your browser.
2. Name it ("🌐 ➜ 📚" or whatever).
3. URL: [Paste here the content from the file [dist/bookmark-url.js](dist/bookmark-url.js)]Usage
-----1. Load the page you want to cite.
2. Click on the new bookmark button.
3. Copy the selected text to clipboard and press [ENTER].
4. Paste the BibLaTeX entry into
* your .bib file.
* JabRef: Just paste it into the open bibliography table.
* Zotero: Go to 'file' -> 'import from clipboard'.**Sample output:**
```BibLaTeX
@Online {UsingBibTeXashortguide-2015-11-02,
title = {Using BibTeX: a short guide},
date = {2015-11-02},
author = {Martin J. Osborne},
file = {:./references/osborne-latex-BIBTEX.HTM.html:html},
url = {https://www.economics.utoronto.ca/osborne/latex/BIBTEX.HTM},
urldate = {2018-03-17}
}
```Tested with Google Chrome and Epiphany (GNOME) under Ubuntu 13.10.
--------------------------------------------------------
If you like this tool, please consider to upvote my answer on tex.stackexchange.com: https://tex.stackexchange.com/a/170689/48366
--------------------------------------------------------
Build (for developers)
----------------------1. Install [Node.js](https://nodejs.org/)
2. In a terminal run```bash
npm install
npm run build
```