生成pdf beamer文件时出现以下错误。我试图解决这个问题,但我还没有成功。如果你能提供帮助,我将非常感激。
! LaTeX Error: File `tabu.sty' not found. Type X to quit or <RETURN> to proceed, or enter new name. (Default extension: sty) Enter file name: ! Emergency stop. <read *> l.77 ^^M pandoc: Error producing PDF Error: pandoc document conversion failed with error 43 In addition: Warning message: In format.POSIXlt(as.POSIXlt(x, tz = tz), format = format, usetz = usetz, : unknown timezone 'zone/tz/2017c.1.0/zoneinfo/Europe/Istanbul' Execution halted
答案 0 :(得分:2)
您必须安装包含tabu.sty
的软件包。
在我的debian安装中,我可以运行:
apt-file search tabu.sty
texlive-latex-extra: /usr/share/texlive/texmf-dist/tex/latex/tabu/tabu.sty
如果未安装apt-file
,则可以转到
https://packages.debian.org/search?searchon=contents&keywords=tabu.sty
或者,如果在ubuntu上:
https://packages.ubuntu.com/search?searchon=contents&keywords=tabu.sty&suite=eoan
两个搜索引擎都将打印:
/usr/share/texlive/texmf-dist/tex/latex/tabu/tabu.sty texlive-latex-extra
所以您必须安装texlive-latex-extra
:
apt install texlive-latex-extra
在我的软呢帽上,我可以跑步:
dnf whatprovides */tabu.sty
Last metadata expiration check: 0:22:14 ago on sam 09 mai 2020 13:24:58.
texlive-tabu-9:svn49707-19.fc32.noarch : Flexible LaTeX tabulars
Repo : fedora
Matched from:
Filename : /usr/share/texlive/texmf-dist/tex/latex/tabu/tabu.sty
因此您必须安装texlive-tabu
dnf install texlive-tabu
您甚至可以直接从CTAN: Comprehensive TeX Archive Network下载tabu
,网址为: