1 Jan 14:26
\input{file} from within a \calendar
Anuschka Schmitt <krims <at> nopanik.org>
2010-01-01 13:26:57 GMT
2010-01-01 13:26:57 GMT
Hello folks,
happy new year to you all!
I am trying to typeset a calendar and want to include some code stored
in a different file by using \input{extracode}. But I am getting the
error <I can't find file 'extracode' Please type another input file name>.
Here is an example (I omitted the code for the calendar grid, so it's
only the basics):
\begin{tikzpicture}
\calendar[dates=2010-01-09 to 2010-01-10,day code={\node[text
width=5.5cm]{\textbf{\tikzdaytext}~\scriptsize\tikzmonthtext\hfill\%wt};}]
if (Saturday){\pgftransformxshift{3.05cm}\pgftransformyshift{7.2cm}}
if (Sunday){\pgftransformxshift{8.95cm}\pgftransformyshift{7.2cm}}
%if (equals=2010-01-09) {\node[text width=5.5cm] at (0,-0.6){\hfill
\scriptsize \textbf{Test}$^{\star}$};}
\input{Test}
;
\end{tikzpicture}
The file Test contains only the commented line above, it is intended to
hold all birth- and holidays. It works as expected when the % and the
\input{Test} line are removed.
Does someone have an idea how I can include the extracode?
Any hints are greatly appreciated!
(Continue reading)
RSS Feed