[英]beamer rmarkdown presentation unable to knit pdf file instead knit html document that too is not knitted
我有一個 beamer rmarkdown 文件,用於准備 PDF 演示文稿作為教材。 但是,當我單擊 knit with pdf 時,輸出顯示在 html 文檔中,而不是 beamer_presentation (pdf)。 我的 yaml 是:
提前感謝大家。
早些時候它編織得很好,但一段時間后它開始出現這個問題,我在各種論壇上檢查了所有“幫助”,但問題仍然存在。 我什至安裝了 tinyverse 並安裝/刪除了 MikTex 並重新啟動系統以解決問題。
---
title: "Mathematics for Finance"
author:
- Dr. XXXX
institute:
- YYYY
date: "June-July 2019"
output:
beamer_presentation:
incremental: false
theme: "AnnArbor"
colortheme: "wolverine"
fonttheme: "structuresmallcapsserif"
toc: true
slide_level: 2
fig_width: 5
fig_height: 4
fig_caption: true
highlight: tango
link-citations: yes
urlcolor: red
linkcolor: red
citecolor: blue
---
沒有顯示錯誤信息,只是執行了HTM文件那太空白了!
"C:/Users/Kulbirs/ANACON~1/envs/rstudio/Scripts/pandoc" +RTS -K512m -RTS beamertest1.utf8.md --to html4 --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash+smart --output beamertest1.html --email-obfuscation none --self-contained --standalone --section-divs --template "C:\\Users\\Kulbirs\\Documents\\R\\win-library\\3.6\\rmarkdown\\rmd\\h\\default .html" --no-highlight --variable highlightjs=1 --variable "theme:bootstrap" --include-in-header "C:\\Users\\Kulbirs\\AppData\\Local\\Temp\\RtmpgnjFVR\\rmarkdown-str56854a3563d.html " --mathjax --variable "mathjax-url: https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML " --metadata pagetitle=beamertest1.utf8.md
創建的輸出:beamertest1.html
問題是線條
link-citations: yes
urlcolor: red
linkcolor: red
citecolor: blue
如果你真的,真的,真的想要有彩色鏈接,你可以添加
header-includes:
- \hypersetup{colorlinks, urlcolor=red, linkcolor=red, citecolor=blue}
到您的標題,但這對於 beamer 來說真的,真的,真的是個壞主意,因為這破壞了您的主題所做的所有精心選擇的設計決策。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.