為什麼「tabularray.sty」下載後仍無法辨識?

為什麼「tabularray.sty」下載後仍無法辨識?

即使在執行以下操作後,我仍收到錯誤“找不到檔案'tabularray.sty'”無法識別:

1)。我跑了 sudo tlmgr install tabularray

2)。然後我跑了sudo texhash

3)。然後我運行以下命令:

rm *.aux
latexmk -pdf MWE.tex

MWE.tex 文件如下所示。我一定是誤解了這是如何運作的。在上述命令之後應該安裝該軟體包,對嗎?

此外,「找不到檔案'tabularray.sty'」和正在安裝的軟體包有什麼區別?

\documentclass[conference]{IEEEtran}
\IEEEoverridecommandlockouts
\usepackage{cite}
\usepackage{tabularray}
\usepackage{tabulary}
\begin{document}
\vspace{-15mm}

{\small
\bibliographystyle{unsrt}
\bibliography{refs.bib}}
\end{document}

編輯 日誌檔是:

Latexmk: This is Latexmk, John Collins, 26 Dec. 2019, version: 4.67.
Latexmk: applying rule 'pdflatex'...
Rule 'pdflatex': The following rules & subrules became out-of-date:
      'pdflatex'
------------
Run number 1 of rule 'pdflatex'
------------
------------
Running 'pdflatex  -recorder  "MWE.tex"'
------------
This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./MWE.tex
LaTeX2e <2020-02-02> patch level 5
L3 programming layer <2020-03-06> (./IEEEtran.cls
Document Class: IEEEtran 2015/08/26 V1.8b by Michael Shell
-- See the "IEEEtran_HOWTO" manual for usage information.
-- http://www.michaelshell.org/tex/ieeetran/
(/usr/local/texlive/2020/texmf-dist/tex/latex/psnfss/ot1ptm.fd)
-- Using 8.5in x 11in (letter) paper.
-- Using PDF output.
-- This is a 10 point document.
)
** ATTENTION: Overriding command lockouts (line 2).
(/usr/local/texlive/2020/texmf-dist/tex/latex/cite/cite.sty)

! LaTeX Error: File `tabularray.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name: X

=== TeX engine is 'pdfTeX'
Latexmk: Missing input file: 'tabularray.sty' from line
  '! LaTeX Error: File `tabularray.sty' not found.'
Latexmk: Log file says no output from latex
Latexmk: For rule 'pdflatex', no output was made
Failure to make 'MWE.pdf'
Latexmk: Errors, so I did not complete making targets
Latexmk: Use the -f option to force complete processing,
 unless error was exceeding maximum runs, or warnings treated as errors.
``

相關內容