Ludovic Kuty | 1 Dec 10:41
Picon

Re: Package pgfkeys Error: I do not know the key '/tikz/centered'


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.
(Continue reading)

Goebel, Juergen | 1 Dec 11:07
Favicon

Re: counter inside \foreach-loop bug in pgffor.code.tex

Alain Matthes wrote:

> Yes too new !!!  I don't like to work with cvs files.

Yes, me too! But there's been a feature I'd like to use 
which was only implemented in the new version.

I hope (and think) Till and/or Mark are reading this and 
will sooner or later "correct" the pgffor.code.tex.

Thanks for your help,

Juergen

-------------------------------------------------------------------------
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=/
Ludovic Kuty | 1 Dec 12:19
Picon

Re: Package pgfkeys Error: I do not know the key '/tikz/centered'


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$}}
(Continue reading)

Want to Learn | 2 Dec 11:13
Picon

change node style from circle to nothing in Trees

Hi,

I am trying to draw Extensive form games using the tree feature in Tikz. I have the following code

\begin{tikzpicture}
                [grow=east,
                        every node/.style={circle,draw}]
                \node{A}
                                child{node{C}
                                                        child{node{A}}
                                                        child{node{(3,3,3)}}
                                         };
               
        \end{tikzpicture}

I want the nodes A and C such that the letters A and C appear inside a circle. For the node (3,3,3), I do not want a circle surrounding it. Is there a way to override the style specified using \every node option for this particular node. I can enclose it in other shape such as a rectangle. What I do not know is, what option to give such that it is not enclosed in anything.

Thanks very much.

-------------------------------------------------------------------------
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
Till Tantau | 2 Dec 16:07
Picon
Favicon

Re: Package pgfkeys Error: I do not know the key '/tikz/centered'

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=/
joe tex | 2 Dec 18:53
Picon

Connecting two nodes without crossing any previously drawn line

This question was probably asked before.

Is it possible in Tikz to connect two nodes without crossing any
previously drawn line(\path).
Is it possible to automate this in Tikz??

Thank you very much.

Joe

-------------------------------------------------------------------------
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=/
Kjell Magne Fauske | 2 Dec 19:52
Picon

Re: Connecting two nodes without crossing any previously drawn line

On Tue, Dec 2, 2008 at 6:53 PM, joe tex <joetex1 <at> gmail.com> wrote:
> This question was probably asked before.
>
>
> Is it possible in Tikz to connect two nodes without crossing any
> previously drawn line(\path).
> Is it possible to automate this in Tikz??
>

TikZ has no built in feature for avoiding crossing any previously
drawn path. If you are drawing graphs you may take a look at Graphviz
and my dot2tex tool:
http://www.fauskes.net/code/dot2tex/

Graphviz can draw graphs with no crossing edges. With dot2tex you can
convert your Graphviz graph to TikZ/PGF code.

- Kjell Magne Fauske

-------------------------------------------------------------------------
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=/
Matthew Leingang | 2 Dec 20:01
Picon

Re: Connecting two nodes without crossing any previously drawn line


On Dec 2, 2008, at 1:52 PM, Kjell Magne Fauske wrote:

> On Tue, Dec 2, 2008 at 6:53 PM, joe tex <joetex1 <at> gmail.com> wrote:
>> This question was probably asked before.
>>
>>
>> Is it possible in Tikz to connect two nodes without crossing any
>> previously drawn line(\path).
>> Is it possible to automate this in Tikz??
>>
>
> TikZ has no built in feature for avoiding crossing any previously
> drawn path. If you are drawing graphs you may take a look at Graphviz
> and my dot2tex tool:
> http://www.fauskes.net/code/dot2tex/
>
> Graphviz can draw graphs with no crossing edges. With dot2tex you can
> convert your Graphviz graph to TikZ/PGF code.

Don't forget this is mathematically impossible for some graphs. :-)

http://en.wikipedia.org/wiki/Planar_graph

--Matthew Leingang

--
Matthew Leingang
Clinical Associate Professor of Mathematics
leingang <at> cims.nyu.edu

-------------------------------------------------------------------------
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=/
Kjell Magne Fauske | 2 Dec 20:14
Picon

Re: Connecting two nodes without crossing any previously drawn line

On Tue, Dec 2, 2008 at 8:01 PM, Matthew Leingang <leingang <at> cims.nyu.edu> wrote:
>
> On Dec 2, 2008, at 1:52 PM, Kjell Magne Fauske wrote:
>
>> On Tue, Dec 2, 2008 at 6:53 PM, joe tex <joetex1 <at> gmail.com> wrote:
>>>
>>> This question was probably asked before.
>>>
>>>
>>> Is it possible in Tikz to connect two nodes without crossing any
>>> previously drawn line(\path).
>>> Is it possible to automate this in Tikz??
>>>
>>
>> TikZ has no built in feature for avoiding crossing any previously
>> drawn path. If you are drawing graphs you may take a look at Graphviz
>> and my dot2tex tool:
>> http://www.fauskes.net/code/dot2tex/
>>
>> Graphviz can draw graphs with no crossing edges. With dot2tex you can
>> convert your Graphviz graph to TikZ/PGF code.
>
> Don't forget this is mathematically impossible for some graphs. :-)
>
> http://en.wikipedia.org/wiki/Planar_graph
>

You are right. I was too quick when saying that Graphviz always draws
planar graphs. This is not true, but it tries to minimize edge
crossings (at least some of the available layout algorithms does).

A limitation of Graphviz is that it can't draw orthogonal edges.
Straight and curved lines are good for graphs, but not for block
diagrams.  According to the developers this is on their todo-list, but
I doubt that it will be implemented soon.

- Kjell Magne Fauske

-------------------------------------------------------------------------
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=/
joe tex | 2 Dec 20:36
Picon

Re: Connecting two nodes without crossing any previously drawn line

Thank you everyone for these solutions

- Joe

On Tue, Dec 2, 2008 at 2:14 PM, Kjell Magne Fauske <kjellmf <at> gmail.com> wrote:
> On Tue, Dec 2, 2008 at 8:01 PM, Matthew Leingang <leingang <at> cims.nyu.edu> wrote:
>>
>> On Dec 2, 2008, at 1:52 PM, Kjell Magne Fauske wrote:
>>
>>> On Tue, Dec 2, 2008 at 6:53 PM, joe tex <joetex1 <at> gmail.com> wrote:
>>>>
>>>> This question was probably asked before.
>>>>
>>>>
>>>> Is it possible in Tikz to connect two nodes without crossing any
>>>> previously drawn line(\path).
>>>> Is it possible to automate this in Tikz??
>>>>
>>>
>>> TikZ has no built in feature for avoiding crossing any previously
>>> drawn path. If you are drawing graphs you may take a look at Graphviz
>>> and my dot2tex tool:
>>> http://www.fauskes.net/code/dot2tex/
>>>
>>> Graphviz can draw graphs with no crossing edges. With dot2tex you can
>>> convert your Graphviz graph to TikZ/PGF code.
>>
>> Don't forget this is mathematically impossible for some graphs. :-)
>>
>> http://en.wikipedia.org/wiki/Planar_graph
>>
>
> You are right. I was too quick when saying that Graphviz always draws
> planar graphs. This is not true, but it tries to minimize edge
> crossings (at least some of the available layout algorithms does).
>
> A limitation of Graphviz is that it can't draw orthogonal edges.
> Straight and curved lines are good for graphs, but not for block
> diagrams.  According to the developers this is on their todo-list, but
> I doubt that it will be implemented soon.
>
> - Kjell Magne Fauske
>
> -------------------------------------------------------------------------
> 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
>

--

-- 
- Joe

-------------------------------------------------------------------------
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=/

Gmane