pdf: Source common.sh.
common.sh: Fix a bug in 'needs'.