3.2 KiB
security-engineering-3rd-edition-ebook
Update: The website currently only has 7 sample chapters since the remaining were removed at the book's publication. The script should automatically start working in May 2024, when these chapters should become available.
This is just the script to generate a combined PDF from the currently-online-chapters that were published for review. The script also takes care of putting in the right bookmarks for all the chapters in the generated PDF file.
The e-book version is available now for $42 from Wiley and for $47 from Amazon.
Chapters
See book.md
for the bookmark titles used by the script.
How to generate the book?
Run ./generate.sh
. You will need pystitcher
, and wget
installed. Alternatively, you can run it using Docker.
Docker
docker run --detach --name security-engineering-ebook captn3m0/security-engineering-ebook
7553d55547603b0e3d47332f4cd55a126ace10e0e965547b0fae06e3c7b16229
docker logs security-engineering-ebook -f
Starting PDF download
All PDFs downloaded
PDF files combined
Bookmarks attached to PDF
PDF File generated: security-engineering-3rd-edition.pdf
docker cp security-engineering-ebook:/security-engineering-ebook/security-engineering-3rd-edition.pdf .
Once the script finishes running, check the security-engineering-3rd-edition.pdf
file.
More Options?
You can run with the following 2 options:
--generate-metadata
To generate the meta.txt file which contains the list of bookmarks to be inserted. This is required if you make changes to the file lists.
This also requires qpdf
to be installed.
--download-cover-image
Download the cover image. The repo already has a cover.pdf
file which is used by default. Do this if the cover URL changes. Requires wget
to be installed.
Support the Authors
Buy the second edition of the book from:
A combined PDF of the first edition is available directly from the author at http://www.cl.cam.ac.uk/~rja14/musicfiles/manuscripts/SEv1.pdf.
Contributing
The list of URLs is maintained at urls.txt
and might need to be updated. File a PR if this breaks?
Extra
A list of my other EBook generation projects: https://captnemo.in/ebooks/, includes a link to other related projects as well
License
The little code in this repo is licensed under the MIT License. See LICENSE file for details.