diff options
Diffstat (limited to 'src/wrappers/markdown2pdf.in')
-rw-r--r-- | src/wrappers/markdown2pdf.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wrappers/markdown2pdf.in b/src/wrappers/markdown2pdf.in index 7bba44466..fb94b4628 100644 --- a/src/wrappers/markdown2pdf.in +++ b/src/wrappers/markdown2pdf.in @@ -49,7 +49,7 @@ fi } if [ $runs -lt 3 ] && ((grep -q "LaTeX Warning: There were undefined references." $texname.log) || - (echo "$@" | grep -q -- "--toc")); then + (echo "$@" | grep -q -- "--toc\|--table-of-contents")); then runs=$(($runs + 1)) if grep -q "LaTeX Warning:.*[Cc]itation" $texname.log; then bibtex $texname 2>&1 >bibtex.err |