jywarren / plots2

The Public Lab website!
http://publiclab.org
GNU General Public License v3.0
17 stars 2 forks source link

PDF export of Wiki Pages or Research Notes #136

Closed ebarry closed 11 years ago

ebarry commented 11 years ago

PDF export of Wiki Pages or Research Notes is needed, especially for curriculum pages. Issue came up while exporting a curriculum package from the CHAQ Initiative: http://publiclab.org/wiki/air-quality-class

btbonval commented 11 years ago

What would PDF export look like? I assume the desired PDF export would be just the content of the wiki or research note without all the other cruft?

Worst case, you can already File > Print and choose a PDF option in most browsers and operating systems. Those PDFs will look just like the web page, including side bars and headers.

If we want something more specialized than this (making use of the built-in PDF features generally already available), one of these packages might do the trick: http://railscasts.com/episodes/220-pdfkit http://railscasts.com/episodes/153-pdfs-with-prawn https://github.com/mileszs/wicked_pdf

jywarren commented 11 years ago

I think a print stylesheet would do perfectly. On Jun 5, 2013 6:12 PM, "Bryan Bonvallet" notifications@github.com wrote:

What would PDF export look like? I assume the desired PDF export would be just the content of the wiki or research note without all the other cruft?

Worst case, you can already File > Print and choose a PDF option in most browsers and operating systems. Those PDFs will look just like the web page, including side bars and headers.

If we want something more specialized than this (making use of the built-in PDF features generally already available), one of these packages might do the trick: http://railscasts.com/episodes/220-pdfkit http://railscasts.com/episodes/153-pdfs-with-prawn https://github.com/mileszs/wicked_pdf

— Reply to this email directly or view it on GitHubhttps://github.com/jywarren/plots2/issues/136#issuecomment-19012492 .

jywarren commented 11 years ago

Print stylesheets now working on wiki and research note pages.