-
Notifications
You must be signed in to change notification settings - Fork 306
Publish a PDF version of the guide #166
Comments
Google Chrome (and I believe other browsers too) have an ability "to print" the page to a pdf file. |
That ability is insufficient in many ways. For one, it requires browsing each individual article. Furthermore, if there are no explicitly set print-friendly styles, the resulting document does not represent the feel of a book, which defeats the whole purpose. Margins, page breaks, code snippets, headings etc often look too wonky to be viewed as learning material. |
Do you know any services we could use to generate it? It is probably just a matter of having a separate print CSS and then calling out to some service. |
There apparently are lots of API based services I guess that could be incorporated into the hexo publish workflow |
@dominicnguyen if you want, you could take a stab at making some nice print CSS - could be a good start to the fancy book effort! |
Great! Apart from his visual genius, I'd also suggest some care for
|
I don't think we currently have any icons, so that won't be a problem. I bet a lot of the other stuff could be fixed by converting Markdown -> LaTeX using pandoc or similar. Maybe then we don't actually need any CSS. |
Cool, LaTeX indeed does address such concerns, but then I find formatting LaTeX documents rather (much) harder than writing print styles :) |
I guess the hope is that the default formatting can be good enough :P as an added bonus we can submit our work to an academic paper more easily... |
👍 |
So I tried |
I searched the repo but could not find a reference to I'd be happy to lend a second set of eyes if you can let me in on where you're doing the conversion. |
Oh this was just me locally installing that program and typing some stuff in the terminal. Basically, all we need is some sort of command line tool that will work, then we can integrate it into the build process. |
Oh, ok. Let me know if you need anything. |
I'm not sure if you guys are aware, so here it goes: There is https://github.com/alanshaw/markdown-pdf |
This does look cool and hackable! |
I can't play with it tonight, but I think it's possible to clone the repo and then use GitBook.com to set it up as an ebook for downloading in various formats, including PDF. Please correct me if that's not possible. I'll try to play with it tomorrow and see what I can do. I like dead trees sometimes, too. |
Okay, so technically I lied. I did play with the formatting on GitBook tonight. You can download a copy of the PDF here: https://www.gitbook.com/book/kwgainey/meteorguide/details. As I state at that link, I'm not associated with MDG, just wanted to make the guide available in PDF format. Enjoy. |
This looks cool! Can we integrate that into our build process? |
Right now, I don't have it linked to the GitHub repository for updates, but it can be setup to build the PDF on commits. |
I am trying to make a GitBook linked to the GitHub repository for updates. But it seems rather tricky and the GitBook documentation is not really helpful. |
@kvetoslavnovak I had problems trying to link GitBook directly to GH repository updates as well. :( |
GitBook definitely has its fair share of issues. |
OK. I had success to build Gitbook version of the book which automatically updates from Github - https://www.gitbook.com/book/kvetoslavnovak/the-gitbook-meteor-guide/details I had to fork the official Github meteor/guide repo to my ( https://github.com/kvetoslavnovak/GitBook-Meteor-Guide ) to approve access of Gitbook to Github. @stubailo best way would be if MDG opens its own Gitbook account.
There may be some formatting issues (I have noticed only chapter headings and descriptions to look strange). But I would recommend to have the Gitbook as a "dumb component" so you will only take care of Github version of the Guide. Maybe you can try to play with formatting in Github and see how it reflects in Gitbook. If you add any chapters in the future to the Guide you should update SUMMARY.md accordingly. EDIT: I have added SUMMARY.md file request #366 for possible merge directly here instead of upload it into Gitbook |
I think it's really bad for SEO to have duplicated content here and on GitBook, but using it as part of a PDF build process makes a lot of sense. I wonder if that's part of the GitBook open source tool, or if it's only available through their service. The web UI of GitBook I think is a pretty big step down from the Guide right now - we don't get the table of contents, embedded forum thread, it is much slower to load, and we don't have analytics. So I would be very strongly against switching to GitBook for the main site. |
I definitly agree. There is very easy solution:
|
Excited to see if this approach works! We'll try to get on it in the next few days. |
any solutions on this one? |
|
About to go on a long flight, I wish I could download a pdf of the guide! |
@Falieson I imagine you've probably already taken your flight, but as a suggestion to others, the "Dash" app from Kapeli has (up to date!) Meteor docs as one of their downloadable options – it works offline! This isn't the solution to this issue necessarily, but an option! |
I'm closing this issue because it's too old. We are going to make many updates to the guide in the next weeks and it's better to focus on issues with recent activity. If you think this issue is still relevant please open a new one. |
Today I was happily surprized to see the number of articles published on the guide.
I decided to take a plunge and check to see if there are any interesting new patterns that I can make use of myself. But I quickly missed the taste of paper on my fingertips when I get sifting through pages of a great book!
When I first started meteor, I purchased all the books out there. The ones I could only get a soft copy of, I printed them. (I know I know, but I'll save some trees using the new vast knowledge I'm getting myself acquainted with) Sometimes I print extra pages and post them on a wall. Sometimes I just print zoomed-in sections as cuecards to keep handy.
So the point is, the screen has only so much space for reading learning material and it would just be awesome if there were a pdf version of the guide for download.
The text was updated successfully, but these errors were encountered: