Skip to content

viettug/ctan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
		wget tar bzip2 sed sort awk grep

	This tool was written by Anh K. Huynh <kyanh@viettug.org>.
USAGE
	ctan about           : show all information about this tool
	ctan usage           : show usage
	ctan version         : show script version

	ctan update          : update using http://ctan.viettug.org//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 <karl@freefriends.org>
	* Nguyen Van Hanh <hanhnguyenvan@gmail.com>
	* Jim Hefferon <ftpmaint@alan.smcvt.edu>
LICENSE
	This tool is published under LPPL.
BUGS
	Please use the ticket system https://github.com/viettug/ctan/issues.