#+TITLE: The =makegobbler= package
#+AUTHOR: Vincent Belaïche

* Purpose

The purpose of the =makegobbler= package is to make easy to gobble (drop) or ungobble
(keep) some part of your LaTeX source code, conditionally or unconditionally. The part
that is to be gobbled/ungobbled is delimited with a user-defined delimiter control
sequence.

* Installation

One can use the following bash script with the current directory containing the archive
=makegobbler.zip=.

#+begin_src bash
  # make a temp dir for easier cleanup
  work_dir=$(mktemp -d /tmp/makegobbler-install.XXXXXX)
  cp makegobbler.zip $work_dir
  pushd $work_dir
  # unzip
  unzip makegobbler.zip
  cd makegobbler
  # set TEXMF_INSTALL_DIR to the installation target TEXMF
  [ -d "$TEXMF_INSTALL_DIR" ] || TEXMF_INSTALL_DIR=$(HOME)/texmf
  pdftex makegobbler.ins
  mkdir -p "$TEXMF_INSTALL_DIR/tex/latex/makegobbler"
  cp makegobbler.sty "$TEXMF_INSTALL_DIR/tex/latex/makegobbler"
  # doc generation, skip if you don't want to recompile the manual
  latexmk -pdf makegobbler.dtx
  mkdir -p "$TEXMF_INSTALL_DIR/doc/latex/makegobbler"
  cp makegobbler.pdf "$TEXMF_INSTALL_DIR/doc/latex/makegobbler/makegobbler-doc.pdf"
  # cleanup
  popd
  rm -fr $work_dir
#+end_src

* Request for help

Any volunteer to translate the manual to your favorite language is welcome.


* License

Le package is dual licensed.

- [[https://ctan.org/license/lppl1.3c][LPPL 1.3c license]]
- [[https://cecill.info/licences/Licence_CeCILL_V2-fr.html][CeCILL v2 license]]
 
# Local Variables:
# coding: utf-8-unix
# End:
