#!/bin/sh

FILE=publikace
pdfcslatex $FILE

echo "Number of publications:"
egrep "^\\\\item " publikace.tex | wc -l

echo "Number of citations:"
egrep "^  \\\\item " publikace.tex | wc -l

