Cloud2016 Cloud2016 奇怪,现在运行这段代码会报出如下警告 [WARNING] data-latex attribute can't be used with one of bookdown custom environment. It has been removed. 查了下 bookdown 的源码,这消息来自 https://github.com/rstudio/bookdown/blob/6854e02da9b21b95f88119ed36f38e91a4f9e1b2/inst/rmarkdown/lua/custom-environment.lua#L122 自定义 block 的方式为啥要从 beamer 的支持中去掉呀?是有其它更好的方式了吗? @yihui
yihui Cloud2016 这个看起来是个设计缺陷。data-latex 属性不应该在那里被删除,而是要等到这一行用完以后:https://github.com/rstudio/bookdown/blob/6854e02da9b21b95f88119ed36f38e91a4f9e1b2/inst/rmarkdown/lua/custom-environment.lua#L143 你可以去 Github 报告一下。
Cloud2016 yihui BUG already on the road https://github.com/rstudio/bookdown/issues/1143 sorry for I can't type any chinese word 论坛不支持中文输入了吗?这几个字是从其它地方写好贴过来的