
私は「tabto.sty」をインストールしようとしており、CTAN の標準の TeXLive を使用しています。
tabto マクロは、CTAN の次のディレクトリにアーカイブされています --
1. http://www.ctan.org/tex-archive/macros/latex/contrib/tabto
しかし、私のTeXLiveリポジトリはこの場所でそれを探しています --
2. http://mirrors.ibiblio.org/pub/mirrors/CTAN/systems/texlive/tlnet
tabto は含まれていません。
CTAN URL (上記リンク 1) から sty ファイル (または zip アーカイブ) を直接ダウンロードして使用できることはわかっています。しかし、私はそれをしたくありません。
TeXLive で上記の両方の URL から必要なものをすべて取得するにはどうすればよいでしょうか? tlmgr で使用できる、CTAN リポジトリ (リンク 1) の「tlnet」互換リンクはありますか?
答え1
特定のファイル (たとえばtabto.sty
) を含む TeX Live パッケージを見つけるには、次のコマンドを使用します。
% tlmgr 検索 --global --file tabto.sty tlmgr: パッケージ リポジトリ http://mirrors.ibiblio.org/pub/mirrors/CTAN/systems/texlive/tlnet tabto-ltx: texmf-dist/tex/latex/tabto-ltx/tabto.sty
これで、インストールする TeX Live パッケージの名前がわかりました。次のコマンドでインストールできます。
% tlmgr tabto-ltx をインストール
答え2
TeX Live パッケージ名は、そこに含まれる LaTeX パッケージの名前と必ずしも同じではありません。この場合は、 が必要ですtabto-ltx
。
$ tlmgr info tabto
tlmgr: package repository http://anorien.csc.warwick.ac.uk/mirrors/CTAN/systems/texlive/tlnet
tlmgr: cannot find package tabto
何もないが:
$ tlmgr info tabto-ltx
package: tabto-ltx
category: Package
shortdesc: "Tab" to a measured position in the line.
longdesc: \tabto{<length>} moves the typesetting position to <length> from the left margin of the paragraph. If the typesetting position is already further along, \tabto starts a new line; the command \tabto* will move position backwards if necessary, so that previous text may be overwritten. The command \TabPositions may be used to define a set of tabbing positions, after which the command \tab advances typesetting position to the next defined 'tab stop'.
installed: Yes
revision: 30710
sizes: doc: 121k, run: 9k
relocatable: Yes
cat-version: 1.3
cat-date: 2013-05-25 17:03:59 +0200
cat-license: lppl
collection: collection-latexextra