MCPcopy Index your code
hub / github.com/dmstern/html2biblatex

github.com/dmstern/html2biblatex @2.1.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 2.1.0 ↗ · + Follow
3 symbols 6 edges 2 files 0 documented · 0% updated 3y ago2.1.0 · 2021-02-02★ 893 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
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 of popup window to copy the biblatex entry


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]

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:

@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.


Build (for developers)

  1. Install Node.js
  2. In a terminal run

bash npm install npm run build

Core symbols most depended-on inside this repo

jsDate2bibTex
called by 2
src/html2biblatex.js
copyToClipboard
called by 1
src/html2biblatex.js
date2YearTex
called by 1
src/html2biblatex.js

Shape

Function 3

Languages

TypeScript100%

Modules by API surface

src/html2biblatex.js3 symbols

For agents

$ claude mcp add html2biblatex \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact