Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.