Skip to content

Citing a webpage in LaTeX has never been easier! – html2biblatex is a lightweight browser "plugin" for exporting web pages to BibLaTeX. No installation needed!

Notifications You must be signed in to change notification settings

Op3rat0r/html2biblatex

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

html2biblatex

Citing a webpage in LaTeX has never been easier! – html2biblatex is a lightweight browser "plugin" 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.


File Description

html2bibtex.js

The JavaScript, that I wrote.

html2bibtex-min.js

The JavaScript without whitescpaces.

html2bibtex-min-win.js

The JavaScript without whitespaces in string ("\n", "\t") for better platform and encoding support.

url-text.js

The same content as 'html2bibtex-min-win.js' except a prefixed 'javascript:' for use in a browser bookmark.

Installation

  1. Create a new bookmark in the bookmark panel of your browser.
  2. Name it ("Export -> BibLaTeX" or whatever).
  3. URL: [Paste here the content from the file url-text.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'.

Tested with Google Chrome and Epiphany (GNOME) under Ubuntu 13.10.

=====================================================================

Formatting BibLaTex Entry

For a more beautiful formatting of the BibLaTeX entry you can replace the part after "javascript:" of the file 'url-text.js' with the content from the file 'html2bibtex-min.js'.

About

Citing a webpage in LaTeX has never been easier! – html2biblatex is a lightweight browser "plugin" for exporting web pages to BibLaTeX. No installation needed!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%