[关闭]
@nrailgun 2015-11-15T12:14:07.000000Z 字数 499 阅读 4169

TeXLive 升级、安装包

强力软件


师姐使用了奇怪的 LATEX 模板,需要奇怪的包,不过并没有在 TeXLive 安装 DVD 中一起被安装,需要手动安装。

使用 tlmgr

tlmgr 使用默认 repository 来搜索附近的 CTAN,不过实际效果非常差,因为大陆的网络状况非常糟糕。

(1) 设置默认 repository

  1. # USTC
  2. tlmgr option repository http://mirrors.ustc.edu.cn/CTAN/systems/texlive/tlnet/
  3. # or, Aliyun
  4. tlmgr option repository http://mirrors.aliyun.com/CTAN/systems/texlive/tlnet/

(2) 升级:

  1. tlmgr update --list
  2. tlmgr update --all # Aggressive so

(3) 搜索并安装:

  1. tlmgr search --global --file ${WhateverYouNeed}.sty
  2. tlmgr install ${WhateverYouNeed}

本地使用

有些小众的包太折腾了,CTAN 都找不到,只能直接网络下载,放在编译目录。

添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注