This question already has an answer here:

I have Tex Live installed. Everything look fine, pdfpages show any particular page I want, but when i want to print all pages via command:

  ! Missing = inserted for \ifnum.
  <to be read again> 
  l.6014 \includepdf[pages={1-5}]{vyzkum/Form.pdf}


   ! Package pdfpages Error: Cannot find file `-'.

   See the pdfpages package documentation for explanation.
   Type  H <return>  for immediate help.

   l.6014 \includepdf[pages=-]{vyzkum/Form.pdf}

The default (no range spacified):


It shows only the first page

Any comment/help is deeply appreciated!

marked as duplicate by egreg, user31729, karlkoeller, Svend Tveskæg, moewe Mar 1 '15 at 17:36

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 3
    You haven't shown any usable example but I would guess you are using babel with a language that makes = or , active. try \shorthandoff{=} – David Carlisle Mar 1 '15 at 16:54
  • There was just yesterday a similar question: you are probably using \usepackage[czech]{babel} or \usepackage[slovak]{babel}. – egreg Mar 1 '15 at 17:07
  • yep, it is duplicate (\usepackage[czech]{babel} was used). I didn't think it might be related to something else than pdfpages - therfore I couldn't find any useful answer - thanks! – xhudik Mar 1 '15 at 17:49

Browse other questions tagged or ask your own question.