entation.</p>
</section><section id="revealjs-and-r-1" class="slide level2">
<h2>revealjs and r</h2>
<!-- cd "C:/Users/fan/Tex4Econ/nontex/revealjsrmd/" -->
<p>Once the HTML file is created, we can use decktape to convert it to pdf:</p>
<ul>
<li>install decktape: install <a href="https://nodejs.org/en/">nodejs</a>, npm install -g decktape</li>
<li>to save results as image slides individually:
<ul>
<li><em>decktape reveal –screenshots test_img.html test_img.pdf</em></li>
</ul></li>
<li>to save results as a