2016-11-15 6 views
1

私はtexliveがドッカーイメージがexpectetdのように機能していますが、ICHがドッカーアルパインTexlive

docker run -v $PWD:/mountvolume texlive /bin/sh -c 'pdflatex article.tex' 

をしようとすると、私が得る

が含まれる場合ドッカファイルと私の作業ディレクトリからPDFを生成したいと思いますエラー:

This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016/Alpine Linux) (preloaded format=pdflatex) 
restricted \write18 enabled. 
    kpathsea: Running mktexfmt pdflatex.fmt 
    Can't locate mktexlsr.pl in @INC (@INC contains: /usr/share/tlpkg /usr/share/texmf-dist/scripts/texlive /usr/local/lib/perl5/site_perl /usr/local/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at /usr/bin/mktexfmt line 23. 

BEGIN failed--compilation aborted at /usr/bin/mktexfmt line 25. 

フォーマットファイルpdflatex.fmtが見つかりません!

答えて

2

あなたDockerfileはもう少し手の込んだする必要があります:issue 4514

Looks like that texlive package isn't enough to get fully functional TeX system (2015: fmtutil.pl depends on mktexlsr.pl)

texlive has been on testing repo for a long time.
But it's missing some stuff, most important being texlive-texmf . If you want to use texlive today you must install the package from testing, download texlive-20160523b-texmf.tar.xz, copy contents to /usr/share/texmf-dist and reinstall the package from testing.

しかし、次を参照してください。

What alpine needs is to package texlive-texmf too.
But no alpine linux developer has looked into this yet

+0

を私は変更を行ったが、同じエラーを取得 – Fesco

関連する問題