CTAN package update: ctan.tools
ABOUT This small tool is used to seach/download some LaTeX package's that were listed in CTAN: http://ctan.org/tex-archive/macros/latex/contrib/ or search/download for any files in http://ctan.org/tex-archive/. Since version 1.0.1, the tools will use the cache file http://kyanh.net/ctan.tools//dump_files.tbz This file contains the list of all files in CTAN. It's updated daily by a cron job hosted by http://kyanh.net/. The size of file is about 3MB (compressed) & 15MB (un-compressed). The tool requires wget, lynx, gawk, wc, tar/bzip and sed program to run correctly. Some linux distribution doesnot contains lynx by default and you must install lynx manually before running this script. So this tool requires a *nix-liked environment to work. This tool was written by kyanh <xkyanh at gmail.com> kyanh is a member of Vietnamese TeX Users Group <http://viettug.org>. He wrote this script as he wanted a fast client to access CTAN. VERSION 1.0.0 2008/05/11: first version 1.1.0 2008/05/15: search for files (use cache file) 1.1.1 2008/05/15: fix bug (ctan_update) USAGE ctan : show all information about this tool ctan update : update the package list (require lynx, wc, tar/bzip and internet connection). ctan grep <string>: search package's match <string>. grep ability is supported. ctan get <string> : download package's match <string> to working directory. If you want to search for files: ctan grep -file <string> : search for files. ctan get -file <string> : download files match <string> to working directory. EXAMPLES ctan grep theorem # search for package's match "theorem" ctan grep ^n # search for package's srated by "n" ctan get ^n # download package's started by "n" ctan get -file contrib/ntheorem.zip TODO * package information supported * ability to select FTP mirror * search by package description,... * package build script LICENSE This tool is published under LPPL. BUGS Feel free to contact kyanh <xkyanh at gmail.com>. All feedback are welcome.
This package is located at http://tug.ctan.org/tex-archive/support/ctantools . More information is at http://tug.ctan.org/pkg/ctantools (if the package is new it may take a day for that information to appear). We are supported by the TeX Users Group http://www.tug.org . Please join a users group; see http://www.tug.org/usergroups.html .
CTAN tools – A jiffy to search CTAN file list
The Unix-shell script ‘ctan’ provides facilities for extracting and using information from the CTAN file list; the facilities include retrieving files. To do this, it uses various common utilities, including wget and lynx.
Huynh Ky Anh|
- 2009-09-30 CTAN update: ctantools
- 2009-09-14 CTAN update: ctantools
- 2008-05-15 CTAN package update: ctan.tools
- 2008-05-11 CTAN has a new package: ctan.tools