Trying to convert the Swift 4.0 guide to read on paper.
The whole thing looks beautifully but the code snippets are off
The last random amount of line numbers isn't printed and the actual lines are always off indentation. Since the book is a programming book, it consists mostly of code snippets, so this small bug makes the whole things unprintable.
How do I fix this?
Here's an example snippet
https://imgur.com/a/1TQ9G
PS: I am using the latest Calibre 3.9.0 on macOS High Sierra