CTAN
Comprehensive TeX Archive Network

CTAN pack­age up­date: ctan.tools

Date: May 15, 2008 9:32:38 AM CEST
This pack­age has been been up­dated and should soon be at your fa­vorite mir­ror. Thank you, Jim Hef­feron Saint Michael's Col­lege ........................................................................ The fol­low­ing in­for­ma­tion was pro­vided by our fel­low con­trib­u­tor: Name of con­tri­bu­tion: ctan.tools Author's name: huynh ky anh (aka kyanh) Lo­ca­tion on CTAN: /sup­port/ctan­tools Sum­mary de­scrip­tion: client to ac­cess CTAN (down­load/search files/pack­age's) Li­cense type: lppl An­nounce­ment text:
ABOUT This small tool is used to seach/down­load some LaTeX pack­age's that were listed in CTAN: http://ctan.org/tex-archive/macros/la­tex/con­trib/ or search/down­load for any files in http://ctan.org/tex-archive/. Since ver­sion 1.0.1, the tools will use the cache file http://kyanh.net/ctan.tools//dump_files.tbz This file con­tains the list of all files in CTAN. It's up­dated daily by a cron job hosted by http://kyanh.net/. The size of file is about 3MB (com­pressed) &amp; 15MB (un-com­pressed). The tool re­quires wget, lynx, gawk, wc, tar/bzip and sed pro­gram to run cor­rectly. Some linux dis­tri­bu­tion does­not con­tains lynx by de­fault and you must in­stall lynx man­u­ally be­fore run­ning this script. So this tool re­quires a *nix-liked en­vi­ron­ment to work. This tool was writ­ten by kyanh <xkyanh at gmail.com> kyanh is a mem­ber of Viet­namese TeX Users Group <http://vi­et­tug.org>. He wrote this script as he wanted a fast client to ac­cess CTAN. VERSION 1.0.0 2008/05/11: first ver­sion 1.1.0 2008/05/15: search for files (use cache file) 1.1.1 2008/05/15: fix bug (ctan_up­date) USAGE ctan : show all in­for­ma­tion about this tool ctan up­date : up­date the pack­age list (re­quire lynx, wc, tar/bzip and in­ter­net con­nec­tion). ctan grep <string>: search pack­age's match <string>. grep abil­ity is sup­ported. ctan get <string> : down­load pack­age's match <string> to work­ing di­rec­tory. If you want to search for files: ctan grep -file <string> : search for files. ctan get -file <string> : down­load files match <string> to work­ing di­rec­tory. EXAMPLES ctan grep the­o­rem # search for pack­age's match "the­o­rem" ctan grep ^n # search for pack­age's srated by "n" ctan get ^n # down­load pack­age's started by "n" ctan get -file con­trib/nthe­o­rem.zip TODO * pack­age in­for­ma­tion sup­ported * abil­ity to se­lect FTP mir­ror * search by pack­age de­scrip­tion,... * pack­age build script LICENSE This tool is pub­lished un­der LPPL. BUGS Feel free to con­tact kyanh <xkyanh at gmail.com>. All feed­back are wel­come.
This pack­age is lo­cated at http://tug.ctan.org/tex-archive/sup­port/ctan­tools . More in­for­ma­tion is at http://tug.ctan.org/pkg/ctan­tools (if the pack­age is new it may take a day for that in­for­ma­tion to ap­pear). We are sup­ported by the TeX Users Group http://www.tug.org . Please join a users group; see http://www.tug.org/user­groups.html .

CTAN tools – A jiffy to search CTAN file list

The Unix-shell script ‘ctan’ pro­vides fa­cil­i­ties for ex­tract­ing and us­ing in­for­ma­tion from the CTAN file list; the fa­cil­i­ties in­clude re­triev­ing files. To do this, it uses var­i­ous com­mon util­i­ties, in­clud­ing wget and lynx.

Pack­ageCTAN tools
Ver­sion1.5.2
Main­tainer Huynh Ky Anh

An­nounce­ments

more

Guest Book Sitemap Contact Contact Author