mirror of
https://github.com/jbranchaud/til
synced 2026-01-02 22:58:01 +00:00
Add Convert An ePub Document To PDF On Mac as a workflow til
Also add the new workflow section
This commit is contained in:
@@ -10,7 +10,7 @@ smart people at [Hashrocket](http://hashrocket.com/).
|
||||
For a steady stream of TILs from a variety of rocketeers, checkout
|
||||
[til.hashrocket.com](https://til.hashrocket.com/).
|
||||
|
||||
_589 TILs and counting..._
|
||||
_590 TILs and counting..._
|
||||
|
||||
---
|
||||
|
||||
@@ -38,6 +38,7 @@ _589 TILs and counting..._
|
||||
* [Unix](#unix)
|
||||
* [Vim](#vim)
|
||||
* [Webpack](#webpack)
|
||||
* [Workflow](#workflow)
|
||||
|
||||
---
|
||||
|
||||
@@ -696,6 +697,10 @@ _589 TILs and counting..._
|
||||
- [Specify Port Of CRA's Webpack Dev Server](webpack/specify-port-of-cra-webpack-dev-server.md)
|
||||
- [Use A Specific Config File](webpack/use-a-specific-config-file.md)
|
||||
|
||||
## Workflow
|
||||
|
||||
- [Convert An ePub Document To PDF On Mac](workflow/convert-an-epub-document-to-pdf-on-mac.md)
|
||||
|
||||
## Usage
|
||||
|
||||
The `.vimrc` file for this project contains a function `CountTILs` that can
|
||||
|
||||
21
workflow/convert-an-epub-document-to-pdf-on-mac.md
Normal file
21
workflow/convert-an-epub-document-to-pdf-on-mac.md
Normal file
@@ -0,0 +1,21 @@
|
||||
# Convert An ePub Document To PDF On Mac
|
||||
|
||||
If you have an ePub document and you'd like it in PDF format, you can
|
||||
convert it using the `ebook-convert` binary from `Calibre`.
|
||||
|
||||
First, install `Calibre`:
|
||||
|
||||
```bash
|
||||
$ brew cask install calibre
|
||||
```
|
||||
|
||||
Then convert your ePub using `ebook-convert`:
|
||||
|
||||
```bash
|
||||
$ ebook-convert book.epub book.pdf
|
||||
```
|
||||
|
||||
You'll see a bunch of output as it processes the document. When it
|
||||
completes, you'll have a nice pdf waiting for you.
|
||||
|
||||
[source](https://gist.github.com/AaronO/9962667)
|
||||
Reference in New Issue
Block a user