--- muttprint 2018-03-16 08:40:25.000000000 -0700 +++ muttprint 2018-03-16 08:41:09.000000000 -0700 @@ -1639,7 +1639,7 @@ open (AUX, "$auxfile") or fatalError "Could not open $auxfile:\n$!"; while () { - ($numberOfPages) = /\\newlabel{LastPage}{{}{(\d+)}}/; + ($numberOfPages) = /\\newlabel\{LastPage\}\{\{\}\{(\d+)\}\}/; } close AUX or fatalError "Could not close $auxfile:\n$!";