找不到tabu.sty

sin*_*nan 5 markdown latex

产生pdf投影仪文件时出现以下错误。我正在尝试解决此问题,但我还没有成功。如果您能提供帮助,我将不胜感激。

! 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
Run Code Online (Sandbox Code Playgroud)

小智 23

如果在 Windows 上使用 Miktex 控制台:

  • 在“包”下,找到tabu
  • 单击它,然后按“加号”进行安装。


F. *_*uri 3

您必须安装包含tabu.sty.

基于 Debian

在我的 Debian 安装中,我可以运行:

apt-file search tabu.sty
texlive-latex-extra: /usr/share/texlive/texmf-dist/tex/latex/tabu/tabu.sty
Run Code Online (Sandbox Code Playgroud)

如果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
Run Code Online (Sandbox Code Playgroud)

所以你必须安装texlive-latex-extra

apt install texlive-latex-extra
Run Code Online (Sandbox Code Playgroud)

基于转速

在我的软呢帽上,我可以运行:

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
Run Code Online (Sandbox Code Playgroud)

所以你必须安装texlive-tabu

dnf install texlive-tabu
Run Code Online (Sandbox Code Playgroud)

不是来自发行版

您甚至可以tabu直接从CTAN:综合 TeX 存档网络下载:

https://www.ctan.org/pkg/tabu