I'm trying to convert a tex
document to pdf.
But when I did pdflatex doc.tex
, I got
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015/Debian) (preloaded format=pdflatex)
restricted \write18 enabled.
entering extended mode
(./doc.tex
LaTeX2e <2016/02/01>
Babel <3.9q> and hyphenation patterns for 3 language(s) loaded.
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo))
! LaTeX Error: File `cmap.sty' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)
Enter file name: X
From here I got to know that I need to do apt-get install texlive-fonts-recommended texlive-latex-recommended texlive-latex-extra
. But this says it will download 656 MB of archive.
Due lack of space in my ubuntu
partition, Is there a way to install only required packages for cmap.sty
在 Ubuntu 18.04 上, apt install texlive-latex-extra
工作。
If your native texlive distribution is properly configured you should be able to install a package with tlmgr
tlmgr install cmap
should be enough to install the cmap package and its dependencies. Let us know how much space do you save...
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.