Skip to content
Greg Turnquist edited this page Sep 22, 2018 · 3 revisions

Welcome to the Packt Book Template!

Got a contract with Packt Publishing? Wish you could write your book using Asciidoctor instead of using MS Word or OpenOffice? Follow the following steps!

  1. Clone https://github.com/gregturn/asciidoctor-packt into a folder (e.g. ~/src/asciidoctor-packt)

  2. Pick another folder to host the code for your book (e.g. ~/books/my-tech-book-code)

  3. Clone this project into another folder (e.g. ~/books/my-tech-book)

  4. Edit doc and Guardfil and tailor it to your needs.

  5. Start putting your own content into ch1, then ch2, etc.

Enjoy!

Continuous editing

Want to do live editing? Do this:

  1. Install rbenv.

  2. gem install guard

  3. guard

Now the system will rebuild every time you alter a fragment as well as an individual chapter. Install a LiveReload plugin in your browser and you can proofread edits as they happen.

Clone this wiki locally