I recently started using standalone to compile a tikzpicture and convert it to PNG. Thus I use the following type of Document together with

  \tikz\node {Hallo da drau"sen};

and get the error message


! Package babel Error: You haven't loaded the option ngerman yet.

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

l.3 \select@language{ngerman}

You may proceed, but expect unexpected results


Neverless the result indicates that the ngerman additions by babel were loaded (i.e. the ß for "s is being typeset correctly).

I am aware of this question which proposes deleting all auxiliary files. But on the next run the error is back.

Further investigation shows the possibility to condense the problem even more:


The error however does not occur without the convert option or without babel. The choice of language doesn't seem to make any difference.


One wonders why the class loads in this case the aux-file so early. But probably there is a reason ...

Imho you can simply ignore the error. It doesn't do harm. You can avoid it by creating a standalone.cfg in the current folder with the content


Then babel is loaded earlier.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.