TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Some people like old cars, some like antiques, and I like classical Unix toolbox. Most likely the second (after shell script) scripting language that any old school Unix user learn is AWK. It is an indispensable tool of any cool teacher when it comes for dealing with grade books. It is however lesser known that AWK is a very cool tool when it comes to TeXing. I am not talking just about cool tools as bbl2html.awk (several different scripts) but also just a regular editing. I would like to ask community to share its favorite AWK scripts for TeX editing. Mine are also coming soon.

share|improve this question
up vote 2 down vote accepted

The vc bundle is basically a glorified awk script. It works by getting your favourite version control system to spit out the status of the current branch, piping that into an awk script which then writes stuff to a .tex file which you then \input. This file defines the macros that you the use in the document.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.