Index of /ctan/support/ctantools/
| | | |
../ | | - | Directory |
ctan | 2009-Sep-30 01:52:04 | 9.8K | application/octet-stream |
FILELIST | 2009-Sep-30 01:52:04 | 0.1K | application/octet-stream |
README | 2009-Sep-30 01:52:04 | 1.9K | text/plain;charset=utf-8 |
ABOUT
This jifty tool helps you to seach/download LaTeX packages listed at
http://ctan.org/tex-archive/macros/latex/contrib/
or search/download any files in http://ctan.org/tex-archive (or its mirror).
The tool requires following programs
lynx wget tar bzip2 sed sort awk grep
This tool was written by Anh K. Huynh <[email protected]>.
VERSION
1.0.0 2008/05/11: first version
1.1.0 2008/05/15: search files (use cache file)
1.2.0 2008/05/16: smaller cache. Thanks to Karl Berry <[email protected]>
1.3.0 2008/05/23: everything is cached. Faster. New options. Thanks to texer.
1.4.0 2009/09/12: auto. select ctan mirror (suggested by Jim Hefferon)
1.5.0 2009/09/13: load database from http://mirror.ctan.org/FILES.byname
USAGE
ctan about : show all information about this tool
ctan usage : show usage
ctan version : show script version
ctan update : update using http://viettug.org/ctan.tools//cache.tbz (~1MB)
ctan update --direct : update directly from CTAN. You are going to download 8MB
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 files:
ctan fgrep <string> : search files.
ctan fget <string> : download files match <string> to working directory
ctan grep -file <string>
ctan get -file <string>
EXAMPLES
ctan grep theorem # search packages match 'theorem'
ctan grep ^n # search packages srated by 'n'
ctan get ^n # download packages started by 'n'
ctan get -file contrib/ntheorem.zip
ctan fget contrib/ntheorem.zip
ctan fgrep ntheorem | grep zip
TODO
* package information supported
* search by package description,...
* package build script
THANKS to
* Karl Berry <[email protected]>
* Nguyen Van Hanh <[email protected]>
* Jim Hefferon <[email protected]>
LICENSE
This tool is published under LPPL.
BUGS
Please report to kyanh <[email protected]>.