grep -h '\\index' */*.tex | sed -e 's/.*\\index{//' -e 's/[|()]*}$//'| sort -f | uniq -c > /tmp/idx
