-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Typo in documentation #681
Comments
If you had posted a MWE, you would have noticed that it is not a bug. \documentclass{article}
\usepackage{tikz}
\usetikzlibrary{arrows, automata, positioning}
\begin{document}
\begin{tikzpicture}[->,>=stealth',shorten >=1pt,%
auto,node distance=2cm,on grid,semithick,
inner sep=2pt,bend angle=45]
\node[initial,state] (A) {$q_a$};
\node[state] (B) [above right=of A] {$q_b$};
\node[state] (D) [below right=of A] {$q_d$};
\node[state] (C) [below right=of B] {$q_c$};
\node[state] (E) [below=of D] {$q_e$};
\path [every node/.style={font=\footnotesize}]
(A) edge node {0,1,L} (B)
edge node {1,1,R} (C)
(B) edge [loop above] node {1,1,L} (B)
edge node {0,1,L} (C)
(C) edge node {0,1,L} (D)
edge [bend left] node {1,0,R} (E)
(D) edge [loop below] node {1,1,R} (D)
edge node {0,1,R} (A)
(E) edge [bend left] node {1,0,R} (A);
\end{tikzpicture}
\end{document} The code for the picture is from here pgf/doc/generic/pgf/text-en/pgfmanual-en-library-automata.tex Lines 308 to 327 in 0795962
|
OK, sorry for the noise. My mistake for this (quickly, sorry) reported issue came from:
|
|
The benefit is because it is a different issue. The (im)possibility to copy-paste code from the PDF is not the main point of the current issue and it is worth opening a new issue for a different matter.
I didn't notice: nice!
When people (in the present case, a student of mine) want to try For instance, |
Sorry for the misunderstanding. I wasn't referring to the benefit of opening a separate issue but to the benefit of being able to copy-paste from the PDF. In my experience this is extremely unreliable because different viewers implement different heuristics for detecting spaces and things like multicolumn typesetting. In most cases copying from the PDF yields garbled output and for the PGF manual it is not even necessary because the source code of the manual is available, either as part of your TeX distribution or right here on GitHub. The issue #640 is a real problem and has hit us multiple times in the past. If you have any good ideas, please comment there. Having things magically work without reading the manual would be nice and in principle I could implement a fast path which simply loads all available TikZ libraries, but the processing times for your documents would skyrocket. |
If I'm right, the following code to be found on page 568 of the TikZ & PGF's documentation (Version 3.1.3) contains a spurious
'
: it should be>=stealth
instead of>=stealth’
.The text was updated successfully, but these errors were encountered: