Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I couldn't get tikzscale work with the Beamer document class.

Here is a minimal example:

Main.tex:

\documentclass{beamer}

\usepackage{tikz}
\usepackage{tikzscale}

\begin{document}
    \begin{frame}
        \includegraphics[width=\linewidth]{Test.tikz}
    \end{frame} 
\end{document}

Test.tikz:

\begin{tikzpicture}
    \draw (0,0) rectangle (5,5);
\end{tikzpicture}

This produces the following errors:

line 9: Missing \endcsname inserted \end{frame}
line 9: pgfkeys: I do not know the key '/tikzscale/width=\linewidth ' and I am going to

If I change to another document class and remove the "frame"-environment all works fine.

I use a updated TeX-Live 2012 on Windows 7 x64. My used version of tikzscale is v0.2.2

Edit: After a bug-report to the package author the problem is now fixed. :-)

share|improve this question

closed as too localized by Kurt, Paul Gaborit, Werner, Stefan Kottwitz Feb 11 '13 at 0:15

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1  
Do you mind answering your question or closing this as too localized? –  percusse Feb 4 '13 at 10:33
add comment

Browse other questions tagged or ask your own question.