If you are writing or have written your book in Google Docs and are working out a process for getting your book published via Leanpub, we hope the following description of one Leanpub author's experience will be helpful. The text is from the Leanpub podcast interview with author Gordon Webster.
The entire book was actually built and edited in Google Docs, because we needed a collaborative platform. And I use Macs, and I use Linux and Windows as virtual machines on my Mac. But Alex is a Linux guy. We couldn't really use something that was primarily in the Mac world as a tool, and so we settled on Google Docs, and it worked really, really well - until we got up to about 250 pages. And then you start to see the limitations of trying to edit large documents in a web browser.
I've got to give the Google people credit. Google Docs is a great tool. But once we reached pretty much the maximum size that's practical for a Google document, around the 300 pages mark, we already started to see that it was unresponsive sometimes.
And the other issues that we had were - when you create a PDF out of the Google Doc, it does some silly things. For example, all of the internal links point back to the original Google document, and not to the new PDF. So if you have a link in your new PDF to page 100, it will actually point to page 100 in the original Google Doc. Which is kind of absurd. I mean, if you're exporting to PDF, you would hope those internal links would remain internal.
So what we ended up having to do, was to save the entire document as a .docx file in Microsoft Word format. And then we used the Mac Pages program. Well - initially, let me say - I tried using Microsoft Word 2011. Which is the version I happened to have on my Mac. And that does not preserve the links.
When we first published the book on Leanpub, all the links inside - the external links, were dead, because Word didn't handle those properly. And when we put it into the Mac Pages program, then it did a good job of exporting the document. And also, there were some other issues with Word. The images would stray. It didn't really know how to place images where we'd placed images in text. The images would stray into the margins of the page, and look kind of ugly. And you ended up having to go and do a lot of fixing of the positions of the images and stuff like that.
So in the end, the workflow was - Google Docs, save as .docx, import into Mac Pages, fix any kind of page formatting stuff that we needed to fix, and then export as a PDF. And that worked for us.