\documentclass{article} % xelatex uses change options to wrttofiles and !packagefiles, while your at it % change pdfcreator=pdflatex to pdfcreator=xelatex \usepackage[!wrttofiles,packagefiles,pdfcreator=pdflatex]{tile-graphic} \setTileParams{4}{5}{choo} \begin{document} \tileTheGraphic \end{document}