Skip to content

Commit 7206882

Browse files
Mo-Gulhmenke
authored andcommitted
- missed to commit/push the Lua documentation stuff
- had a look at the `codeexample`s where a leading space was introduced (see pgf-tikz#711 (comment)). Some of them could be removed but others are introduced because of code added to the `pre` key where I don't have a clue if/how this can be avoided
1 parent 66badb1 commit 7206882

File tree

11 files changed

+92
-114
lines changed

11 files changed

+92
-114
lines changed

doc/generic/pgf/text-en/pgfmanual-en-base-arrows.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -906,7 +906,7 @@ \subsubsection{Defining New Arrow Keys}
906906
\makeatletter
907907
\def\showvalueofmacro#1{%
908908
\texttt{\expandafter\expandafter\expandafter\expandafter\expandafter\expandafter\expandafter\pgfutil@gobble\expandafter\expandafter\expandafter\string\expandafter\csname#1\endcsname}
909-
}
909+
}%
910910
\end{codeexample}
911911
%
912912
\begin{codeexample}[]

doc/generic/pgf/text-en/pgfmanual-en-dv-stylesheets.tex

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ \subsubsection{Creating a New Style Sheet}
474474
2/.style={yellow!90!black},
475475
3/.style={red!80!black},
476476
default style/.style={black}
477-
}
477+
}%
478478
\tikz \datavisualization data group {lines} = {
479479
data point [x=0, y=0, set=normal]
480480
data point [x=2, y=2, set=normal]
@@ -701,7 +701,7 @@ \subsection{Reference: Style Sheets for Lines}
701701
var x : interval [0:50];
702702
func y = sin(\value x * (\value{set}+10))/(\value{set}+5);
703703
}
704-
};
704+
};%
705705
\tikzdatavisualizationset {
706706
example visualization/.style={
707707
scientific axes=clean,
@@ -747,7 +747,7 @@ \subsection{Reference: Style Sheets for Lines}
747747
var x : interval [0:50];
748748
func y = sin(\value x * (\value{set}+10))/(\value{set}+5);
749749
}
750-
};
750+
};%
751751
\tikzdatavisualizationset {
752752
example visualization/.style={
753753
scientific axes=clean,
@@ -799,7 +799,7 @@ \subsection{Reference: Style Sheets for Lines}
799799
var x : interval [0:50];
800800
func y = sin(\value x * (\value{set}+10))/(\value{set}+5);
801801
}
802-
};
802+
};%
803803
\tikzdatavisualizationset {
804804
example visualization/.style={
805805
scientific axes=clean,
@@ -840,7 +840,7 @@ \subsection{Reference: Style Sheets for Lines}
840840
var x : interval [0:50];
841841
func y = sin(\value x * (\value{set}+10))/(\value{set}+5);
842842
}
843-
};
843+
};%
844844
\tikzdatavisualizationset {
845845
example visualization/.style={
846846
scientific axes=clean,
@@ -896,7 +896,7 @@ \subsection{Reference: Style Sheets for Scatter Plots}
896896
var x : interval [0:50];
897897
func y = sin(\value x * (\value{set}+10))/(\value{set}+5);
898898
}
899-
};
899+
};%
900900
\tikzdatavisualizationset {
901901
example visualization/.style={
902902
scientific axes=clean,
@@ -933,7 +933,7 @@ \subsection{Reference: Style Sheets for Scatter Plots}
933933
var x : interval [0:50];
934934
func y = sin(\value x * (\value{set}+10))/(\value{set}+5);
935935
}
936-
};
936+
};%
937937
\tikzdatavisualizationset {
938938
example visualization/.style={
939939
scientific axes=clean,
@@ -999,7 +999,7 @@ \subsection{Reference: Color Style Sheets}
999999
var x : interval [0:50];
10001000
func y = sin(\value x * (\value{set}+10))/(\value{set}+5);
10011001
}
1002-
};
1002+
};%
10031003
\tikzdatavisualizationset {
10041004
example visualization/.style={
10051005
scientific axes=clean,
@@ -1036,7 +1036,7 @@ \subsection{Reference: Color Style Sheets}
10361036
var x : interval [0:50];
10371037
func y = sin(\value x * (\value{set}+10))/(\value{set}+5);
10381038
}
1039-
};
1039+
};%
10401040
\tikzdatavisualizationset {
10411041
example visualization/.style={
10421042
scientific axes=clean,
@@ -1084,7 +1084,7 @@ \subsection{Reference: Color Style Sheets}
10841084
var x : interval [0:50];
10851085
func y = sin(\value x * (\value{set}+10))/(\value{set}+5);
10861086
}
1087-
};
1087+
};%
10881088
\tikzdatavisualizationset {
10891089
example visualization/.style={
10901090
scientific axes=clean,
@@ -1126,7 +1126,7 @@ \subsection{Reference: Color Style Sheets}
11261126
var x : interval [0:50];
11271127
func y = sin(\value x * (\value{set}+10))/(\value{set}+5);
11281128
}
1129-
};
1129+
};%
11301130
\tikzdatavisualizationset {
11311131
example visualization/.style={
11321132
scientific axes=clean,
@@ -1166,7 +1166,7 @@ \subsection{Reference: Color Style Sheets}
11661166
var x : interval [0:50];
11671167
func y = sin(\value x * (\value{set}+10))/(\value{set}+5);
11681168
}
1169-
};
1169+
};%
11701170
\tikzdatavisualizationset {
11711171
example visualization/.style={
11721172
scientific axes=clean,
@@ -1208,7 +1208,7 @@ \subsection{Reference: Color Style Sheets}
12081208
var x : interval [0:50];
12091209
func y = sin(\value x * (\value{set}+10))/(\value{set}+5);
12101210
}
1211-
};
1211+
};%
12121212
\tikzdatavisualizationset {
12131213
example visualization/.style={
12141214
scientific axes=clean,
@@ -1955,7 +1955,7 @@ \subsubsection{Rows and Columns of Legend Entries}
19551955
var x : interval [0:50];
19561956
func y = sin(\value x * (\value{set}+10))/(\value{set}+5);
19571957
}
1958-
};
1958+
};%
19591959
\tikzdatavisualizationset {
19601960
legend example/.style={
19611961
scientific axes, all axes={length=1cm, ticks=none},
@@ -2007,7 +2007,7 @@ \subsubsection{Rows and Columns of Legend Entries}
20072007
var x : interval [0:50];
20082008
func y = sin(\value x * (\value{set}+10))/(\value{set}+5);
20092009
}
2010-
};
2010+
};%
20112011
\tikzdatavisualizationset {
20122012
legend example/.style={
20132013
scientific axes, all axes={length=1cm, ticks=none},
@@ -2040,7 +2040,7 @@ \subsubsection{Rows and Columns of Legend Entries}
20402040
var x : interval [0:50];
20412041
func y = sin(\value x * (\value{set}+10))/(\value{set}+5);
20422042
}
2043-
};
2043+
};%
20442044
\tikzdatavisualizationset {
20452045
legend example/.style={
20462046
scientific axes, all axes={length=1cm, ticks=none},
@@ -2073,7 +2073,7 @@ \subsubsection{Rows and Columns of Legend Entries}
20732073
var x : interval [0:50];
20742074
func y = sin(\value x * (\value{set}+10))/(\value{set}+5);
20752075
}
2076-
};
2076+
};%
20772077
\tikzdatavisualizationset {
20782078
legend example/.style={
20792079
scientific axes, all axes={length=1cm, ticks=none},
@@ -2106,7 +2106,7 @@ \subsubsection{Rows and Columns of Legend Entries}
21062106
var x : interval [0:50];
21072107
func y = sin(\value x * (\value{set}+10))/(\value{set}+5);
21082108
}
2109-
};
2109+
};%
21102110
\tikzdatavisualizationset {
21112111
legend example/.style={
21122112
scientific axes, all axes={length=1cm, ticks=none},
@@ -2139,7 +2139,7 @@ \subsubsection{Rows and Columns of Legend Entries}
21392139
var x : interval [0:50];
21402140
func y = sin(\value x * (\value{set}+10))/(\value{set}+5);
21412141
}
2142-
};
2142+
};%
21432143
\tikzdatavisualizationset {
21442144
legend example/.style={
21452145
scientific axes, all axes={length=1cm, ticks=none},
@@ -2172,7 +2172,7 @@ \subsubsection{Rows and Columns of Legend Entries}
21722172
var x : interval [0:50];
21732173
func y = sin(\value x * (\value{set}+10))/(\value{set}+5);
21742174
}
2175-
};
2175+
};%
21762176
\tikzdatavisualizationset {
21772177
legend example/.style={
21782178
scientific axes, all axes={length=1cm, ticks=none},
@@ -2205,7 +2205,7 @@ \subsubsection{Rows and Columns of Legend Entries}
22052205
var x : interval [0:50];
22062206
func y = sin(\value x * (\value{set}+10))/(\value{set}+5);
22072207
}
2208-
};
2208+
};%
22092209
\tikzdatavisualizationset {
22102210
legend example/.style={
22112211
scientific axes, all axes={length=1cm, ticks=none},
@@ -2248,7 +2248,7 @@ \subsubsection{Rows and Columns of Legend Entries}
22482248
var x : interval [0:50];
22492249
func y = sin(\value x * (\value{set}+10))/(\value{set}+5);
22502250
}
2251-
};
2251+
};%
22522252
\tikzdatavisualizationset {
22532253
legend example/.style={
22542254
scientific axes, all axes={length=1cm, ticks=none},
@@ -2279,7 +2279,7 @@ \subsubsection{Rows and Columns of Legend Entries}
22792279
var x : interval [0:50];
22802280
func y = sin(\value x * (\value{set}+10))/(\value{set}+5);
22812281
}
2282-
};
2282+
};%
22832283
\tikzdatavisualizationset {
22842284
legend example/.style={
22852285
scientific axes, all axes={length=1cm, ticks=none},
@@ -2310,7 +2310,7 @@ \subsubsection{Rows and Columns of Legend Entries}
23102310
var x : interval [0:50];
23112311
func y = sin(\value x * (\value{set}+10))/(\value{set}+5);
23122312
}
2313-
};
2313+
};%
23142314
\tikzdatavisualizationset {
23152315
legend example/.style={
23162316
scientific axes, all axes={length=1cm, ticks=none},
@@ -2349,7 +2349,7 @@ \subsubsection{Rows and Columns of Legend Entries}
23492349
var x : interval [0:50];
23502350
func y = sin(\value x * (\value{set}+10))/(\value{set}+5);
23512351
}
2352-
};
2352+
};%
23532353
\tikzdatavisualizationset {
23542354
legend example/.style={
23552355
scientific axes, all axes={length=1cm, ticks=none},
@@ -2380,7 +2380,7 @@ \subsubsection{Rows and Columns of Legend Entries}
23802380
var x : interval [0:50];
23812381
func y = sin(\value x * (\value{set}+10))/(\value{set}+5);
23822382
}
2383-
};
2383+
};%
23842384
\tikzdatavisualizationset {
23852385
legend example/.style={
23862386
scientific axes, all axes={length=1cm, ticks=none},
@@ -2411,7 +2411,7 @@ \subsubsection{Rows and Columns of Legend Entries}
24112411
var x : interval [0:50];
24122412
func y = sin(\value x * (\value{set}+10))/(\value{set}+5);
24132413
}
2414-
};
2414+
};%
24152415
\tikzdatavisualizationset {
24162416
legend example/.style={
24172417
scientific axes, all axes={length=1cm, ticks=none},
@@ -2462,7 +2462,7 @@ \subsubsection{Rows and Columns of Legend Entries}
24622462
var x : interval [0:50];
24632463
func y = sin(\value x * (\value{set}+10))/(\value{set}+5);
24642464
}
2465-
};
2465+
};%
24662466
\tikzdatavisualizationset {
24672467
legend example/.style={
24682468
scientific axes, all axes={length=1cm, ticks=none},
@@ -2493,7 +2493,7 @@ \subsubsection{Rows and Columns of Legend Entries}
24932493
var x : interval [0:50];
24942494
func y = sin(\value x * (\value{set}+10))/(\value{set}+5);
24952495
}
2496-
};
2496+
};%
24972497
\tikzdatavisualizationset {
24982498
legend example/.style={
24992499
scientific axes, all axes={length=1cm, ticks=none},
@@ -2524,7 +2524,7 @@ \subsubsection{Rows and Columns of Legend Entries}
25242524
var x : interval [0:50];
25252525
func y = sin(\value x * (\value{set}+10))/(\value{set}+5);
25262526
}
2527-
};
2527+
};%
25282528
\tikzdatavisualizationset {
25292529
legend example/.style={
25302530
scientific axes, all axes={length=1cm, ticks=none},
@@ -2564,7 +2564,7 @@ \subsubsection{Rows and Columns of Legend Entries}
25642564
var x : interval [0:50];
25652565
func y = sin(\value x * (\value{set}+10))/(\value{set}+5);
25662566
}
2567-
};
2567+
};%
25682568
\tikzdatavisualizationset {
25692569
legend example/.style={
25702570
scientific axes, all axes={length=1cm, ticks=none},
@@ -2595,7 +2595,7 @@ \subsubsection{Rows and Columns of Legend Entries}
25952595
var x : interval [0:50];
25962596
func y = sin(\value x * (\value{set}+10))/(\value{set}+5);
25972597
}
2598-
};
2598+
};%
25992599
\tikzdatavisualizationset {
26002600
legend example/.style={
26012601
scientific axes, all axes={length=1cm, ticks=none},
@@ -2626,7 +2626,7 @@ \subsubsection{Rows and Columns of Legend Entries}
26262626
var x : interval [0:50];
26272627
func y = sin(\value x * (\value{set}+10))/(\value{set}+5);
26282628
}
2629-
};
2629+
};%
26302630
\tikzdatavisualizationset {
26312631
legend example/.style={
26322632
scientific axes, all axes={length=1cm, ticks=none},

doc/generic/pgf/text-en/pgfmanual-en-pgfsys-animations.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ \subsection{Commands for Animating an Attribute: Paths and Their Rendering}
422422
|\pgfsetarrows| and then animate the path, you will get an error
423423
message.
424424
\item Internally, the arrow tips that ``rotate and move along'' are
425-
drawn using so-called \emph{markers.} These are little graphic
425+
drawn using so-called \emph{markers}. These are little graphic
426426
objects that can be added to the start and end of paths and that
427427
are automatically rotated and move along with the path.
428428

tex/generic/pgf/graphdrawing/lua/pgf/gd/circular/doc.lua

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@ local documentation = require 'pgf.gd.doc'.documentation
1414
local summary = require 'pgf.gd.doc'.summary
1515
local example = require 'pgf.gd.doc'.example
1616

17-
--[[
18-
\begin{codeexample}[setup code,hidden]
19-
\usetikzlibrary{graphs,graphdrawing}
20-
\usegdlibrary{circular}
21-
\end{codeexample}
22-
--]]
2317
--------------------------------------------------------------------
2418
key "simple necklace layout"
2519

@@ -50,7 +44,9 @@ clockwise). The order of the nodes is the order in which they appear
5044
in the graph, the edges are not taken into consideration, unless the
5145
|componentwise| option is given.
5246
%
53-
\begin{codeexample}[preamble={\tikzlibrary{arrows.spaced}}]
47+
\begin{codeexample}[
48+
preamble={\usetikzlibrary{arrows.spaced,graphs,graphdrawing}
49+
\usegdlibrary{circular}}]
5450
\tikz[>=spaced stealth']
5551
\graph [simple necklace layout, grow'=down, node sep=1em,
5652
nodes={draw,circle}, math nodes]
@@ -65,14 +61,16 @@ decomposed into connected components, which are then laid out
6561
individually and packed using the usual component packing
6662
mechanisms:
6763
%
68-
\begin{codeexample}[]
64+
\begin{codeexample}[preamble={\usetikzlibrary{graphs,graphdrawing}
65+
\usegdlibrary{circular}}]
6966
\tikz \graph [simple necklace layout] {
7067
a -- b -- c -- d -- a,
7168
1 -- 2 -- 3 -- 1
7269
};
7370
\end{codeexample}
7471
%
75-
\begin{codeexample}[]
72+
\begin{codeexample}[preamble={\usetikzlibrary{graphs,graphdrawing}
73+
\usegdlibrary{circular}}]
7674
\tikz \graph [simple necklace layout, componentwise] {
7775
a -- b -- c -- d -- a,
7876
1 -- 2 -- 3 -- 1

0 commit comments

Comments
 (0)