Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Place all code blocks on one page (PDF) #157

Open
Sina-Ghaderi opened this issue Aug 4, 2020 · 1 comment
Open

Place all code blocks on one page (PDF) #157

Sina-Ghaderi opened this issue Aug 4, 2020 · 1 comment

Comments

@Sina-Ghaderi
Copy link

For better readability and order in printing the book, Please place all code blocks on one page.

Screenshot from 2020-08-04 16-19-38

@go101
Copy link
Owner

go101 commented Aug 5, 2020

@Sina-Ghaderi
Thanks for this suggestion.

The PDF ebooks are generated from epub versions by using Calibre.
https://github.com/go101/go101-ebooks

I haven't found an option in Calibre to force each code block on one page.
Personally I prefer the current layout way, otherwise, there will be
some large blank spaces in many pages.
And there are several code examples which need more than one whole page to show.

If you could find a way to try to make each code block in a single page,
I would like to try it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants