Giter VIP home page Giter VIP logo

nlpltc's Introduction

nlpltc: Generate a nice-looking printed LibraryThing catalogue

William Denton [email protected]

Written for the Hackfest at Access 2010 (15 October 2010, Winnipeg MB).

Thanks to Hackfest project partners: Ganga Dakshinamurti, Wendy Huot, and Rebecca Larocque. Chris Charles found and fixed a bug at Hackfest at Code4Lib North (6 May 2011, Hamilton ON).

Example of what it looks like

Usage

First, obtain a CSV export from your LibraryThing collection: https://www.librarything.com/more/import

Then:

$ nlpltc your-lt-export.csv > catalogue.tex
$ pdflatex catalogue.tex

That will produce catalogue.pdf.

Requirements

LaTeX! The TeX Live distribution should include everything you need.

Also Ruby. You will also need the htmlentities gem (you may need to run this under sudo):

$ gem install htmlentities

To Do

  • Automate the getting of the export file (if you know a cookie?)
  • Make it look the way Wendy specified (fonts/indenting)
  • Do a subject listing, by tag
  • Use Common LaTeX Service Interface (http://clsi.scribtex.com/) to automatically generate the PDF, which would mean users didn't have to run LaTeX themselves, thereby making this whole thing a lot easier to use

nlpltc's People

Contributors

wdenton avatar ccharles avatar

Watchers

Marcelle von Wendland avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.