环境:win7 64bit; pandoc; RStudio; knitr Microsoft Office Word 2007
代码:
<!--pandoc
t: html
s:
mathjax:
number-sections:
bibliography: foo.bib
o: output.html
-->
---
title: "test06"
author: "Franklin"
date: "Tuesday, June 24, 2014"
output: word_document
---
Some mathematics:
$$
e^{(i\pi)}+1 = 0
$$
Inline test $\sin(x)$.
我在RStudio的控制台中输入命令,如下所示,
pandoc('test05.md',format ='docx')
虽然word文档中的等式根本不显示。