-
Notifications
You must be signed in to change notification settings - Fork 188
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
Print friendly #56
Comments
I suggest we only need:
|
Agreed, simpler is better :) and with a clear link to the print-friendly page the result should be the same for the end-users. |
Yeah, it should be easy to add a "view-chapters" link and have all the chapters on one page. Work in progress here under the https://github.com/hotosm/learnosm/tree/all-chapters |
@jueyang - I like this a lot.
|
This would be great. .. But in the mean time: How should created prints be provided for publishing at LearnOSM.org? @xamanu just created a Spanish PDF of the Spanish Github translation. How should that be offered for publishing? (Detailed) Pull request or a clear language request with a link to the PDF? |
@jaakkoh - why would others not just generate the PDF themselves? |
All that's needed is a print friendly stylesheet. That's the cheapest to maintain in the long run. |
Yes. In the long run. But in the long run we'll all be dead too... |
FYI, here's the conversion script we did using pandoc. https://github.com/essc/learnosmtopdf This is not as easy as just printing from the browsers (too many pandoc dependencies), but we once setup, it is very straightforward to update the docs from learnosm repo (git pull && make). |
@jaakkoh I think there is a first print friendly css that was put together (at least for the beginner content) during the initial discussion. If you click on the all chapters link in the left menu (http://learnosm.org/en/editing/id-editor/) and then use Print Pdf in the browser. Does that work for you? |
Thanks @vdeparday . Unfortunately it doesn't. That is, I can print but it looks horrible and there's e.g. no TOC of any kind as illustrated below. For an example of how it should look (more or less) like pls see the linked PDF of LearnOSM Spanish version pimped up by @xamanu |
I think we need info from the actual users on this - who wants it, for what, and how often. As I said, think we need to send a message to HOT establishing who wants it, why, and how often. |
Right. I was assuming that creating a proper print style would be be more The "typical" use case I'm thinking about and what I've seen or/and had is
I would assume that if a traditional print would be created it would serve Sent from my mobile device.
|
I've created a quick .odt document as a test - in my shared dropbox just to see if this would be okay. https://www.dropbox.com/s/fq3grmolw352zws/Introduction.odt?dl=0 It took me about 1/2 an hour to produce (have to individually add the images). Could be quicker with practice. This may be the better option if it is acceptable to all - gives you the opportunity to combine chapters and create TOC as needed. Can then be printed as wanted. |
See #319 - the .odt documents was created using pandoc, although I did reformat the .odt to incorporate other sections and tidy up, including a TOC, before producing the .pdf Feedback welcome please The comment & download link is at the head of http://learnosm.org/en/coordination/remote/ |
Following on from a move of various topics within the headings, I've produced an .odt & .pdf version of each of the topics now within the beginners guide, in all of the languages, and created links for downloading them. The .odt was produced using pandoc, and only briefly edited (remove some surplus headings for other chapters) before producing the .pdf It's not perfect, but I think it is deliverable by me at the moment. I'll work on the other sections as the need arises - if you need one, let me know & I'll produce it. |
is there anyway to have the LearnOSM logo appear in the print view? I briefly took a look at this but couldn't figure out how to do this yet. I see the print.css file |
Hi @d3netxer I've started putting the logo manually into the .odt when I produce or update a document. As you've rightly realised there are a lot that don't have the logo in them. If you fancied adding a few & updating them, that would be great, otherwise they wait for me to get the time to do them. |
I haven't looked at your .odt workflow, but in this thread I'm referring to when someone clicks print in their browser, not the PDFs that are linked to on individual pages. |
Closing. It would be good if some clever person could automate this. In the meantime I'm using pandoc and manually tidying the result. |
The PDFs are currently available as Google docs but these will get outdated as pull requests come in. So, it looks like:
The text was updated successfully, but these errors were encountered: