我有一本小书本'book',其中包含以下代码:
A concept map is a diagram that shows 'ideas' and the relationship between those ideas. An example of a concept map is shown in Figure \@ref(fig:exampleCM).
```{r exampleCM, fig.show='hold', fig.cap='An example concept map --- Source: [Wikipedia](https://upload.wikimedia.org/wikipedia/commons/d/df/Conceptmap.png "Concept Map from Wikipedia")', echo=FALSE}
knitr::include_graphics('images/ConceptMap.png')
```
如果我将书籍渲染为HTML,则一切正常。标题包括指向Wikimedia / Wikipedia的超链接。也就是说,标题看起来像这样:
图E.1:概念图示例-来源:维基百科
如果我将书籍渲染为PDF,则PDF中的标题如下所示:
图E.1:概念图示例-来源:[Wikipedia](https://upload.wikimedia.org/wikipedia/commons/d/df/Concep “来自维基百科的概念图”)
由于某些原因,rmarkdown似乎没有被渲染。生成的LaTeX文件是这样的:
A concept map is a diagram that shows `ideas' and the relationship between those ideas. An example of a concept map is shown in Figure \ref{fig:exampleCM}.
\begin{figure}
\includegraphics[width=12.33in]{images/ConceptMap} \caption{An example concept map --- Source: [Wikipedia](https://upload.wikimedia.org/wikipedia/commons/d/df/Conceptmap.png "Concept Map from Wikipedia")}\label{fig:exampleCM}
\end{figure}
我想知道如何解决这个问题。