gpt4 book ai didi

latex - 如何在我的机器上只安装 cmap.sty 所需的包

转载 作者:行者123 更新时间:2023-12-05 00:48:33 24 4
gpt4 key购买 nike

我正在尝试将 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 分区空间不足,有没有办法只安装 cmap.sty

所需的包

最佳答案

在 Ubuntu 18.04 上,apt install texlive-latex-extra 有效。

关于latex - 如何在我的机器上只安装 cmap.sty 所需的包,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50431961/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com