diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2015-09-19 16:21:49 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2015-09-19 16:21:49 -0700 |
commit | 6e4e38a7b9782bcfbe17959895954dc3197bebac (patch) | |
tree | 1dc09cf964fef5e1a79707330f90834446997e9a | |
parent | 7a98e6c04a9ae82b22d88af56645b7138ec3b206 (diff) | |
download | oso2pdf-6e4e38a7b9782bcfbe17959895954dc3197bebac.tar.gz |
README.md written
-rw-r--r-- | README.md | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..c311703 --- /dev/null +++ b/README.md @@ -0,0 +1,42 @@ +# oso2pdf + +## Introduction + +This computer program attempts to convert book chapters downloaded +from [Oxford Scholarship Online](http://www.oxfordscholarship.com/) to +PDF. The PDFs are better than those the OSO website can generate: the +pages of the PDF correspond to the pages of the original book, and the +typography is nicer. + +**N.B.** This software is of use only to someone who has legitimate +access to Oxford Scholarship Online and has already downloaded a book +chapter to their own computer. It **does not make any network +connections** to Oxford Scholarship Online and it **cannot assist in +breaking the license terms** Oxford Scholarship Online users are bound +by. + +## Usage + +Use your web browser to save a book chapter from Oxford Scholarship +Online to an HTML file, e.g. `my_chapter.html`. Then run the command + + $ oso2pdf my_chapter.html + +which will produce a file `my_chapter.pdf`. Optionally, specify the +font for the conversion; the default setting is + + $ oso2pdf --font="Liberation Serif" my_chapter.html + +## Installation + +Runtime dependencies: + +- a working installation of pandoc +- some XeLaTeX compatible font, such as Liberation Serif + +To build and install, first +[install stack](https://github.com/commercialhaskell/stack), and then + + $ git clone git@github.com:spwhitton/oso2pdf.git + $ cd oso2pdf + $ stack install |