如何在我的机器上只安装 cmap.sty 个必需的包
How to install only cmap.sty required packages in my machine
我正在尝试将 tex
文档转换为 pdf。
但是当我pdflatex doc.tex
时,我得到了
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
从 here 我开始知道我需要做 apt-get install texlive-fonts-recommended texlive-latex-recommended texlive-latex-extra
。但这表示它将下载 656 MB 的存档。
由于我的 ubuntu
分区中缺少 space,有没有办法只安装 cmap.sty[=17 所需的软件包=]
如果您的本地 texlive 发行版配置正确,您应该能够安装带有 tlmgr
的软件包
tlmgr install cmap
应该足以安装 cmap 包及其依赖项。让我们知道您节省了多少space...
在 Ubuntu 18.04,apt install texlive-latex-extra
有效。
我正在尝试将 tex
文档转换为 pdf。
但是当我pdflatex doc.tex
时,我得到了
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
从 here 我开始知道我需要做 apt-get install texlive-fonts-recommended texlive-latex-recommended texlive-latex-extra
。但这表示它将下载 656 MB 的存档。
由于我的 ubuntu
分区中缺少 space,有没有办法只安装 cmap.sty[=17 所需的软件包=]
如果您的本地 texlive 发行版配置正确,您应该能够安装带有 tlmgr
tlmgr install cmap
应该足以安装 cmap 包及其依赖项。让我们知道您节省了多少space...
在 Ubuntu 18.04,apt install texlive-latex-extra
有效。