Re: Package pgfkeys Error: I do not know the key '/tikz/centered'
Till Tantau <tantau <at> tcs.uni-luebeck.de>
2008-12-02 15:07:09 GMT
Hello everyone,
first, concerning the "variable" problem: Indeed, there is a new key
in tikz called "variable" that requires a value. Your (re)definition
of variable does not, unfortunately, change this (as anyone would
rightly suspect)... I presume this should be changed.
Anyway, to fix the problem, add: \tikzset{variable/.default=}
anywhere, that will make the problem disappear.
Concerning the original post and the "centered" option: I do not know
of this option... I also could not find it in any version of tikz, so,
I do not really know why it used to work. Perhaps some package defined
this option somewhere or there was a color of that name, I do not
really know. Saying
\tikzset{centered/.style=} should shut TikZ up concerning these error
messages.
Regards,
Till
Am 01.12.2008 um 12:19 schrieb Ludovic Kuty:
>
> I will be more specific. Sorry for being vague.
>
> I narrowed the code to the one below. The error is of course still
> the same:
> "Package pgfkeys Error: The key '/tikz/variable' requires a value. I
> am
> going to ignore this key". I am still testing with MacTex 2008. I
> also have
> provided the log file at
> http://dl.getdropbox.com/u/193090/regular-grammar-beamer.log
>
> Any help will be greatly appreciated
>
> Ludovic Kuty
>
> *****************************************************
> SOURCE CODE
> *****************************************************
> \begin{document}
> \begin{frame}
> \frametitle{Exemple sous forme d'arbre d'analyse}
> \label{regular_grammar:example_tree}
> \begin{center}
> \begin{tikzpicture}
> %\draw[step=.5cm,gray,very thin] (0,0) grid (6,-5);
> \tikzstyle{terminal}=[fill=red!60,circle,inner sep=1pt]
> \tikzstyle{variable}=[fill=blue!60,circle,inner sep=1pt]
> \node [variable] (root) {$S$}
> child { node [variable] {$A$}
> child { node [terminal] {$a$}}
> child { node [variable] {$A$}
> child { node [terminal] {$a$}}
> child { node [variable] {$A$}
> child { node [terminal] {$a$}}
> child {node at (4,0 |- root) [variable] {$A$}
> child { node [terminal] {$a$}}
> child { node [variable] {$A$}
> child { node [terminal] {$\varepsilon$}}
> }
> }
> }
> }
> };
> \end{tikzpicture}
> \end{center}
> \end{frame}
> \end{document}
>
> *****************************************************
> PREAMBLE
> *****************************************************
> \documentclass[hyperref={bookmarksopen=false},french,t]{beamer}
> \usepackage[french]{babel}
> \usepackage[latin1]{inputenc}
> \usepackage[T1]{fontenc}
>
> % Nécessaire pour éviter une erreur liée à l'utilisation de label
> avec tikz
> % Cfr. mailing list pgf-users, sujet "babel and tikz" par Sébastien
> Barthélemy
> % SOL 1: \begin{tikzpicture}\shorthandoff{:}
> % ...
> % \end{tikzpicture}
> % SOL 2: celle que j'utilise càd la ligne ci-dessous
> \usepackage[babel=true,kerning=true]{microtype}
>
> \usepackage{beamerthemesplit}
>
> \mode<presentation> {
> \usetheme{Warsaw}
> %\usetheme[secheader]{Madrid}
> \useoutertheme{infolines}
>
> \setbeamercovered{transparent}
> }
>
> \usepackage{translator}
>
> % Common packages
>
> \usepackage{xcolor}
> \usepackage{amsmath}
> \usepackage{amstext}
> \usepackage{amssymb}
> \usepackage{amsfonts}
> \usepackage{mathptmx}
> \usepackage[scaled=.90]{helvet}
> \usepackage{courier}
> \usepackage{textcomp}
> \usepackage{hyperref}
> \usepackage{graphicx}
>
> % Setup TikZ
>
> \usepackage{tikz}
> \usetikzlibrary{arrows,automata,shapes,trees}
> \tikzstyle{block}=[draw opacity=0.7,line width=1.4cm]
>
> \renewcommand{\familydefault}{\sfdefault}
>
> %\hypersetup{pdfborder= 0 0 0, linkcolor=black, urlcolor=blue,
> colorlinks=true, citecolor=pdcolor1}
> \hypersetup{pdfborder= 0 0 0, colorlinks=true}
>
> \definecolor{mycolor}{gray}{0.90}
>
>
> Ludovic Kuty wrote:
>>
>> I have an identical problem running MacTeX 2008. When I switch back
>> to
>> MacTeX 2007, everything runs fine.
>>
>> ! Package pgfkeys Error: The key '/tikz/variable' requires a value.
>> I am
>> going to ignore this key.
>>
>>
>> Marek Rybaczuk wrote:
>>>
>>> I am preparing lectures on catastrophe theory. To generate Siersma
>>> diagrams I have written suitable macros making use of original TeX
>>> commands including commands from pgf package. Everything worked
>>> fine on
>>> my old computer, however I have passed onto new machine with latest
>>> Ubuntu distribution. The first attempt to compile old file produced
>>> information about missing tikzlibrary calc.
>>> I have copied all previously working pgf package into local texmf
>>> directory. All pgf packages coincide with previously working ones
>>> at old
>>> computer. Now every compilation produces hundreds of errors:
>>> Package pgfkeys Error: I do not know the key '/tikz/centered' .
>>> This is especially annoying since compilation runs very long
>>> producing
>>> enormous log file full of errors. However passing from dvi to ps
>>> file I
>>> obtain correct output. The same for ps to pdf transition.
>>>
>>> I appreciate any suggestions about such unexpected behaviour. May be
>>> this effect follows from some package outside of pgf.
>>>
>>> It is not possible to include all log files (500 kB) as well as
>>> source
>>> files and macros. However all files are available at the server
>>> ftp://81.168.132.37/catastrophe
>>> The file examples_old.log comes from my old computer.
>>> Thank you in advance
>>>
>>> Marek Rybaczuk
>>>
>>>
>>>
>>> -------------------------------------------------------------------------
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>> challenge
>>> Build the coolest Linux based applications with Moblin SDK & win
>>> great
>>> prizes
>>> Grand prize is a trip for two to an Open Source event anywhere in
>>> the
>>> world
>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>> _______________________________________________
>>> pgf-users mailing list
>>> pgf-users <at> lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/pgf-users
>>>
>>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Package-pgfkeys-Error%3A-I-do-not-know-the-key-%27-tikz-centered%27-tp19594092p20770105.html
> Sent from the pgf-users mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere in
> the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> pgf-users mailing list
> pgf-users <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pgf-users
--
Prof. Dr. Till Tantau <tantau <at> tcs.uni-luebeck.de>
http://www.tcs.uni-luebeck.de
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/