Comments (15)
@juaneschutte , I've had more success with the io2012 framework and chrome (not tested with others).
There appear to be 2 problems: 1) the first, title page is messed up (only part of the title shows, not centered properly); 2) there is an empty white slide at the end (it's not numbered, so the problem is quite minor).
Here is my workflow:
- File --> Print
- Select 'Landscape' mode.
- Print using system dialog
- Select orientation (I forget which, but it makes a difference)
- Pages per sheet: 1 (other numbers resulted in slides being cut off)
- select the PDF button at the bottom left corner. This seems to be rather important.
The resulting PDF is available here for 28 days: http://www.fileconvoy.com/dfl.php?id=gbf535f69bcbe21aa999618530ff3fd43ada27bb5c
from dataanalysis.
Once you get a .md file you can use Pandoc http://johnmacfarlane.net/pandoc/ to get a pdf file. Also check the slidify documentation or browse the past issues https://github.com/ramnathv/slidify/issues?state=closed (someone might have asked that previously).
from dataanalysis.
Thanks, i'm gonna check.
from dataanalysis.
For the slides in this repo, you can directly use Google Chrome's print feature to save it as a PDF.
from dataanalysis.
Perfect, thank you so much for the help.
from dataanalysis.
Anyone know of a way to print with one slide per page? Currently Chrome ignores slide boundaries and prints as much as it can fit.
from dataanalysis.
The same problem here. Chrome is ignoring slides boundaries, and sometimes doesn't print slide titles, etc.
from dataanalysis.
There were some changes to Google Chrome, which broke the print styles for the slide framework being used here. I would recommend printing to PDF from Safari of Firefox. I tried it today and it seems to work well for me.
from dataanalysis.
👍 Firefox worked for me as well.
from dataanalysis.
Printing using pandoc certainly works well, specially since the yaml is nicely transformed into a title. But what I was trying to do was to get a pdf that would keep all the custom styling created through CSS. My ultimate goal is to have the presentation imported into slideshare.
I tried to use http://wkhtmltopdf.org/ , which works pretty well in converting local and online html-css into very nice looking pdf or images, but that didn't work for slidify (pdf or images). I then tried standalone and selfcontained, but still no results.
I wonder whether anybody might have been successful in uploading a slidify presentation in any format to slideshare.
thanks
from dataanalysis.
The best way to do this is to use the browsers print function. Firefox seems to give the best results retaining most of the styling. There is also an automated solution that uses casperjs
to capture each slide as screenshot and convert them into a pdf.
from dataanalysis.
I'm getting no-where with Firefox/Chrome/Safari/Opera print functions. They print only the current slide and without any of the styles. I'm using html5slides, in case that matters. I'll try pandoc, but I thought I should let you know.
from dataanalysis.
Unfortunately, im also not winning with any of those major browsers, even if i use the io2012 framework.
from dataanalysis.
Currently Firefox does a good job (it prints an extra blank page at the end, but otherwise fine), as long as you set the advanced printing options to landscape and remove headers, footers, and background colors. Chrome currently messes things up (in my case, it makes a mess of the title page and omits the second page, weird but true).
from dataanalysis.
On Mac OSX, this can be done using
Rscript
-e "Sys.setenv(RSTUDIO_PANDOC='/Applications/RStudio.app/Contents/MacOS/pandoc');library(rmarkdown); library(utils); render('input.Rmd', 'pdf_document')"`
from dataanalysis.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dataanalysis.