Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

tabu.sty not found

Tags:

markdown

latex

I am getting the following error while producing pdf beamer file. I am trying to solve this but I could not be successful yet. I will really be grateful if you can help.

! 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
like image 429
sinan Avatar asked Dec 02 '17 22:12

sinan


2 Answers

If on Windows using Miktex Console:

  • Under Packages, find tabu
  • Click it, and press the "plus" to install it.
like image 151
Eric Avatar answered Nov 12 '22 12:11

Eric


You have to install package who contain tabu.sty.

Debian based

On my debian installation, I could run:

apt-file search tabu.sty
texlive-latex-extra: /usr/share/texlive/texmf-dist/tex/latex/tabu/tabu.sty

If apt-file is not installed, you could go to

https://packages.debian.org/search?searchon=contents&keywords=tabu.sty

or, if on ubuntu:

https://packages.ubuntu.com/search?searchon=contents&keywords=tabu.sty&suite=eoan

Both search engines will print:

/usr/share/texlive/texmf-dist/tex/latex/tabu/tabu.sty   texlive-latex-extra

So you have to install texlive-latex-extra:

apt install texlive-latex-extra

RPM based

On my fedora, I could run:

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

So you have to install texlive-tabu

dnf install texlive-tabu

Not from distribution

You even could download tabu directly from CTAN: Comprehensive TeX Archive Network at:

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

like image 32
F. Hauri Avatar answered Nov 12 '22 13:11

F. Hauri