我正在处理一个在字幕后面导入图片的markdown文档。这是我的代码: ## 2 - Characteristics of the respondents
### Gender of respondents
![Gender of respondents](../../../outputs/testing/Gender of respondents.png)
### Government tier
![Government tier of respondents](../../../outputs/testing/Government tier of respondents.png)
我正在努力学习pandoc。我以前使用过latex,因为我总是处理公式和代码。下面是我编写成pdf的简单文档:
---
title: Test
...
# Test!
This is a test of *pandoc*.
- list one
- list two
- $E=mc^2$
- На русском
Горит костер рябины красной.
$$
A = \int\limits_{-\infty}^{\infty} e^{-x^2}dx
$$
```python
类ClassName(对象):
"""docstring for
我有我的项目的当前文件夹结构 .
├── Makefile
└── S6
├── CD_CS304.md
├── CN_CS306.md
├── DAA_CS302.md
└── graphviz
└── cs304_compilerphases.dot
2 directories, 5 files 我正在为每个markdown文件构建单独的pdf,这是我的Makefile # Generate PDFs from the Markdown source files
#
# In order to use this makefile, you
在执行pandoc mymarkdown.md -o mypdf.pdf时,我得到以下错误:
! Undefined control sequence.
l.279 ...e know that the element stored at \(x \lt
pandoc: Error producing PDF
我很困惑,因为使用pandoc和任何其他的markdown文件对我都有效。l.279 ...e know that the element stored at \(x \lt对应于我的md文件中的一行。如果我从文件中删除该行,错误仍然存在,并给出不同的行,依此类推。
我使用bookdown来呈现html书籍。如何使用LaTeX引擎xelatex而不是the来渲染同一本书? 这是我使用的主要代码: bookdown::render_book('index.Rmd', output_file='mybook.pdf','bookdown::pdf_book') 它一直在说! Sorry, but C:\PROGRA~1\MIKTEX~1.9\miktex\bin\x64\pdflatex.exe did not succeed.。因为当呈现其他类型的pdf文档时,我使用xelatex作为引擎,我知道它应该在我的
我得到一个错误,编织一个Rmd文件到pdf。下面是导致错误的代码部分。
```{r chunk5 ,echo=F}
函数(Z){if(z==“剂量”){
cat(paste(as.character(1),"\b. If there is no difference in
tooth growth for" ,z, "of",as.character(20),"and"
as.character(10),"the probability of