From e47367118738c1473de4796d07b07ab53c8baebf Mon Sep 17 00:00:00 2001 From: Adrien Ollier Date: Wed, 14 Jun 2017 21:46:14 +0200 Subject: [PATCH 1/5] added instructions to build the book It is required to make the images folder if it does not exists yet and one wants to build the book with the asciidoctor command. closes #764 --- README.asc | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.asc b/README.asc index 837a1e8cc..d049512a7 100644 --- a/README.asc +++ b/README.asc @@ -27,9 +27,19 @@ Converting to EPub... Converting to Mobi (kf8)... -- Mobi output at progit.mobi Converting to PDF... - -- PDF output at progit.pdf + -- PDF output at progit.pdf ---- +An alternative to calling the `bundle` command is to call directly the `asciidoctor` command. +If it is the first time you build the book, it is necessary to create the _images_ folder and fill it. +Do the following only once: + +---- +$ mkdir images/ +$ find book/*/images/ -type f -and -name '*.pnd' -exec cp '{}' images/ \; +---- + +Then you can build the book. You can also use the following commands: ---- From 0df4c91e89990b2fe844b622ee3d726ea631e0fb Mon Sep 17 00:00:00 2001 From: Adrien Ollier Date: Wed, 14 Jun 2017 21:53:02 +0200 Subject: [PATCH 2/5] fixes the file format for images --- README.asc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.asc b/README.asc index d049512a7..a32123a9a 100644 --- a/README.asc +++ b/README.asc @@ -36,7 +36,7 @@ Do the following only once: ---- $ mkdir images/ -$ find book/*/images/ -type f -and -name '*.pnd' -exec cp '{}' images/ \; +$ find book/*/images/ -type f -and -name '*.png' -exec cp '{}' images/ \; ---- Then you can build the book. From 897ea5410a81ec5271d1e3a4d8c03db90b2119bb Mon Sep 17 00:00:00 2001 From: Adrien Ollier Date: Thu, 15 Jun 2017 07:32:54 +0200 Subject: [PATCH 3/5] simply copy the files contained in the images folder of the book --- README.asc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.asc b/README.asc index a32123a9a..395d57459 100644 --- a/README.asc +++ b/README.asc @@ -36,7 +36,7 @@ Do the following only once: ---- $ mkdir images/ -$ find book/*/images/ -type f -and -name '*.png' -exec cp '{}' images/ \; +$ find book/*/images/ -exec cp '{}' images/ \; ---- Then you can build the book. From e23d7fccc29995a01e61a4df64359cffcbe27b9f Mon Sep 17 00:00:00 2001 From: Adrien Ollier Date: Thu, 15 Jun 2017 21:23:50 +0200 Subject: [PATCH 4/5] simplified at the maximum the command to copy images --- README.asc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.asc b/README.asc index 395d57459..52358e9ee 100644 --- a/README.asc +++ b/README.asc @@ -36,7 +36,7 @@ Do the following only once: ---- $ mkdir images/ -$ find book/*/images/ -exec cp '{}' images/ \; +$ cp book/*/images/* images/ ---- Then you can build the book. From 9454e4bcbdd36340e6923226235abdb0e7d1dc67 Mon Sep 17 00:00:00 2001 From: Adrien Ollier Date: Fri, 16 Jun 2017 08:47:17 +0200 Subject: [PATCH 5/5] rewording --- README.asc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.asc b/README.asc index 52358e9ee..e928ac75e 100644 --- a/README.asc +++ b/README.asc @@ -31,7 +31,7 @@ Converting to PDF... ---- An alternative to calling the `bundle` command is to call directly the `asciidoctor` command. -If it is the first time you build the book, it is necessary to create the _images_ folder and fill it. +If it is the first time you're building the book, it is necessary to create the _images_ folder and fill it. Do the following only once: ---- @@ -40,7 +40,7 @@ $ cp book/*/images/* images/ ---- Then you can build the book. -You can also use the following commands: +Use the following commands: ---- $ asciidoctor-pdf progit.asc