I'm writing an invoice with the dinbrief class (it occurs with letter too), using the invoice package and I want to include my signature as image. However, I'm running into mysterious errors even with a very simple example.


    Mr. Wong\\%
    This street

    Hey, it is\\%
    me living here

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.

        \closing{Mit freundlichen Grüßen} 

Using the code as above gives me a weird first page containing dates

enter image description here

Using \usepackage{graphix} as last import, gives an error

Missing \begin{document}. \NeedsTeXFormat{LaTeX2e}[..
I can't find file `keyval,graphics.sty'. RequirePackage{keyval,graphics}

What is wrong here and how am I supposed to include images?

  • I get no error; note however that the german package is obsolete and should be \usepackage[german]{babel}. It's also better to add \usepackage[T1]{fontenc}.
    – egreg
    Dec 23, 2016 at 14:25
  • I can reproduce the error with texlive2016 and pdflatex. Dec 23, 2016 at 14:27

1 Answer 1


This is an error in the way invoice.sty accesses fp it has


If you edit a local copy to say


then it works (my local copy was already edited, which probably means this question is a duplicate and i was answering before...)

  • Thank you for the answer and sorry that it is a duplicate. I searched google before did not find the link to the answer.
    – halirutan
    Dec 23, 2016 at 15:09

Not the answer you're looking for? Browse other questions tagged .