Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/killercup/trpl-ebook
UNMAINTAINED
https://github.com/killercup/trpl-ebook
Last synced: 3 months ago
JSON representation
UNMAINTAINED
- Host: GitHub
- URL: https://github.com/killercup/trpl-ebook
- Owner: killercup
- Archived: true
- Created: 2015-05-13T11:10:24.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-09-03T21:48:53.000Z (over 6 years ago)
- Last Synced: 2024-08-01T16:44:46.592Z (6 months ago)
- Language: Rust
- Homepage: http://killercup.github.io/trpl-ebook/
- Size: 26 MB
- Stars: 477
- Watchers: 35
- Forks: 56
- Open Issues: 23
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
- awesome-starred - killercup/trpl-ebook - UNMAINTAINED (others)
README
# 'The Rust Programming Language' as EBook
This repository contains stuff to convert [this book](http://doc.rust-lang.org/book/) to HTML, EPUB and PDF.
**[Download Links](http://killercup.github.io/trpl-ebook/)**
[![Build Status](https://travis-ci.org/killercup/trpl-ebook.svg?branch=master)](https://travis-ci.org/killercup/trpl-ebook)
## DIY
Install:
- pandoc
- Rust and cargo
- XeLaTeX, up to date (`sudo tlmgr update -all`) and probably some additional packages (`sudo tlmgr install $pkg`) such as:
+ framed
+ hyphenat
+ quotchap
+ collection-fontsrecommended
+ mathspec
+ euenc
+ xltxtra
+ xecjk
+ fancyhdr
- the DejaVu Sans Mono font: http://dejavu-fonts.org/
- the IPA font for Japanese Text: http://ipafont.ipa.go.jp/ipaexfont/download.html#enThen run:
```sh
$ cargo run --release
```Voilà!
## Build different books
There are some CLI arguments that you can use to compile books other than the default (`trpl`). E.g., this repository also include the Rustonomicon.
You can build it like this:
```sh
$ cargo run --release -- --prefix=nomicon --source=nomicon --meta=nomicon_meta.yml
```## License
The book content itself as well as any code I added as part of this repository is Copyright (c) 2015 The Rust Project Developers and licensed like Rust itself ([MIT](https://github.com/rust-lang/rust/blob/master/LICENSE-MIT) and [Apache](https://github.com/rust-lang/rust/blob/master/LICENSE-APACHE)).