- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我想使用 R markdown 并且在运行 bookdown::render_book("index.Rmd", "bookdown::pdf_book")
时收到此消息:
"C:/Program Files/RStudio/bin/pandoc/pandoc" +RTS -K512m -RTS Documentation.utf8.md --to latex --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash --output Documentation.tex --table-of-contents --toc-depth 2 --template "C:\PROGRA~1\R\R-35~1.3\library\RMARKD~1\rmd\latex\DEFAUL~3.TEX" --number-sections --highlight-style tango --pdf-engine pdflatex --variable graphics=yes --wrap preserve --variable "compact-title:yes" --variable tables=yes --standalone
Error: Failed to compile Documentation.tex. See https://yihui.name/tinytex/r/#debugging for debugging tips.
In addition: Warning message:
In system2(..., stdout = if (use_file_stdout()) f1 else FALSE, stderr = f2) :
'"pdflatex"' not found
Please delete Documentation.md after you finish debugging the error.
Administrator mode cannot be enabled (makes no sense) because this is not a shared MiKTeX setup.
initializing setup service...
starting installer...
Loading package database...
starting package maintenance...
installation directory: "C:\Program Files\MiKTeX 2.9"
package repository: C:\Users\yo\AppData\Local\Temp\2\mik32886
visiting repository C:\Users\yo\AppData\Local\Temp\2\mik32886...
repository type: local package repository
loading package repository manifest...
package repository digest: 4fedb4887b9f440cb2cbe754ef191951
going to install 10619 file(s) (214 package(s))
extracting files from ae.tar.lzma...
extracting files from amscls.tar.lzma...
extracting files from amsfonts.tar.lzma...
extracting files from amsmath.tar.lzma...
extracting files from asymptote.tar.lzma...
extracting files from avantgar.cab...
extracting files from babel.tar.lzma...
extracting files from babel-english.tar.lzma...
extracting files from babel-french.tar.lzma...
extracting files from babel-german.tar.lzma...
extracting files from babel-spanish.tar.lzma...
extracting files from biber-windows-x64.tar.lzma...
extracting files from bibtex.tar.lzma...
extracting files from bibtex8bit.tar.lzma...
extracting files from bibtex8bit-polish.tar.lzma...
extracting files from bidi.tar.lzma...
extracting files from bookman.cab...
extracting files from carlisle.tar.lzma...
extracting files from cbcoptic.tar.lzma...
extracting files from chktex.tar.lzma...
extracting files from cm.tar.lzma...
extracting files from courier.tar.lzma...
extracting files from cweb.tar.lzma...
extracting files from cyrillic.tar.lzma...
extracting files from dehyph.tar.lzma...
extracting files from dehyph-exptl.tar.lzma...
extracting files from dvipdfmx.tar.lzma...
extracting files from dvips.tar.lzma...
extracting files from ec.tar.lzma...
extracting files from elhyphen.tar.lzma...
extracting files from enctex.tar.lzma...
extracting files from etex.tar.lzma...
extracting files from etex-pkg.tar.lzma...
extracting files from euenc.tar.lzma...
extracting files from eurosym.tar.lzma...
extracting files from float.tar.lzma...
extracting files from fontconfig.tar.lzma...
extracting files from fontname.tar.lzma...
extracting files from fontspec.tar.lzma...
extracting files from geometry.tar.lzma...
extracting files from ghostscript.tar.lzma...
extracting files from graphics.tar.lzma...
extracting files from graphics-cfg.tar.lzma...
extracting files from graphics-def.tar.lzma...
extracting files from gsftopk.tar.lzma...
extracting files from helvetic.cab...
extracting files from hyperref.tar.lzma...
extracting files from hyph-utf8.tar.lzma...
extracting files from ifxetex.tar.lzma...
extracting files from jknappen.tar.lzma...
extracting files from knuth-lib.tar.lzma...
extracting files from knuth-local.tar.lzma...
extracting files from latex-fonts.tar.lzma...
extracting files from lm.tar.lzma...
extracting files from ltxbase.tar.lzma...
extracting files from ltxmisc.tar.lzma...
extracting files from lua-alt-getopt.tar.lzma...
extracting files from luainputenc.tar.lzma...
extracting files from lualibs.tar.lzma...
extracting files from luamplib.tar.lzma...
extracting files from luaotfload.tar.lzma...
extracting files from luatexbase.tar.lzma...
extracting files from luatextra.tar.lzma...
extracting files from makeindex.tar.lzma...
extracting files from metafont.tar.lzma...
extracting files from metapost.tar.lzma...
extracting files from mflogo.tar.lzma...
extracting files from mflogo-font.tar.lzma...
extracting files from mfware.tar.lzma...
extracting files from miktex-arctrl-bin-x64-2.9.tar.lzma...
extracting files from miktex-asymptote-bin-x64-2.9.tar.lzma...
extracting files from miktex-autosp-bin-x64-2.9.tar.lzma...
extracting files from miktex-axohelp-bin-x64-2.9.tar.lzma...
extracting files from miktex-bibarts-bin-x64-2.9.tar.lzma...
extracting files from miktex-bibtex-bin-x64-2.9.tar.lzma...
extracting files from miktex-bibtex8bit-bin-x64-2.9.tar.lzma...
extracting files from miktex-bzip2-bin-x64-2.9.tar.lzma...
extracting files from miktex-cairo-bin-x64-2.9.tar.lzma...
extracting files from miktex-chktex-bin-x64-2.9.tar.lzma...
extracting files from miktex-cjkutils-bin-x64-2.9.tar.lzma...
extracting files from miktex-config-2.9.tar.lzma...
extracting files from miktex-console-bin-x64-2.9.tar.lzma...
extracting files from miktex-curl-bin-x64-2.9.tar.lzma...
extracting files from miktex-cweb-bin-x64-2.9.tar.lzma...
extracting files from miktex-devnag-bin-x64-2.9.tar.lzma...
extracting files from miktex-dict-english.tar.lzma...
extracting files from miktex-dict-french.tar.lzma...
extracting files from miktex-dict-german.tar.lzma...
extracting files from miktex-doc-2.9.tar.lzma...
extracting files from miktex-dvicopy-bin-x64-2.9.tar.lzma...
extracting files from miktex-dvipdfmx.tar.lzma...
extracting files from miktex-dvipdfmx-bin-x64-2.9.tar.lzma...
extracting files from miktex-dvipng-bin-x64-2.9.tar.lzma...
extracting files from miktex-dvips.tar.lzma...
extracting files from miktex-dvips-bin-x64-2.9.tar.lzma...
extracting files from miktex-dvisvgm-bin-x64-2.9.tar.lzma...
extracting files from miktex-epstopdf-bin-x64-2.9.tar.lzma...
extracting files from miktex-etex.tar.lzma...
extracting files from miktex-expat-bin-x64-2.9.tar.lzma...
extracting files from miktex-findtexmf-bin-x64-2.9.tar.lzma...
extracting files from miktex-fmt-bin-x64-2.9.tar.lzma...
extracting files from miktex-fontconfig.tar.lzma...
extracting files from miktex-fontconfig-bin-x64-2.9.tar.lzma...
extracting files from miktex-fonts-bin-x64-2.9.tar.lzma...
extracting files from miktex-freeglut-bin-x64-2.9.tar.lzma...
extracting files from miktex-freetype2-bin-x64-2.9.tar.lzma...
extracting files from miktex-fribidixetex-bin-x64-2.9.tar.lzma...
extracting files from miktex-gd-bin-x64-2.9.tar.lzma...
extracting files from miktex-ghostscript-bin-x64.tar.lzma...
extracting files from miktex-graphite2-bin-x64-2.9.tar.lzma...
extracting files from miktex-gregorio-bin-x64-2.9.tar.lzma...
extracting files from miktex-gsf2pk-bin-x64-2.9.tar.lzma...
extracting files from miktex-harfbuzz-bin-x64-2.9.tar.lzma...
extracting files from miktex-harftex-bin-x64-2.9.tar.lzma...
extracting files from miktex-hunspell-bin-x64-2.9.tar.lzma...
extracting files from miktex-icu-bin-x64.tar.lzma...
extracting files from miktex-jpeg-bin-x64-2.9.tar.lzma...
extracting files from miktex-kpathsea-bin-x64-2.9.tar.lzma...
extracting files from miktex-lacheck-bin-x64-2.9.tar.lzma...
extracting files from miktex-latex.tar.lzma...
extracting files from miktex-libressl-bin-x64-2.9.tar.lzma...
extracting files from miktex-log4cxx-bin-x64-2.9.tar.lzma...
extracting files from miktex-lua53-bin-x64-2.9.tar.lzma...
extracting files from miktex-luatex.tar.lzma...
extracting files from miktex-luatex-bin-x64-2.9.tar.lzma...
extracting files from miktex-lzma-bin-x64-2.9.tar.lzma...
extracting files from miktex-m-tx-bin-x64-2.9.tar.lzma...
extracting files from miktex-makeindex-bin-x64-2.9.tar.lzma...
extracting files from miktex-md5-bin-x64-2.9.tar.lzma...
extracting files from miktex-metafont.tar.lzma...
extracting files from miktex-metafont-bin-x64-2.9.tar.lzma...
extracting files from miktex-metapost.tar.lzma...
extracting files from miktex-metapost-bin-x64-2.9.tar.lzma...
extracting files from miktex-mfware-bin-x64-2.9.tar.lzma...
extracting files from miktex-misc.tar.lzma...
extracting files from miktex-mkfntmap-bin-x64-2.9.tar.lzma...
extracting files from miktex-mktex-bin-x64-2.9.tar.lzma...
extracting files from miktex-mo-bin-x64-2.9.tar.lzma...
extracting files from miktex-mpfr-bin-x64-2.9.tar.lzma...
extracting files from miktex-mpmcli-bin-x64-2.9.tar.lzma...
extracting files from miktex-mspack-bin-x64-2.9.tar.lzma...
extracting files from miktex-mthelp-bin-x64-2.9.tar.lzma...
extracting files from miktex-mtprint-bin-x64-2.9.tar.lzma...
extracting files from miktex-omega.tar.lzma...
extracting files from miktex-omega-bin-x64-2.9.tar.lzma...
extracting files from miktex-pdftex.tar.lzma...
extracting files from miktex-pdftex-bin-x64-2.9.tar.lzma...
extracting files from miktex-pixman-bin-x64-2.9.tar.lzma...
extracting files from miktex-pmx-bin-x64-2.9.tar.lzma...
extracting files from miktex-png-bin-x64-2.9.tar.lzma...
extracting files from miktex-poppler-bin-x64-2.9.tar.lzma...
extracting files from miktex-popt-bin-x64-2.9.tar.lzma...
extracting files from miktex-posix-bin-x64-2.9.tar.lzma...
extracting files from miktex-ps2pk-bin-x64-2.9.tar.lzma...
extracting files from miktex-psutils-bin-x64-2.9.tar.lzma...
extracting files from miktex-qt5-bin-x64.tar.lzma...
extracting files from miktex-runtime-bin-x64-2.9.tar.lzma...
extracting files from miktex-tdsutil-bin-x64-2.9.tar.lzma...
extracting files from miktex-teckit-bin-x64-2.9.tar.lzma...
extracting files from miktex-tex.tar.lzma...
extracting files from miktex-tex-bin-x64-2.9.tar.lzma...
extracting files from miktex-tex2xindy-bin-x64-2.9.tar.lzma...
extracting files from miktex-tex4ht.tar.lzma...
extracting files from miktex-tex4ht-bin-x64-2.9.tar.lzma...
extracting files from miktex-texify-bin-x64-2.9.tar.lzma...
extracting files from miktex-texinfo.tar.lzma...
extracting files from miktex-texware-bin-x64-2.9.tar.lzma...
extracting files from miktex-texworks-bin-x64-2.9.tar.lzma...
extracting files from miktex-ttf2pk2-bin-x64-2.9.tar.lzma...
extracting files from miktex-ucrt-bin-x64.tar.lzma...
extracting files from miktex-uriparser-bin-x64-2.9.tar.lzma...
extracting files from miktex-vc140-bin-x64.tar.lzma...
extracting files from miktex-web-bin-x64-2.9.tar.lzma...
extracting files from miktex-xetex.tar.lzma...
extracting files from miktex-xetex-bin-x64-2.9.tar.lzma...
extracting files from miktex-xindy-bin-x64.tar.lzma...
extracting files from miktex-yap-bin-x64-2.9.tar.lzma...
extracting files from miktex-zip-bin-x64.tar.lzma...
extracting files from miktex-zlib-bin-x64-2.9.tar.lzma...
extracting files from miktex-zzip-bin-x64-2.9.tar.lzma...
extracting files from multirow.tar.lzma...
extracting files from ncntrsbk.cab...
extracting files from oberdiek.tar.lzma...
extracting files from palatino.cab...
extracting files from pdftex.tar.lzma...
extracting files from plain.tar.lzma...
extracting files from polyglossia.tar.lzma...
extracting files from poppler.tar.lzma...
extracting files from pslatex.tar.lzma...
extracting files from psnfss.cab...
extracting files from pstricks.tar.lzma...
extracting files from psutils.tar.lzma...
extracting files from rsfs.tar.lzma...
extracting files from ruhyphen.tar.lzma...
extracting files from tetex.tar.lzma...
extracting files from tex-ini-files.tar.lzma...
extracting files from texinfo.tar.lzma...
extracting files from thumbpdf.tar.lzma...
extracting files from times.cab...
extracting files from tools.tar.lzma...
extracting files from ttf2pk.tar.lzma...
extracting files from ukrhyph.tar.lzma...
extracting files from unicode-data.tar.lzma...
extracting files from utopia.cab...
extracting files from xetex.tar.lzma...
extracting files from xgreek.tar.lzma...
extracting files from xindy.tar.lzma...
extracting files from xkeyval.tar.lzma...
extracting files from xltxtra.tar.lzma...
extracting files from xunicode.tar.lzma...
extracting files from xypic.tar.lzma...
extracting files from zapfchan.cab...
extracting files from zapfding.cab...
extracting files from zerohyph.tar.lzma...
updating package manifests ("C:\Program Files\MiKTeX 2.9\miktex/config\package-manifests.ini")...
installed 3558 package manifests
visiting repository C:\Users\yo\AppData\Local\Temp\2\mik32886...
repository type: local package repository
loading package repository manifest...
initexmf "--common-install=C:\Program Files\MiKTeX 2.9" --set-config-value=[Core]SharedSetup=1 --admin "--log-file=C:\Program Files\MiKTeX 2.9\miktex/config\uninst.log" --disable-installer --verbose:
Option --admin only makes sense for a shared MiKTeX setup.
Sorry, but "MiKTeX Configuration Utility" did not succeed for the following reason:
Option --admin only makes sense for a shared MiKTeX setup.
An error occurred:
source file:
source line: 0
message: The executed process did not succeed.
info: fileName="C:\Program Files\MiKTeX 2.9\miktex\bin\x64\initexmf.exe", exitCode="1"
最佳答案
如评论中所述,您需要 tinytex::install_tinytex()
才能实际安装 TinyTeX
发行版。
关于r - 无法在 r markdown 中编译 tex,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58078345/
我的意思是整篇论文,而不仅仅是其中的文本区域。 我希望 dvi 输出在查看器中看起来 1 厘米 x 10 米,如果 我在 tex 文件中设置了这些尺寸。 而且我不想为此通过 LaTeX。 最佳答案 在
关闭。这个问题是off-topic .它目前不接受答案。 想改善这个问题吗? Update the question所以它是 on-topic对于堆栈溢出。 8年前关闭。 Improve this q
我在需要数值的参数中使用自动生成的 Tex 字符串时遇到问题(例如,在 ifthenelse 比较中)。这是一个示例最小代码: \newcommand\testC{123} \ifthenelse{\
我用的是 Mac。但我也有一台装有 Windows 7 的 PC。所以当我想开始使用 TeX 为 LaTeX 编程功能时,我的起点是什么?是否有 SDK 和文档?我找不到任何关于 TeX 编程的书。
在Xymostech的帮助下,已解决了将Bash中的&&转换为Python的问题,非常感谢其帮助-谢谢! 有争议的命令行(来自Bash终端)是:latexmk file.tex && latexmk
[编辑以提供更多信息] 我正在使用以下 R markdown 文件生成以下 Tex 文件。我在我的 .rmd header 中包含了 amsthm,它正在生成一个没有 amsthm 的 Tex 文件。
我有以下 Hello World 代码来尝试在我的 Mac 上使用 matplotlib 进行 TeX 渲染。 import matplotlib.pyplot as plt from matplot
如何使用命令行脚本下载背页项目的源代码?我想定期备份源文件,如果我可以自动下载而不是每次都通过 Web 界面进行下载会更好。我不知道任何允许我这样做的 API,有吗? 我知道一个理想的解决方案可能会使
我正在尝试打开.tex文件。 我不确定我是否已经深入到了(可能)令人惊讶的复杂过程。有人告诉我可以用Notepad++做到这一点,然后继续下载。结果如下: %sample file for Model
我想在 TeX 方程中使用包含破折号的变量名。但是,破折号被解释为减号。任何人都知道如何逃避角色? 最佳答案 使用\textrm{-} 不起作用? 关于在 TeX 方程中转义一个字符?,我们在Stac
在 TEX 中,如何分割字符串,例如 \mana{X1 2W/UB R /G}分成几部分并将它们提供给另一个宏(在这种情况下,用类似 \m{X}\m{12}\m{W/U}\m{B}\m{R/G} 的东
我目前正在写我的学士论文,我的大学想要一份单面打印。打印和装订将由专业打印公司完成。他们只接受双面手稿。 因此,我需要在每一页内容后添加一个空白页。我不想使用 \newpage 手动执行此操作或 \c
我想在 .vimrc 中运行一个命令,以防文件是 latex 文件。我想我有一些语法问题,它不起作用。有什么线索吗? if &filetype=='tex' set spell endif 最
我正在使用在 XeLaTeX 之上编写的包。该包使用fontspec为文本的不同部分指定字体:拉丁语、非拉丁语、数学模式…… 该软件包附带了几个示例文件。我能够 xelatex 其中大多数依赖于常规
在 mathworks.com 的在线文档中,哪里有 MATLAB 支持的 TeX 字符子集表? 我习惯于轻松找到它,但我却找不到:在此页面上 http://www.mathworks.com/hel
我正在编写一个 Python 脚本,它将纯文本作为输入并生成LaTeX 代码作为输出。在某些时候,脚本必须引用所有在 TeX 中有特殊含义的字符,如 %、&、\ 等上。 这比我想象的要难。目前我有这个
我正在使用 Firebase 将内容放到网站上。类似“获取多项选择题/选项并将它们插入 div 标签”之类的东西。其中一些问题使用数学/化学方程,我认为 TeX 将是一个很好的渲染工具。 基本上,如果
假设我有一个文本文件 something.txt。写着4062,2016-12-31 我想在脚本中的一个命令中发送“4062”,在另一个命令中将“2016-12-31”作为字符串发送。可以用 BASH
在 MediaWiki 中,如果您在公式中添加非英语文本,它会剪切。例如,如果您编写 \text{щfбb}(щ 和 б 俄语(西里尔)符号)输出将是 fb 不是 щfбb。 最佳答案 首先,如果您的
我正在运行 CUDA 5.0,使用 670 设置了 compute_30、sm_30。 我通过以下方式创建一个 mipmapped 数组: cudaExtent size; size.width =
我是一名优秀的程序员,十分优秀!