-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PDF 编译错误 #81
Comments
我暂时修好了pdf这个问题,具体而言:
好像 bookdown 输出pdf时只能用
|
Closed
如果出版社要求PDF排版就要PDF编译通过,如果出版社要求Word排版那就可以只是Word编译通过。8-) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我对 latex 排错能力有限,先把我碰到过的错误贴上来。
第一个错误是
bookdown.post.latex
里面的这一行rmarkdown-guide/index.Rmd
Line 55 in e24c2df
报错信息是
估计这里是前面的 i1 和 i2 出现了
Inf
,这一行注释掉后可以消除错误。第二错误是两张图片
https://github.com/cosname/rmarkdown-guide/blob/master/01-intro.Rmd#L139-L143
https://github.com/cosname/rmarkdown-guide/blob/master/03-document.Rmd#L170-L174
这两个图的
fig.cap
都是用了(ref:label)
语法,错误是一样的,例如第二个图生成的tex
是报错 log 是
把它们都改成行内
fig.cap
可以解决这个问题第三个错误我没有找到具体的报错位置,错误信息是
log 文件是
https://gist.github.com/qiushiyan/2956afa6c2cbd2892c955d962ccfbfe1
此外 #80 还会带来一个新错误
可能有关 https://community.rstudio.com/t/pandoc-document-conversion-failed-with-error-83/138962
The text was updated successfully, but these errors were encountered: