CTAN Comprehensive TeX Archive Network

Directory support/make-paper-tarball

README.md

NAME

make-paper-tarball - Make a submission-ready tarball of an academic paper manuscript.

SYNOPSIS

make-paper-tarball –help|-h

make-paper-tarball –version|-v

make-paper-tarball [ –zip|-z ] [ –nodir|-D ] [ –base|-b tarball-base-name ] main--file-name

DESCRIPTION

make-paper-tarball prepares an academic paper manuscript, whose main file is main--file-name (with or without the .tex extension), for submission. It performs the following tasks:

  • Check that the manuscript can be compiled.
  • Identify source files (e.g. figures, bibliography) and copy then to a temporary directory.
  • Rename graphic files after the number of the figure/table that includes then, e.g. figure-1.png.
Multiple graphic files per figure/table are named e.g. _figure-1-plot-1.png_, _figure-1-plot-2.png_ etc.
  • Check that figures and tables are cited in order.
  • Insert files included by \input directly into the main file.
  • Insert code listings included by \lstinputlisting directly into the main file.
  • Insert BibTex-generated bibliography directly into the main file.
  • Strip out comments.
Lines between comment lines
    % protect comments ...
and
    % end protect comments ...
are not stripped for comments.
  • Copy auxiliary files to the tarball. Use a comment line of the form:
    % add-to-tarball <src-file> <dest-file-within-tarball>
  • Create an archive containing only the the main file, required source files, and specified auxiliary files.
The archive is copied to the current directory.

OPTIONS

  • –zip|-z
Create a _.zip_ archive instead of a _.tar.gz_ archive (the default).
  • –nodir|-D
Do not put files into a subdirectory within the archive (the default); instead all files will be at the top level of the archive.
  • –base|-b tarball-base-name
Use _tarball-base-name_ as the base name for the archive, instead of _main-LaTeX-file-name_ without the _.tex_ extension (the default).

AUTHOR

Karl Wette

Project homepage: https://github.com/kwwette/make-paper-tarball

Download the contents of this package in one zip archive (7.9k).

make-paper-tarball – Make a submission-ready tarball of an academic paper manuscript

make-paper-tarball is a script that prepares an academic paper manuscript for submission. It performs the following tasks:

  • Check that the manuscript can be compiled.
  • Identify source files (e.g. figures, bibliography) and copy them to a temporary directory.
  • Rename graphic files after the number of the figure/table that includes them, e.g. figure-1.png.
  • Check that figures and tables are cited in order.
  • Insert files included by \input directly into the main file.
  • Insert code listings included by \lstinputlisting directly into the main file.
  • Insert -generated bibliography directly into the main file.
  • Strip out comments.
  • Copy auxiliary files to the tarball.
  • Create an archive containing only the the main file, required source files, and specified auxiliary files.

Packagemake-paper-tarball
Home page
Support
Bug tracker
Repository
Developers
Version1.1
LicensesGNU General Public License, version 3 or newer
Copyright2014–2026 Karl Wette
MaintainerKarl Wette
Contained inTeX Live as make-paper-tarball
TopicsCompilation
Archival
...
Guest Book Sitemap Contact Contact Author