/latex-cookiecutter

cookiecutter for LaTeX packages

Primary LanguageTeX

cookiecutter

Cookiecutter template for LaTeX package. For more information about cookiecutter, see https://github.com/cookiecutter/cookiecutter.

The cookiecutter template creates installer (.ins) and documented LaTeX (.dtx) files that are used to distribute a LaTeX package. In addition, a Makefile is provided to extract the package code and to compile the package documentation.

Usage

Generate a template for a LaTeX package:

cookiecutter git@github.com:joel-coffman/latex-cookiecutter.git

Answer the prompts regarding the package name, description, and maintainer.

The following resources may be helpful if you new to writing LaTeX packages:

  • LaTeX2e for Class and Package Writers ([LaTeX2006])
  • How to Package Your LaTeX Package ([Pakin2015])
  • Good things come in little packages: An introduction to writing .ins and .dtx files ([Pakin2008])

References

[LaTeX2006]The LaTeX Project, "LaTeX2e for class and package writers," February 2006
[Pakin2015]Scott Pakin, "How to Package Your LaTeX Package," September 2015
[Pakin2008]Scott Pakin, "Good things come in little packages: An introduction to writing .ins and .dtx files," TUGboat, Volume 29, No. 2, pp. 305-314, 2008