CTAN Comprehensive TeX Archive Network

CTAN package update: ctan.tools

Date: May 15, 2008 9:32:38 AM CEST
This package has been been updated and should soon be at your favorite mirror. Thank you, Jim Hefferon Saint Michael's College ........................................................................ The following information was provided by our fellow contributor: Name of contribution: ctan.tools Author's name: huynh ky anh (aka kyanh) Location on CTAN: /support/ctantools Summary description: client to access CTAN (download/search files/packages) License type: lppl Announcement text:
ABOUT This small tool is used to seach/download some LaTeX packages 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) &amp; 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 packages match <string>. grep ability is supported. ctan get <string> : download packages 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 packages match "theorem" ctan grep ^n # search for packages srated by "n" ctan get ^n # download packages 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.

PackageCTAN tools
Version1.5.2
MaintainerKy-Anh Huynh

Announcements

more

Guest Book Sitemap Contact Contact Author