简体   繁体   English

制作slidify或Rpres HTML5演示文稿的讲义

[英]Produce handouts of slidify or Rpres HTML5 presentations

I would like to give my audience handouts of my HTML5 presentation created by slidify or Rstudio's R presentations. 我想向我的观众提供由slidify或Rstudio的R演示文稿创建的HTML5演示文稿的讲义。 Any suggestions? 有什么建议么?

1) Install the software pandoc : http://johnmacfarlane.net/pandoc/installing.html 1)安装软件pandochttppandoc

2) Install the stoftware MikTex (Windows): http://miktex.org/download 2)安装stoftware MikTex (Windows): httpMikTex

3) Install the R package knitr 3)安装R包装knitr

install.packages("knitr")

4) The following only worked after I restarted my PC (Windows) 4)以下仅在重新启动PC后才起作用(Windows)

# Load packages
library("knitr")

# Check if pandoc is found on your system
system("pandoc -v")

# Set working directory, e.g.: 
# setwd("C:/r_files")

# Convert mark-up file
pandoc('p4.Rpres', format='latex') # PDF
pandoc('p4.Rpres', format='docx') # DOCX

During the execution of the latter command multiple pop-ups were shown saying that MikTex needs to install specfic add-ons to process the command. 在执行后一个命令期间,显示了多个弹出窗口,说明MikTex需要安装特定的附加组件来处理命令。 You have to confirm this to proceed. 您必须确认这一点才能继续。

For more details see: http://yihui.name/knitr/demo/pandoc/ 有关详细信息,请参阅:http: //yihui.name/knitr/demo/pandoc/

why don't you use (Awesome Screenshot) is a browser plugin (fire fox, chrome) which takes an images of the browser and creates a .jpg or.png file of the image, also if you really want to make it into a .pdf import the image into photoshop and safe it as a.pdf 为什么你不使用(真棒截图)是一个浏览器插件(火狐,铬),它采用浏览器的图像并创建图像的.jpg或.png文件,如果你真的想让它成为一个.pdf将图像导入photoshop并将其作为a.pdf安全保存

hope I answer your question? 希望我回答你的问题?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM