0

我正在尝试将 R Markdown 编织为 PDF,但它不起作用。我安装了“tinytex”包并尽我所能。我收到以下错误代码:

! warning: kpathsea: configuration file texmf.cnf not found in these directories: C:/Users/<U+00BB><U+01BA><U+00A3><U+00B7>/AppData/Roaming/TinyTeX/bin/win32;C:/Users/<U+00BB><U+01BA><U+00A3><U+00B7>/AppData/Roaming/TinyTeX/bin/win32/share/texmf-local/web2c;C:/Users/<U+00BB><U+01BA><U+00A3><U+00B7>/AppData/Roaming/TinyTeX/bin/win32/share/texmf-dist/web2c;C:/Users/<U+00BB><U+01BA><U+00A3><U+00B7>/AppData/Roaming/TinyTeX/bin/win32/share/texmf/web2c;C:/Users/<U+00BB><U+01BA><U+00A3><U+00B7>/AppData/Roaming/TinyTeX/bin/win32/texmf-local/web2c;C:/Users/<U+00BB><U+01BA><U+00A3><U+00B7>/AppData/Roaming/TinyTeX/bin/win32/texmf-dist/web2c;C:/Users/<U+00BB><U+01BA><U+00A3><U+00B7>/AppData/Roaming/TinyTeX/bin/win32/texmf/web2c;C:/Users/<U+00BB><U+01BA><U+00A3><U+00B7>/AppData/Roaming/TinyTeX/bin;C:/Users/<U+00BB><U+01BA><U+00A3><U+00B7>/AppData/Roaming/TinyTeX/bin/share/texmf-local/web2c;C:/Users/<U+00BB><U+01BA><U+00A3><U+00B7>/AppData/Roaming/TinyTeX/bin/share/texmf-dist/web2c;C:/Users/<U+00BB><U+01BA><U+00A3><U+00B7>/AppData/Roaming/TinyTeX/bin/share/texmf/web2c;C:/Users/<U+00BB><U+01BA><U+00A3><U+00B7>/AppData/Roaming/TinyTeX/bin/texmf-local/web2c;C:/Users/<U+00BB><U+01BA><U+00A3><U+00B7>/AppData/Roaming/TinyTeX/bin/texmf-dist/web2c;C:/Users/<U+00BB><U+01BA><U+00A3><U+00B7>/AppData/Roaming/TinyTeX/bin/texmf/web2c;C:/Users/<U+00BB><U+01BA><U+00A3><U+00B7>/AppData/Roaming/texmf-local/web2c;C:/Users/<U+00BB><U+01BA><U+00A3><U+00B7>/AppData/Roaming/TinyTeX;C:/Users/<U+00BB><U+01BA><U+00A3><U+00B7>/AppData/Roaming/TinyTeX/share/texmf-local/web2c;C:/Users/<U+00BB><U+01BA><U+00A3><U+00B7>/AppData/Roaming/TinyTeX/share/texmf-dist/web2c;C:/Users/<U+00BB><U+01BA><U+00A3><U+00B7>/AppData/Roaming/TinyTeX/share/texmf/web2c;C:/Users/<U+00BB><U+01BA><U+00A3><U+00B7>/AppData/Roaming/TinyTeX/texmf-local/web2c;C:/Users/<U+00BB><U+01BA><U+00A3><U+00B7>/AppData/Roaming/TinyTeX/texmf-dist/web2c;C:/Users/<U+00BB><U+01BA><U+00A3><U+00B7>/AppData/Roaming/TinyTeX/texmf/web2c.
! ...<U+00BB><U+0084>????\AppData\Roaming\TinyTeX\bin\win32\runscript.tlu:935: ...<U+00BB><U+0084>????\AppData\Roaming\TinyTeX\bin\win32\runscript.tlu:858: no appropriate script or program found: fmtutil
! Running the command C:\Users<U+00BB><U+01BA><U+00A3><U+00B7>\AppData\Roaming\TinyTeX\bin\win32\fmtutil-user.exe

! kpathsea: Running mktexfmt xelatex.fmt

! The command name is C:\Users<U+00BB><U+01BA><U+00A3><U+00B7>\AppData\Roaming\TinyTeX\bin\win32\mktexfmt
! warning: kpathsea: mktexfmt output `c:/Users/<U+00BB><U+01BA><U+00A3><U+00B7>/AppData/Roaming/TinyTeX/texmf-var/web2c/xetex/xelatex.fmt' instead of a filename.

! warning: kpathsea: configuration file texmf.cnf not found in these directories: C:/Users/<U+00BB><U+01BA><U+00A3><U+00B7>/AppData/Roaming/TinyTeX/bin/win32;C:/Users/<U+00BB><U+01BA><U+00A3><U+00B7>/AppData/Roaming/TinyTeX/bin/win32/share/texmf-local/web2c;C:/Users/<U+00BB><U+01BA><U+00A3><U+00B7>/AppData/Roaming/TinyTeX/bin/win32/share/texmf-dist/web2c;C:/Users/<U+00BB><U+01BA><U+00A3><U+00B7>/AppData/Roaming/TinyTeX/bin/win32/share/texmf/web2c;C:/Users/<U+00BB><U+01BA><U+00A3><U+00B7>/AppData/Roaming/TinyTeX/bin/win32/texmf-local/web2c;C:/Users/<U+00BB><U+01BA><U+00A3><U+00B7>/AppData/Roaming/TinyTeX/bin/win32/texmf-dist/web2c;C:/Users/<U+00BB><U+01BA><U+00A3><U+00B7>/AppData/Roaming/TinyTeX/bin/win32/texmf/web2c;C:/Users/<U+00BB><U+01BA><U+00A3><U+00B7>/AppData/Roaming/TinyTeX/bin;C:/Users/<U+00BB><U+01BA><U+00A3><U+00B7>/AppData/Roaming/TinyTeX/bin/share/texmf-local/web2c;C:/Users/<U+00BB><U+01BA><U+00A3><U+00B7>/AppData/Roaming/TinyTeX/bin/share/texmf-dist/web2c;C:/Users/<U+00BB><U+01BA><U+00A3><U+00B7>/AppData/Roaming/TinyTeX/bin/share/texmf/web2c;C:/Users/<U+00BB><U+01BA><U+00A3><U+00B7>/AppData/Roaming/TinyTeX/bin/texmf-local/web2c;C:/Users/<U+00BB><U+01BA><U+00A3><U+00B7>/AppData/Roaming/TinyTeX/bin/texmf-dist/web2c;C:/Users/<U+00BB><U+01BA><U+00A3><U+00B7>/AppData/Roaming/TinyTeX/bin/texmf/web2c;C:/Users/<U+00BB><U+01BA><U+00A3><U+00B7>/AppData/Roaming/texmf-local/web2c;C:/Users/<U+00BB><U+01BA><U+00A3><U+00B7>/AppData/Roaming/TinyTeX;C:/Users/<U+00BB><U+01BA><U+00A3><U+00B7>/AppData/Roaming/TinyTeX/share/texmf-local/web2c;C:/Users/<U+00BB><U+01BA><U+00A3><U+00B7>/AppData/Roaming/TinyTeX/share/texmf-dist/web2c;C:/Users/<U+00BB><U+01BA><U+00A3><U+00B7>/AppData/Roaming/TinyTeX/share/texmf/web2c;C:/Users/<U+00BB><U+01BA><U+00A3><U+00B7>/AppData/Roaming/TinyTeX/texmf-local/web2c;C:/Users/<U+00BB><U+01BA><U+00A3><U+00B7>/AppData/Roaming/TinyTeX/texmf-dist/web2c;C:/Users/<U+00BB><U+01BA><U+00A3><U+00B7>/AppData/Roaming/TinyTeX/texmf/web2c.
! ...<U+00BB><U+0084>????\AppData\Roaming\TinyTeX\bin\win32\runscript.tlu:935: ...<U+00BB><U+0084>????\AppData\Roaming\TinyTeX\bin\win32\runscript.tlu:858: no appropriate script or program found: fmtutil
! Running the command C:\Users<U+00BB><U+01BA><U+00A3><U+00B7>\AppData\Roaming\TinyTeX\bin\win32\fmtutil-user.exe

! kpathsea: Running mktexfmt xelatex.fmt

! The command name is C:\Users<U+00BB><U+01BA><U+00A3><U+00B7>\AppData\Roaming\TinyTeX\bin\win32\mktexfmt
! warning: kpathsea: mktexfmt output `c:/Users/<U+00BB><U+01BA><U+00A3><U+00B7>/AppData/Roaming/TinyTeX/texmf-var/web2c/xetex/xelatex.fmt' instead of a filename.

考虑到我在中国,所以我从 gtihub 下载了 Tinytex.zip,但是当我尝试安装它时:

tinytex:::install_prebuilt(pkg="D:/latex/TinyTeX.zip")
output:Warning: conflicting [pdf]tex program found on the system path in C:\Users\禄脝潞拢路氓\AppData\Roaming\TinyTeX\bin\win32; not fixable in user mode.

有人可以帮我吗?非常感谢。

此致

4

0 回答 0