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

New eBook format #505

Open
jayair opened this issue Oct 22, 2020 · 10 comments
Open

New eBook format #505

jayair opened this issue Oct 22, 2020 · 10 comments

Comments

@jayair
Copy link
Contributor

jayair commented Oct 22, 2020

We've got some great news for our Serverless Stack eBook readers. Serverless Stack is now available in a brand new eBook friendly format. Both as a PDF and EPUB version.

Screen Shot 2020-10-21 at 8 09 56 PM

A huge thanks to @pepas24 and @fwang for putting this together in PR #327.

You all should've received the new version via email. If not, then make sure you are subscribed to the Serverless Stack newsletter and we'll send it to you.

Have a look and let us know if you find any problems.

Thanks!

@mattwelke
Copy link

Glad to see this in PDF format. I like to save PDFs to my phone and tablet for reading in places where I have no internet connection.

I found an issue copy and pasting code. It copies to the clip board as a bunch of weird characters:

image

image

When I'm reading at the computer, following along, copying code, this would interrupt my flow.

@jayair
Copy link
Contributor Author

jayair commented Oct 22, 2020

LOL wow that's complete gibberish. Which PDF reader are you using?

@LosD
Copy link

LosD commented Oct 22, 2020

@jayair This looks maybe like another symptom of what I found: I can't search the PDF. In Chrome, Driver PDF Viewer, OneDrive PDF Viewer and Dropbox PDF Viewer, searches gets weird. E.g. searching for "gr" yields results with "do". In Acrobat Reader for Android, nothing is found, even searching for single letters.

And it's rather huge. 203 MB. Yes, it's a large document, but most images should be easily compressible. Could the text have been replaced with raster images or something?

@jayair
Copy link
Contributor Author

jayair commented Oct 22, 2020

It's weird because the search and copy paste works in the Mac Preview app. Though the indents are not copied over.

@jayair
Copy link
Contributor Author

jayair commented Oct 22, 2020

The mystery deepens, I think something went wrong with this specific version. The older ones that were generated don't have this issue.

@LosD Can you try downloading the PDF from here — https://github.com/AnomalyInnovations/serverless-stack-com/actions/runs/321103427 and doing the search?

@LosD
Copy link

LosD commented Oct 22, 2020

@jayair Both search and copying works! 😄

Copying still loses indents, though, but I guess 99/100 uses an IDE capable of auto indenting, so that's quite minor 🙂

It's still large-ish at 150MB, but that's also a minor thing. Just a bit weird (maybe just images without compression?)

@jayair
Copy link
Contributor Author

jayair commented Oct 22, 2020

That's good. We'll push a new version with this shortly.

Yeah I haven't looked the images issue yet. Anybody with Pandoc experience want to help us out here?

@LosD
Copy link

LosD commented Oct 22, 2020

Looking at it again, it might not be that weird. There's more images than I remember, and it IS almost 1000 pages. And the images are rather high resolution, which I guess they should be to look good when printed.

@mattwelke
Copy link

Which PDF reader are you using?

This was the PDF reader built into Chrome on Windows 10. Usually on my PCs, I'll use Adobe Reader and on my tablet, I'll use Readera. Haven't tried those yet.

Tested the new build. Used Adobe Reader. It worked well. :)

@jayair
Copy link
Contributor Author

jayair commented Oct 22, 2020

Great! Thanks guys. We'll push out a new version. And email it out early next week. Don't want to flood people's inboxes.

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

No branches or pull requests

3 participants