CTAN Comprehensive TeX Archive Network

Direc­tory support/ctanify

              |                CTANIFY                |
              |                                       |
              |  Prepare a package for upload to CTAN |
              |                                       |
              | By Scott Pakin, scott+ctify@pakin.org |


ctanify is intended for developers of LaTeX packages who want to
distribute their packages via the Comprehensive TeX Archive Network
(CTAN).  Given a list of filenames, ctanify creates a tarball (a
.tar.gz file) with the files laid out in CTAN's preferred structure.
The tarball additionally contains a ZIP (.zip) file with copies of all
files laid out in the standard TeX Directory Structure (TDS), which
facilitates inclusion of the package in the TeX Live distribution of

ctanify has been tested primarily on Linux but with reports from users
that it also works on OS X and can work on Windows under Cygwin.
Volunteers willing to help port ctanify to other platforms are
especially welcome.

File manifest

README                          This file
ctanify                         The ctanify Perl script itself
ctanify.1                       ctanify documentation (Unix man-page format)
ctanify.pdf                     ctanify documentation (PDF format)

Copyright and License

Copyright (C) 2017 Scott Pakin

This work may be distributed and/or modified under the conditions of
the LaTeX Project Public License, either version 1.3c of this license
or (at your option) any later version.  The latest version of this
license is in


and version 1.3c or later is part of all distributions of LaTeX version
2008/05/04 or later.

Down­load the con­tents of this pack­age in one zip archive (49.2k).

ctan­ify – Pre­pare a pack­age for up­load to CTAN

Given a list of file­names, ctan­ify cre­ates a tar­ball (a .tar.gz file) with the files laid out in CTAN’s pre­ferred struc­ture.

By de­fault this tar­ball ad­di­tion­ally con­tains a ZIP (.zip) file with copies of all files laid out in the stan­dard Direc­tory Struc­ture (TDS), which may be used by those in­tend­ing to in­stall the pack­age, or by those who need to in­cor­po­rate it in a dis­tri­bu­tion. (The TDS ZIP file will be in­stalled in the CTAN in­stall/ tree.)

Given that CTAN and Live are not fond of .tds.zip files for small and/or oth­er­wise straight­for­ward pack­ages, ctan­ify has now been pro­vided with an op­tion that pre­vents the cre­ation and in­clu­sion of such a .tds.zip file.

Li­censesThe Project Public Li­cense 1.3c
Main­tainerScott Pakin
TDS archivectanify.tds.zip
Con­tained inTeX Live as ctan­ify
MiKTeX as ctan­ify
See alsoctanupload
Guest Book Sitemap Contact Contact Author