メモ:Manjaro Linux 18.1.0でR CMD checkをするために必要なTeX環境

なんかいろいろつまづいたのでメモ。結論としてはたぶんこう。

sudo pacman -Syu texlive-core texlive-fontsextra qpdf aspell-en

texlive-core

最小限のTeX環境。これはまあ必要。

texlive-fontsextra

よくわからないけど、Inconsolataが必要っぽくてこんなエラーが出るのでフォントを入れないといけない。texlive-fontsextraに入ってるらしいと聞いて入れた。 CTANから直接なにかしらをインストールしたらもっとミニマリスト的にいけるのかも。

Standard error:

Converting Rd files to LaTeX 
Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet,  : 
  Running 'texi2dvi' on 'Rd2.tex' failed.
LaTeX errors:
! LaTeX Error: File `inconsolata.sty' not found.

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

! Emergency stop.
<read *> 
         
l.287 ^^M
         
!  ==> Fatal error occurred, no output PDF file produced!

qpdf

インストールしてないと警告が出るので入れる。

aspell-en

これはTeX関係ないけど、スペルチェックに必要らしい。