PGF is a macro package for creating graphics. It is platform- and format-independent and works together with the most important TeX backend drivers, including pdfTeX and dvips. It comes with a user-friendly syntax layer called TikZ.
Its usage is similar to pstricks and the standard picture environment. PGF works with plain (pdf-)TeX, (pdf-)LaTeX, and ConTeXt. Unlike pstricks, it can produce either PostScript or PDF output.
2 |
--------------------------------------------------------------------------------
/doc/generic/pgf/images/brave-gnu-world-logo-mask.bb:
--------------------------------------------------------------------------------
1 | %%Title: ./brave-gnu-world-logo-mask.jpg
2 | %%Creator: ebb Version 0.5.2
3 | %%BoundingBox: 0 0 246 279
4 | %%CreationDate: Thu Dec 20 23:49:52 2007
5 |
6 |
--------------------------------------------------------------------------------
/doc/generic/pgf/images/brave-gnu-world-logo-mask.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DominikPeters/pgf-tikz-html-manual/a5bd402c1a686ef37d723f8bda2d254f2875b012/doc/generic/pgf/images/brave-gnu-world-logo-mask.jpg
--------------------------------------------------------------------------------
/doc/generic/pgf/images/brave-gnu-world-logo.25.bb:
--------------------------------------------------------------------------------
1 | %%Title: ./brave-gnu-world-logo.25.jpg
2 | %%Creator: ebb Version 0.5.2
3 | %%BoundingBox: 0 0 246 279
4 | %%CreationDate: Thu Dec 20 23:49:52 2007
5 |
6 |
--------------------------------------------------------------------------------
/doc/generic/pgf/images/brave-gnu-world-logo.25.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DominikPeters/pgf-tikz-html-manual/a5bd402c1a686ef37d723f8bda2d254f2875b012/doc/generic/pgf/images/brave-gnu-world-logo.25.jpg
--------------------------------------------------------------------------------
/doc/generic/pgf/images/brave-gnu-world-logo.bb:
--------------------------------------------------------------------------------
1 | %%Title: ./brave-gnu-world-logo.jpg
2 | %%Creator: ebb Version 0.5.2
3 | %%BoundingBox: 0 0 246 279
4 | %%CreationDate: Thu Dec 20 23:49:52 2007
5 |
6 |
--------------------------------------------------------------------------------
/doc/generic/pgf/images/brave-gnu-world-logo.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DominikPeters/pgf-tikz-html-manual/a5bd402c1a686ef37d723f8bda2d254f2875b012/doc/generic/pgf/images/brave-gnu-world-logo.jpg
--------------------------------------------------------------------------------
/doc/generic/pgf/images/brave-gnu-world-logo.xbb:
--------------------------------------------------------------------------------
1 | %%Title: /Users/tantau/Library/texmf/tex/generic/pgf/doc/generic/pgf/images/brave-gnu-world-logo.jpg
2 | %%Creator: extractbb 20130405
3 | %%BoundingBox: 0 0 342 387
4 | %%HiResBoundingBox: 0.000000 0.000000 342.000000 387.000000
5 | %%CreationDate: Tue Aug 27 10:50:29 2013
6 |
7 |
--------------------------------------------------------------------------------
/doc/generic/pgf/images/pgfmanual-mindmap-1.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DominikPeters/pgf-tikz-html-manual/a5bd402c1a686ef37d723f8bda2d254f2875b012/doc/generic/pgf/images/pgfmanual-mindmap-1.pdf
--------------------------------------------------------------------------------
/doc/generic/pgf/images/pgfmanual-mindmap-2.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DominikPeters/pgf-tikz-html-manual/a5bd402c1a686ef37d723f8bda2d254f2875b012/doc/generic/pgf/images/pgfmanual-mindmap-2.pdf
--------------------------------------------------------------------------------
/doc/generic/pgf/licenses/manifest-code.txt:
--------------------------------------------------------------------------------
1 | The code consists of all files listed in ../FILES that do not lie in
2 | the directory doc.
3 |
--------------------------------------------------------------------------------
/doc/generic/pgf/licenses/manifest-documentation.txt:
--------------------------------------------------------------------------------
1 | The documentation consists of all files listed in ../FILES that lie in
2 | the doc subdirectory.
3 |
--------------------------------------------------------------------------------
/doc/generic/pgf/pgfmanual-dvipdfm.cfg:
--------------------------------------------------------------------------------
1 | % Copyright 2019 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Free Documentation License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 |
11 | \usepackage[hyphens]{url}
12 |
13 | \usepackage[dvipdfm]{graphics}
14 | % This will tell everyone which driver we are using.
15 |
16 | \PassOptionsToPackage{dvipdfm}{hyperref}
17 |
18 | % Make sure to compile this using latex + dvipdfm.
19 |
--------------------------------------------------------------------------------
/doc/generic/pgf/pgfmanual-dvipdfmx.cfg:
--------------------------------------------------------------------------------
1 | % Copyright 2019 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Free Documentation License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \usepackage[hyphens]{url}
11 |
12 | \usepackage[dvipdfmx]{graphicx}
13 | % This will tell everyone which driver we are using.
14 |
15 | \PassOptionsToPackage{dvipdfmx}{hyperref}
16 |
17 | % Make sure to compile this using latex + dvipdfmx.
18 |
19 | \usepackage[dvipdfmx]{xcolor}
20 |
21 |
22 |
--------------------------------------------------------------------------------
/doc/generic/pgf/pgfmanual-dvips.cfg:
--------------------------------------------------------------------------------
1 | % Copyright 2019 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Free Documentation License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 |
11 | \usepackage[hyphens]{url}
12 | \usepackage[dvips]{graphics}
13 |
14 | % Just make sure that you compile this using elatex + dvips
15 |
--------------------------------------------------------------------------------
/doc/generic/pgf/pgfmanual-en-dv-backend.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Free Documentation License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 |
11 | \section[dv-backend]{The Data Visualization Backend}
12 | \label{section-dv-backend}
13 |
14 | \subsection{Overview}
15 |
16 | The present section explains the mechanisms behind the data visualization
17 | engine.
18 |
19 | Until it is documented properly, we will have to make do with the documentation
20 | in the source code.
21 |
22 |
23 | \subsection{The Rendering Pipeline}
24 |
25 | To be written...
26 |
27 | \subsection{Usage}
28 |
29 | To be written...
30 |
31 | \subsection{The Mathematical Micro-Kernel}
32 | \label{section-dv-math-kernel}
33 |
34 | To be written...
35 |
--------------------------------------------------------------------------------
/doc/generic/pgf/pgfmanual-en-gd-circular.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Jannis Pohlmann
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Free Documentation License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 |
11 | \section[gd-circular]{Graph Drawing Algorithms: Circular Layouts}
12 |
13 | {\noindent {\emph{by Till Tantau}}}
14 |
15 | \ifluatex
16 | \else
17 | This section of the manual can only be typeset using Lua\TeX.
18 | \expandafter\endinput
19 | \fi
20 |
21 |
22 | \includeluadocumentationof{pgf.gd.circular.library}
23 | \includeluadocumentationof{pgf.gd.circular.Tantau2012}
24 |
25 |
26 | %%% Local Variables:
27 | %%% mode: latex
28 | %%% TeX-master: "pgfmanual-pdftex-version"
29 | %%% End:
30 |
--------------------------------------------------------------------------------
/doc/generic/pgf/pgfmanual-en-gd-edge-routing.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Jannis Pohlmann
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Free Documentation License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 |
11 | \section[gd-edge-routing]{Graph Drawing Algorithms: Edge Routing}
12 | \label{section-last-graphdrawing-library-in-manual}
13 |
14 | {\noindent{\emph{by Till Tantau}}\todosp{Why is a second label here? The second
15 | doesn't seem to be used.}}
16 |
17 | \label{section-gd-edge-routing}
18 |
19 | \ifluatex
20 | \else
21 | This section of the manual can only be typeset using Lua\TeX.
22 | \expandafter\endinput
23 | \fi
24 |
25 |
26 | \includeluadocumentationof{pgf.gd.routing.library}
27 | \includeluadocumentationof{pgf.gd.routing.NecklaceRouting}
28 |
29 |
30 | %%% Local Variables:
31 | %%% mode: latex
32 | %%% TeX-master: "pgfmanual-pdftex-version"
33 | %%% End:
34 |
--------------------------------------------------------------------------------
/doc/generic/pgf/pgfmanual-en-gd-examples.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2012 by Jannis Pohlmann
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Free Documentation License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 |
11 | %%% Local Variables:
12 | %%% mode: latex
13 | %%% TeX-master: "pgfmanual-pdftex-version"
14 | %%% End:
15 |
--------------------------------------------------------------------------------
/doc/generic/pgf/pgfmanual-en-gd-layered.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Free Documentation License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 |
11 | \section[gd-layered]{Graph Drawing Algorithms: Layered Layouts}
12 |
13 | {\emph{by Till Tantau and Jannis Pohlmann}}
14 |
15 | \ifluatex
16 | \else
17 | This section of the manual can only be typeset using Lua\TeX.
18 | \expandafter\endinput
19 | \fi
20 |
21 | \includeluadocumentationof{pgf.gd.layered.library}
22 | \includeluadocumentationof{pgf.gd.layered.Sugiyama}
23 | \includeluadocumentationof{pgf.gd.layered.cycle_removal}
24 | \includeluadocumentationof{pgf.gd.layered.node_ranking}
25 | \includeluadocumentationof{pgf.gd.layered.crossing_minimization}
26 | \includeluadocumentationof{pgf.gd.layered.node_positioning}
27 | \includeluadocumentationof{pgf.gd.layered.edge_routing}
28 |
29 |
30 | %%% Local Variables:
31 | %%% mode: latex
32 | %%% TeX-master: "pgfmanual-pdftex-version"
33 | %%% End:
34 |
--------------------------------------------------------------------------------
/doc/generic/pgf/pgfmanual-en-gd-misc.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2012 by Jannis Pohlmann
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Free Documentation License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \section{Graph Drawing Layouts: Miscellaneous}
11 |
12 |
13 | \begin{tikzlibrary}{graphdrawing.misc}
14 | Load this package when you wish to use the graph drawing algorithms
15 | defined in this library. You should load the |graphdrawing| library first.
16 | \end{tikzlibrary}
17 |
18 |
19 | \begin{gdalgorithm}{simple demo layout}{Simple Demo}
20 | The algorithm used in the examples of this manual for demonstrating
21 | how a trivial graph drawing can be implemented.
22 | \end{gdalgorithm}
23 |
24 |
25 |
26 |
27 | %%% Local Variables:
28 | %%% mode: latex
29 | %%% TeX-master: "pgfmanual-pdftex-version"
30 | %%% End:
31 |
--------------------------------------------------------------------------------
/doc/generic/pgf/pgfmanual-en-library-calc.tex:
--------------------------------------------------------------------------------
1 |
2 | \section[library-calc]{Calc Library}
3 |
4 | \begin{tikzlibrary}{calc}
5 | The library allows advanced Coordinate Calculations. It is documented in
6 | all detail in Section~\ref{tikz-lib-calc}.
7 | \end{tikzlibrary}
8 |
--------------------------------------------------------------------------------
/doc/generic/pgf/pgfmanual-en-main.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Free Documentation License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \input{pgfmanual-en-main-preamble.tex}
11 | \input{pgfmanual-en-main-body.tex}
12 |
13 |
14 | %%% Local Variables:
15 | %%% mode: latex
16 | %%% End:
17 |
--------------------------------------------------------------------------------
/doc/generic/pgf/pgfmanual-pdftex.cfg:
--------------------------------------------------------------------------------
1 | % Copyright 2019 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Free Documentation License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 |
11 | % \usepackage[hyphens]{url}
12 | % \makeatletter
13 | % \g@addto@macro\selectfont{%
14 | % \long\edef\longf@family{\f@family}%
15 | % \ifx\longf@family\ttdefault
16 | % \pdfnoligatures\font\relax
17 | % \fi
18 | % }
19 | % \makeatother
20 |
21 | % Just make sure to compile this using pdfelatex.
22 |
--------------------------------------------------------------------------------
/doc/generic/pgf/pgfmanual-test.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2019 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Free Documentation License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \documentclass[a4paper,doc2]{ltxdoc}
11 |
12 | % pgf version is defined in \pgfversion in file
13 | % generic/pgf/utilities/pgfrcs.code.tex
14 |
15 | \input{pgfmanual.cfg} % default engine is LuaTeX
16 | \input{pgfmanual-en-main-preamble.tex}
17 |
18 | \begin{document}
19 |
20 | \include{pgfmanual-en-library-patterns}
21 |
22 | \end{document}
23 |
--------------------------------------------------------------------------------
/doc/generic/pgf/pgfmanual-vtex.cfg:
--------------------------------------------------------------------------------
1 | % Copyright 2019 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Free Documentation License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \usepackage[hyphens]{url}
11 | \usepackage[vtex]{graphics}
12 |
13 | \let\command=\undefined
14 | \let\endcommand=\undefined
15 |
16 | % Just make sure that you compile this using elatex + dvips
17 |
--------------------------------------------------------------------------------
/doc/generic/pgf/pgfmanual-xetex.cfg:
--------------------------------------------------------------------------------
1 | % Copyright 2019 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Free Documentation License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \usepackage[hyphens]{url}
11 |
12 | \usepackage[xetex]{graphics}
13 | % This will tell everyone which driver we are using.
14 |
15 | \PassOptionsToPackage{xetex}{hyperref}
16 |
17 | % Make sure to compile this using xelatex + xdvipdfmx.
18 |
--------------------------------------------------------------------------------
/doc/generic/pgf/pgfmanual.cfg:
--------------------------------------------------------------------------------
1 | % Copyright 2019 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Free Documentation License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 |
11 | % \usepackage[hyphens]{url}
12 | \makeatletter
13 | \g@addto@macro\selectfont{%
14 | \long\edef\longf@family{\f@family}%
15 | \ifx\longf@family\ttdefault
16 | \ignoreligaturesinfont\font\relax
17 | \fi
18 | }
19 | \makeatother
20 |
21 | % Just make sure to compile this using lualatex.
22 |
--------------------------------------------------------------------------------
/doc/generic/pgf/pgfmanual.sty:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau and Christian Feuersänger
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \ProvidesPackage{pgfmanual}[2009/10/15]
11 |
12 | \input pgfmanual.code.tex
13 |
--------------------------------------------------------------------------------
/doc/generic/pgf/pgfmanual.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Free Documentation License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \documentclass[a4paper,doc2]{ltxdoc}
11 |
12 | % pgf version is defined in \pgfversion in file
13 | % generic/pgf/utilities/pgfrcs.code.tex
14 |
15 | \usepackage[latexmk,mathjax,HomeHTMLFilename=home]{lwarp}
16 | \CSSFilename{style.css}
17 | \MathJaxFilename{javascript.txt}
18 | \begin{warpMathJax}
19 | \CustomizeMathJax{
20 | \newcommand{\meta}[1]{\langle\textit{#1}\rangle}
21 | }
22 | \end{warpMathJax}
23 | \setcounter{FileDepth}{1}
24 | \setcounter{tocdepth}{1}
25 | \boolfalse{CombineHigherDepths}
26 |
27 | \input{pgfmanual.cfg}
28 | % \input{pgfmanual-pdftex.cfg}
29 |
30 | \input{pgfmanual-en-main.tex}
31 |
--------------------------------------------------------------------------------
/doc/generic/pgf/plots/pgf-asymptotic-example.gnuplot:
--------------------------------------------------------------------------------
1 | set table "plots/pgf-asymptotic-example.table"; set format "%.5f"
2 | set samples 200.0; set parametric; plot [t=0.4:1.5] [] [] (t*t*t)*sin(1/(t*t*t)),(t*t*t)*cos(1/(t*t*t))
3 |
--------------------------------------------------------------------------------
/doc/generic/pgf/plots/pgf-exp.gnuplot:
--------------------------------------------------------------------------------
1 | set table "plots/pgf-exp.table"; set format "%.5f"
2 | set samples 25; plot [x=0:4] 0.05*exp(x)
3 |
--------------------------------------------------------------------------------
/doc/generic/pgf/plots/pgf-exp.table:
--------------------------------------------------------------------------------
1 | #Curve 0, 25 points
2 | #x y type
3 | 0.00000 0.05000 i
4 | 0.16667 0.05907 i
5 | 0.33333 0.06978 i
6 | 0.50000 0.08244 i
7 | 0.66667 0.09739 i
8 | 0.83333 0.11505 i
9 | 1.00000 0.13591 i
10 | 1.16667 0.16056 i
11 | 1.33333 0.18968 i
12 | 1.50000 0.22408 i
13 | 1.66667 0.26472 i
14 | 1.83333 0.31274 i
15 | 2.00000 0.36945 i
16 | 2.16667 0.43646 i
17 | 2.33333 0.51561 i
18 | 2.50000 0.60912 i
19 | 2.66667 0.71960 i
20 | 2.83333 0.85010 i
21 | 3.00000 1.00428 i
22 | 3.16667 1.18641 i
23 | 3.33333 1.40158 i
24 | 3.50000 1.65577 i
25 | 3.66667 1.95606 i
26 | 3.83333 2.31082 i
27 | 4.00000 2.72991 i
28 |
29 |
30 |
--------------------------------------------------------------------------------
/doc/generic/pgf/plots/pgf-parametric-example-cut.gnuplot:
--------------------------------------------------------------------------------
1 | set table "plots/pgf-parametric-example-cut.table"; set format "%.5f"
2 | set samples 25; set parametric; plot [t=-3.141:3.141] [0:1] [] t*sin(t),t*cos(t)
3 |
--------------------------------------------------------------------------------
/doc/generic/pgf/plots/pgf-parametric-example-cut.table:
--------------------------------------------------------------------------------
1 |
2 | # Curve 0 of 1, 25 points
3 | # Curve title: "t*sin(t),t*cos(t)"
4 | # x y type
5 | 0.00186 3.14100 i
6 | 0.74672 2.78074 i
7 | 1.30987 2.26617 o
8 | 1.66651 1.66503 o
9 | 1.81387 1.04628 o
10 | 1.76998 0.47361 o
11 | 1.57050 -0.00047 o
12 | 1.26407 -0.33904 o
13 | 0.90663 -0.52368 i
14 | 0.55517 -0.55534 i
15 | 0.26171 -0.45339 i
16 | 0.06773 -0.25283 i
17 | 0.00000 0.00000 i
18 | 0.06773 0.25283 i
19 | 0.26171 0.45339 i
20 | 0.55517 0.55534 i
21 | 0.90663 0.52368 i
22 | 1.26407 0.33904 o
23 | 1.57050 0.00047 o
24 | 1.76998 -0.47361 o
25 | 1.81387 -1.04628 o
26 | 1.66651 -1.66503 o
27 | 1.30987 -2.26617 o
28 | 0.74672 -2.78074 i
29 | 0.00186 -3.14100 i
30 |
31 |
--------------------------------------------------------------------------------
/doc/generic/pgf/plots/pgf-parametric-example.gnuplot:
--------------------------------------------------------------------------------
1 | set table "plots/pgf-parametric-example.table"; set format "%.5f"
2 | set samples 25; set parametric; plot [t=-3.141:3.141] [] [] t*sin(t),t*cos(t)
3 |
--------------------------------------------------------------------------------
/doc/generic/pgf/plots/pgf-parametric-example.table:
--------------------------------------------------------------------------------
1 | #Curve 0, 25 points
2 | #x y type
3 | 0.00186 3.14100 i
4 | 0.74672 2.78074 i
5 | 1.30987 2.26617 i
6 | 1.66651 1.66503 i
7 | 1.81387 1.04628 i
8 | 1.76998 0.47361 i
9 | 1.57050 -0.00047 i
10 | 1.26407 -0.33904 i
11 | 0.90663 -0.52368 i
12 | 0.55517 -0.55534 i
13 | 0.26171 -0.45339 i
14 | 0.06773 -0.25283 i
15 | 0.00000 -0.00000 i
16 | 0.06773 0.25283 i
17 | 0.26171 0.45339 i
18 | 0.55517 0.55534 i
19 | 0.90663 0.52368 i
20 | 1.26407 0.33904 i
21 | 1.57050 0.00047 i
22 | 1.76998 -0.47361 i
23 | 1.81387 -1.04628 i
24 | 1.66651 -1.66503 i
25 | 1.30987 -2.26617 i
26 | 0.74672 -2.78074 i
27 | 0.00186 -3.14100 i
28 |
29 |
30 |
--------------------------------------------------------------------------------
/doc/generic/pgf/plots/pgf-sin.gnuplot:
--------------------------------------------------------------------------------
1 | set table "plots/pgf-sin.table"; set format "%.5f"
2 | set samples 25; plot [x=0:4] sin(x)
3 |
--------------------------------------------------------------------------------
/doc/generic/pgf/plots/pgf-sin.table:
--------------------------------------------------------------------------------
1 | #Curve 0, 25 points
2 | #x y type
3 | 0.00000 0.00000 i
4 | 0.16667 0.16590 i
5 | 0.33333 0.32719 i
6 | 0.50000 0.47943 i
7 | 0.66667 0.61837 i
8 | 0.83333 0.74018 i
9 | 1.00000 0.84147 i
10 | 1.16667 0.91944 i
11 | 1.33333 0.97194 i
12 | 1.50000 0.99749 i
13 | 1.66667 0.99541 i
14 | 1.83333 0.96573 i
15 | 2.00000 0.90930 i
16 | 2.16667 0.82766 i
17 | 2.33333 0.72309 i
18 | 2.50000 0.59847 i
19 | 2.66667 0.45727 i
20 | 2.83333 0.30340 i
21 | 3.00000 0.14112 i
22 | 3.16667 -0.02507 i
23 | 3.33333 -0.19057 i
24 | 3.50000 -0.35078 i
25 | 3.66667 -0.50128 i
26 | 3.83333 -0.63788 i
27 | 4.00000 -0.75680 i
28 |
29 |
30 |
--------------------------------------------------------------------------------
/doc/generic/pgf/plots/pgf-tan-example.gnuplot:
--------------------------------------------------------------------------------
1 | set table "plots/pgf-tan-example.table"; set format "%.5f"
2 | set samples 100.0; plot [x=-3.141:3.141] [-3:3]tan(x)
3 |
--------------------------------------------------------------------------------
/doc/generic/pgf/plots/pgf-x.gnuplot:
--------------------------------------------------------------------------------
1 | set table "plots/pgf-x.table"; set format "%.5f"
2 | set samples 25; plot [x=0:4] x
3 |
--------------------------------------------------------------------------------
/doc/generic/pgf/plots/pgf-x.table:
--------------------------------------------------------------------------------
1 | #Curve 0, 25 points
2 | #x y type
3 | 0.00000 0.00000 i
4 | 0.16667 0.16667 i
5 | 0.33333 0.33333 i
6 | 0.50000 0.50000 i
7 | 0.66667 0.66667 i
8 | 0.83333 0.83333 i
9 | 1.00000 1.00000 i
10 | 1.16667 1.16667 i
11 | 1.33333 1.33333 i
12 | 1.50000 1.50000 i
13 | 1.66667 1.66667 i
14 | 1.83333 1.83333 i
15 | 2.00000 2.00000 i
16 | 2.16667 2.16667 i
17 | 2.33333 2.33333 i
18 | 2.50000 2.50000 i
19 | 2.66667 2.66667 i
20 | 2.83333 2.83333 i
21 | 3.00000 3.00000 i
22 | 3.16667 3.16667 i
23 | 3.33333 3.33333 i
24 | 3.50000 3.50000 i
25 | 3.66667 3.66667 i
26 | 3.83333 3.83333 i
27 | 4.00000 4.00000 i
28 |
29 |
30 |
--------------------------------------------------------------------------------
/doc/generic/pgf/plots/pgfmanual-sine.gnuplot:
--------------------------------------------------------------------------------
1 | set table "pgfmanual-sine.table"
2 | set format "%.5f"
3 | set samples 20
4 | plot [x=0:10] sin(x)
5 |
--------------------------------------------------------------------------------
/doc/generic/pgf/plots/pgfmanual-sine.table:
--------------------------------------------------------------------------------
1 | #Curve 0, 20 points
2 | #x y type
3 | 0.00000 0.00000 i
4 | 0.52632 0.50235 i
5 | 1.05263 0.86873 i
6 | 1.57895 0.99997 i
7 | 2.10526 0.86054 i
8 | 2.63158 0.48819 i
9 | 3.15789 -0.01630 i
10 | 3.68421 -0.51638 i
11 | 4.21053 -0.87669 i
12 | 4.73684 -0.99970 i
13 | 5.26316 -0.85212 i
14 | 5.78947 -0.47390 i
15 | 6.31579 0.03260 i
16 | 6.84211 0.53027 i
17 | 7.36842 0.88441 i
18 | 7.89474 0.99917 i
19 | 8.42105 0.84348 i
20 | 8.94737 0.45948 i
21 | 9.47368 -0.04889 i
22 | 10.00000 -0.54402 i
23 |
24 |
25 |
--------------------------------------------------------------------------------
/doc/generic/pgf/plots/pgfplotgnuplot-example.gnuplot:
--------------------------------------------------------------------------------
1 | set table "plots/pgfplotgnuplot-example.table"; set format "%.5f"
2 | plot [x=0:3.5] x*sin(x)
3 |
--------------------------------------------------------------------------------
/doc/generic/pgf/standalone/exclamation-square.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/doc/generic/pgf/standalone/map-abstract-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DominikPeters/pgf-tikz-html-manual/a5bd402c1a686ef37d723f8bda2d254f2875b012/doc/generic/pgf/standalone/map-abstract-1.png
--------------------------------------------------------------------------------
/doc/generic/pgf/standalone/map-abstract-2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DominikPeters/pgf-tikz-html-manual/a5bd402c1a686ef37d723f8bda2d254f2875b012/doc/generic/pgf/standalone/map-abstract-2.png
--------------------------------------------------------------------------------
/doc/generic/pgf/standalone/map-fancy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DominikPeters/pgf-tikz-html-manual/a5bd402c1a686ef37d723f8bda2d254f2875b012/doc/generic/pgf/standalone/map-fancy.png
--------------------------------------------------------------------------------
/doc/generic/pgf/standalone/map-final.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DominikPeters/pgf-tikz-html-manual/a5bd402c1a686ef37d723f8bda2d254f2875b012/doc/generic/pgf/standalone/map-final.png
--------------------------------------------------------------------------------
/doc/generic/pgf/standalone/map-gray.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DominikPeters/pgf-tikz-html-manual/a5bd402c1a686ef37d723f8bda2d254f2875b012/doc/generic/pgf/standalone/map-gray.png
--------------------------------------------------------------------------------
/doc/generic/pgf/standalone/pgfmanual-en-tikz-animations-animation-2.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/doc/generic/pgf/standalone/pgfmanual-en-tikz-paths-animation-1.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/doc/generic/pgf/standalone/pgfmanual-en-tikz-pics-animation-1.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/doc/generic/pgf/standalone/pgfmanual-sec-17-13-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DominikPeters/pgf-tikz-html-manual/a5bd402c1a686ef37d723f8bda2d254f2875b012/doc/generic/pgf/standalone/pgfmanual-sec-17-13-1.png
--------------------------------------------------------------------------------
/doc/generic/pgf/standalone/pgfmanual-sec-71-7.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DominikPeters/pgf-tikz-html-manual/a5bd402c1a686ef37d723f8bda2d254f2875b012/doc/generic/pgf/standalone/pgfmanual-sec-71-7.png
--------------------------------------------------------------------------------
/doc/generic/pgf/standalone/rdf.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DominikPeters/pgf-tikz-html-manual/a5bd402c1a686ef37d723f8bda2d254f2875b012/doc/generic/pgf/standalone/rdf.png
--------------------------------------------------------------------------------
/source/generic/pgf/c/Makefile:
--------------------------------------------------------------------------------
1 | .PHONY : all clean examples ogdf
2 |
3 | all:
4 | $(MAKE) -C graphdrawing/pgf/gd/interface/c
5 | $(MAKE) -C graphdrawing/pgf/gd/examples/c
6 | $(MAKE) -C graphdrawing/pgf/gd/ogdf/c
7 |
8 | install_all:
9 | $(MAKE) -C graphdrawing/pgf/gd/interface/c install
10 | $(MAKE) -C graphdrawing/pgf/gd/examples/c install
11 | $(MAKE) -C graphdrawing/pgf/gd/ogdf/c install
12 |
13 | examples:
14 | $(MAKE) -C graphdrawing/pgf/gd/interface/c
15 | $(MAKE) -C graphdrawing/pgf/gd/examples/c
16 |
17 | install_examples:
18 | $(MAKE) -C graphdrawing/pgf/gd/interface/c install
19 | $(MAKE) -C graphdrawing/pgf/gd/examples/c install
20 |
21 | ogdf:
22 | $(MAKE) -C graphdrawing/pgf/gd/interface/c
23 | $(MAKE) -C graphdrawing/pgf/gd/ogdf/c
24 |
25 | install_ogdf:
26 | $(MAKE) -C graphdrawing/pgf/gd/interface/c install
27 | $(MAKE) -C graphdrawing/pgf/gd/ogdf/c install
28 |
29 |
30 |
31 | clean:
32 | $(MAKE) -C graphdrawing/pgf/gd/interface/c clean
33 | $(MAKE) -C graphdrawing/pgf/gd/examples/c clean
34 | $(MAKE) -C graphdrawing/pgf/gd/ogdf/c clean
35 |
36 |
--------------------------------------------------------------------------------
/source/generic/pgf/c/config/ExampleLocalMakefileConfig.mk:
--------------------------------------------------------------------------------
1 | MYCFLAGS=-isysroot/Developer/SDKs/MacOSX10.7.sdk
2 | MYLDFLAGS=
3 |
4 | ARCHFLAGS=-arch x86_64
5 |
6 | SHAREDFLAGS=-undefined dynamic_lookup -bundle -llua -L$(LUALIBPATH)
7 |
8 |
--------------------------------------------------------------------------------
/source/generic/pgf/c/config/MakefileConfig.mk:
--------------------------------------------------------------------------------
1 |
2 | # Where Lua is installed
3 | LUAPATH=/usr/local/lua52
4 |
5 | LUAINCLUDES = $(LUAPATH)/include
6 | LUALIBPATH = $(LUAPATH)/lib
7 |
8 |
9 | # Where ogdf is installed
10 | OGDFPATH=/usr/local/ogdf
11 |
12 | OGDFINCLUDES = $(OGDFPATH)
13 | OGDFLIBPATH = $(OGDFPATH)/_release
14 |
15 |
16 | # Where the pgf C includes are found
17 | PGFINCLUDES=../../../..
18 |
19 |
20 | # Where the shared libraries should be installed (base dir)
21 | INSTALLDIR=/usr/texbin/lib/luatex/lua
22 |
23 |
24 | # If you need special flags:
25 | MYCFLAGS=
26 | MYLDFLAGS=
27 |
28 | # Link flags for building a shared library
29 | SHAREDFLAGS=
30 |
31 | # Link flags for linking against the shared Lua lib
32 | LINKSHAREDLUA=
33 |
34 | # Architecture flags:
35 | ARCHFLAGS=
36 |
37 | # The to-be-used compiler
38 | CC=gcc
39 |
40 |
41 | # Now read local definition, which may overwrite the above
42 | -include $(CONFIGDIR)/LocalMakefileConfig.mk
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/source/generic/pgf/c/graphdrawing/pgf/gd/interface/c/Makefile:
--------------------------------------------------------------------------------
1 | CONFIGDIR=../../../../../config
2 | include $(CONFIGDIR)/MakefileConfig.mk
3 |
4 | FLAGS=$(MYCFLAGS) $(ARCHFLAGS) -O2 -Wall -I$(LUAINCLUDES) -I$(PGFINCLUDES)
5 |
6 | all: InterfaceFromC.o InterfaceFromC++.o
7 |
8 | clean:
9 | rm *.o
10 |
11 | install:
12 |
13 | InterfaceFromC.o: InterfaceFromC.c InterfaceFromC.h
14 | $(CC) $(FLAGS) -c -o InterfaceFromC.o InterfaceFromC.c
15 |
16 | InterfaceFromC++.o: InterfaceFromC++.h InterfaceFromC.h InterfaceFromC++.c++
17 | $(CC) $(FLAGS) -c -o InterfaceFromC++.o InterfaceFromC++.c++
18 |
--------------------------------------------------------------------------------
/source/generic/pgf/c/graphdrawing/pgf/gd/ogdf/c/energybased/energybased_script.h:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | #include "FMMMLayout_script.h"
4 | #include "GEMLayout_script.h"
5 | #include "FastMultipoleEmbedder_script.h"
6 |
7 | #include "SpringEmbedderFR_script.h"
8 | #include "SpringEmbedderFRExact_script.h"
9 | #include "SpringEmbedderKK_script.h"
10 |
11 | #include "MultilevelLayout_script.h"
12 |
13 | #include "multilevelmixer/multilevelmixer_script.h"
14 |
15 | struct energybased_script :
16 | scripting::declarations
17 | {
18 | void declare (scripting::script s) {
19 | s.declare (new FMMMLayout_script);
20 | s.declare (new GEMLayout_script);
21 | s.declare (new FastMultipoleEmbedder_script);
22 |
23 | s.declare (new SpringEmbedderFR_script);
24 | s.declare (new SpringEmbedderFRExact_script);
25 | s.declare (new SpringEmbedderKK_script);
26 |
27 | s.declare (new MultilevelLayout_script);
28 |
29 | s.declare (new multilevelmixer_script);
30 | }
31 | };
32 |
--------------------------------------------------------------------------------
/source/generic/pgf/c/graphdrawing/pgf/gd/ogdf/c/energybased/multilevelmixer/MedianPlacer_script.h:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 |
4 | struct MedianPlacer_script :
5 | scripting::declarations,
6 | scripting::factory
7 | {
8 | ogdf::MedianPlacer* make (scripting::run_parameters* parameters) {
9 | using namespace ogdf;
10 | MedianPlacer* r = new MedianPlacer;
11 |
12 |
13 | return r;
14 | }
15 |
16 | void declare (scripting::script s) {
17 | using namespace scripting;
18 | using namespace ogdf;
19 |
20 | s.declare (key ("MedianPlacer")
21 | .set_module ("InitialPlacer", this)
22 | .documentation_in ("pgf.gd.doc.ogdf.energybased.multilevelmixer.MedianPlacer"));
23 |
24 | }
25 |
26 | };
27 |
--------------------------------------------------------------------------------
/source/generic/pgf/c/graphdrawing/pgf/gd/ogdf/c/energybased/multilevelmixer/SolarPlacer_script.h:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 |
4 | struct SolarPlacer_script :
5 | scripting::declarations,
6 | scripting::factory
7 | {
8 | ogdf::SolarPlacer* make (scripting::run_parameters* parameters) {
9 | using namespace ogdf;
10 | SolarPlacer* r = new SolarPlacer;
11 |
12 |
13 | return r;
14 | }
15 |
16 | void declare (scripting::script s) {
17 | using namespace scripting;
18 | using namespace ogdf;
19 |
20 | s.declare (key ("SolarPlacer")
21 | .set_module ("InitialPlacer", this)
22 | .documentation_in ("pgf.gd.doc.ogdf.energybased.multilevelmixer.SolarPlacer"));
23 |
24 | }
25 |
26 | };
27 |
--------------------------------------------------------------------------------
/source/generic/pgf/c/graphdrawing/pgf/gd/ogdf/c/layered/BarycenterHeuristic_script.h:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 |
4 | struct BarycenterHeuristic_script :
5 | scripting::declarations,
6 | scripting::factory
7 | {
8 |
9 | ogdf::BarycenterHeuristic* make (scripting::run_parameters* parameters) {
10 | return new ogdf::BarycenterHeuristic;
11 | }
12 |
13 | void declare (scripting::script s) {
14 | using namespace scripting;
15 | s.declare (key ("BarycenterHeuristic")
16 | .documentation_in ("pgf.gd.doc.ogdf.layered.BarycenterHeuristic")
17 | .set_module ("TwoLayerCrossMin", this));
18 | }
19 | };
20 |
21 |
--------------------------------------------------------------------------------
/source/generic/pgf/c/graphdrawing/pgf/gd/ogdf/c/layered/DfsAcyclicSubgraph_script.h:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 |
4 | struct DfsAcyclicSubgraph_script :
5 | scripting::declarations,
6 | scripting::factory
7 | {
8 |
9 | ogdf::DfsAcyclicSubgraph* make (scripting::run_parameters* parameters) {
10 | return new ogdf::DfsAcyclicSubgraph;
11 | }
12 |
13 | void declare (scripting::script s) {
14 | using namespace scripting;
15 | s.declare (key ("DfsAcyclicSubgraph")
16 | .documentation_in ("pgf.gd.doc.ogdf.layered.DfsAcyclicSubgraph")
17 | .set_module ("AcyclicSubgraphModule", this));
18 | }
19 | };
20 |
21 |
--------------------------------------------------------------------------------
/source/generic/pgf/c/graphdrawing/pgf/gd/ogdf/c/layered/GreedyCycleRemoval_script.h:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 |
4 | struct GreedyCycleRemoval_script :
5 | scripting::declarations,
6 | scripting::factory
7 | {
8 |
9 | ogdf::GreedyCycleRemoval* make (scripting::run_parameters* parameters) {
10 | return new ogdf::GreedyCycleRemoval;
11 | }
12 |
13 | void declare (scripting::script s) {
14 | using namespace scripting;
15 | s.declare (key ("GreedyCycleRemoval")
16 | .documentation_in ("pgf.gd.doc.ogdf.layered.GreedyCycleRemoval")
17 | .set_module ("AcyclicSubgraphModule", this));
18 | }
19 | };
20 |
21 |
--------------------------------------------------------------------------------
/source/generic/pgf/c/graphdrawing/pgf/gd/ogdf/c/layered/GreedyInsertHeuristic_script.h:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 |
4 | struct GreedyInsertHeuristic_script :
5 | scripting::declarations,
6 | scripting::factory
7 | {
8 |
9 | ogdf::GreedyInsertHeuristic* make (scripting::run_parameters* parameters) {
10 | return new ogdf::GreedyInsertHeuristic;
11 | }
12 |
13 | void declare (scripting::script s) {
14 | using namespace scripting;
15 | s.declare (key ("GreedyInsertHeuristic")
16 | .documentation_in ("pgf.gd.doc.ogdf.layered.GreedyInsertHeuristic")
17 | .set_module ("TwoLayerCrossMin", this));
18 | }
19 | };
20 |
21 |
--------------------------------------------------------------------------------
/source/generic/pgf/c/graphdrawing/pgf/gd/ogdf/c/layered/MedianHeuristic_script.h:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 |
4 | struct MedianHeuristic_script :
5 | scripting::declarations,
6 | scripting::factory
7 | {
8 |
9 | ogdf::MedianHeuristic* make (scripting::run_parameters* parameters) {
10 | return new ogdf::MedianHeuristic;
11 | }
12 |
13 | void declare (scripting::script s) {
14 | using namespace scripting;
15 | s.declare (key ("MedianHeuristic")
16 | .documentation_in ("pgf.gd.doc.ogdf.layered.MedianHeuristic")
17 | .set_module ("TwoLayerCrossMin", this));
18 | }
19 | };
20 |
21 |
--------------------------------------------------------------------------------
/source/generic/pgf/c/graphdrawing/pgf/gd/ogdf/c/layered/SplitHeuristic_script.h:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 |
4 | struct SplitHeuristic_script :
5 | scripting::declarations,
6 | scripting::factory
7 | {
8 |
9 | ogdf::SplitHeuristic* make (scripting::run_parameters* parameters) {
10 | return new ogdf::SplitHeuristic;
11 | }
12 |
13 | void declare (scripting::script s) {
14 | using namespace scripting;
15 | s.declare (key ("SplitHeuristic")
16 | .documentation_in ("pgf.gd.doc.ogdf.layered.SplitHeuristic")
17 | .set_module ("TwoLayerCrossMin", this));
18 | }
19 | };
20 |
21 |
--------------------------------------------------------------------------------
/source/generic/pgf/c/graphdrawing/pgf/gd/ogdf/c/misclayout/BalloonLayout_script.h:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 |
4 | struct BalloonLayout_script :
5 | scripting::declarations,
6 | scripting::ogdf_runner
7 | {
8 | void run () {
9 | using namespace ogdf;
10 | BalloonLayout layout;
11 |
12 | parameters->configure_option ("BalloonLayout.evenAngles",
13 | &BalloonLayout::setEvenAngles, layout);
14 |
15 | layout.call (graph_attributes);
16 | }
17 |
18 | void declare (scripting::script s) {
19 | using namespace scripting;
20 | using namespace ogdf;
21 |
22 | s.declare (key ("BalloonLayout")
23 | .precondition ("connected")
24 | .algorithm (this)
25 | .documentation_in ("pgf.gd.doc.ogdf.misclayout.BalloonLayout"));
26 |
27 | s.declare (key ("BalloonLayout.evenAngles")
28 | .type ("boolean")
29 | .documentation_in ("pgf.gd.doc.ogdf.misclayout.BalloonLayout"));
30 | }
31 | };
32 |
33 |
--------------------------------------------------------------------------------
/source/generic/pgf/c/graphdrawing/pgf/gd/ogdf/c/misclayout/misclayout_script.h:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | #include "BalloonLayout_script.h"
4 | #include "CircularLayout_script.h"
5 |
6 | struct misclayout_script :
7 | scripting::declarations
8 | {
9 | void declare (scripting::script s) {
10 | s.declare (new BalloonLayout_script);
11 | s.declare (new CircularLayout_script);
12 | }
13 | };
14 |
--------------------------------------------------------------------------------
/source/generic/pgf/c/graphdrawing/pgf/gd/ogdf/c/module/module_script.h:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | struct module_script : scripting::declarations {
4 | void declare (scripting::script s)
5 | {
6 | using namespace scripting;
7 |
8 | s.declare (key ("RankingModule")
9 | .module_type ());
10 |
11 | s.declare (key ("AcyclicSubgraphModule")
12 | .module_type ());
13 |
14 | s.declare (key ("HierarchyLayoutModule")
15 | .module_type ());
16 |
17 | s.declare (key ("TwoLayerCrossMin")
18 | .module_type ());
19 |
20 | s.declare (key ("InitialPlacer")
21 | .module_type ());
22 |
23 | s.declare (key ("MultilevelBuilder")
24 | .module_type ());
25 | }
26 | };
27 |
28 |
--------------------------------------------------------------------------------
/source/generic/pgf/c/graphdrawing/pgf/gd/ogdf/c/ogdf_script.c++:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | #include "module/module_script.h"
4 |
5 | #include "layered/layered_script.h"
6 | #include "energybased/energybased_script.h"
7 | #include "misclayout/misclayout_script.h"
8 | #include "planarity/planarity_script.h"
9 |
10 |
11 | extern "C" int luaopen_pgf_gd_ogdf_c_ogdf_script (struct lua_State *state) {
12 |
13 | scripting::script s (state);
14 |
15 | s.declare (new module_script);
16 | s.declare (new layered_script);
17 | s.declare (new energybased_script);
18 | s.declare (new misclayout_script);
19 | s.declare (new planarity_script);
20 |
21 | return 0;
22 | }
23 |
24 |
--------------------------------------------------------------------------------
/source/generic/pgf/c/graphdrawing/pgf/gd/ogdf/c/planarity/planarity_script.h:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | #include "PlanarizationLayout_script.h"
4 |
5 | struct planarity_script :
6 | scripting::declarations
7 | {
8 | void declare (scripting::script s) {
9 | s.declare (new PlanarizationLayout_script);
10 | }
11 | };
12 |
--------------------------------------------------------------------------------
/source/generic/pgf/testsuite/external/Makefile:
--------------------------------------------------------------------------------
1 |
2 | all: tikzexternaltest.pdf tikzexternaltestmakefile.pdf
3 |
4 |
5 | tikzexternaltest.pdf: FORCE
6 | pdflatex -shell-escape tikzexternaltest.tex
7 |
8 | tikzexternaltestmakefile.pdf: FORCE
9 | pdflatex tikzexternaltestmakefile.tex
10 | $(MAKE) -f tikzexternaltestmakefile.makefile
11 | pdflatex tikzexternaltestmakefile.tex
12 | $(MAKE) -f tikzexternaltestmakefile.makefile
13 | pdflatex tikzexternaltestmakefile.tex
14 |
15 | FORCE:
16 |
17 | clean:
18 | rm -f *.aux *.auxlock *.log *.pdf *.dpth *.dep *.makefile *.figlist *.out
19 |
--------------------------------------------------------------------------------
/source/generic/pgf/testsuite/external/tikzexternaltest.sharedpreamble.tex:
--------------------------------------------------------------------------------
1 | \documentclass[a4paper]{article}
2 | \usepackage[utf8]{inputenc}
3 |
4 | \usepackage{tikz}
5 | \usepackage{hyperref}
6 |
7 | \IfFileExists{pgfplots.sty}{%
8 | \usepackage{pgfplots}
9 | }{}%
10 |
11 | \IfFileExists{tikzlibraryexternal.code.tex}{%
12 | \usetikzlibrary{external}
13 | }{%
14 | \message{TEST IS RUNNING IN COMPATIBILITY MODE}%
15 | % a test to check for pgf 2.00 compatibility, to check whether the
16 | % external library copy shipped with pgfplots works:
17 | \usepgfplotslibrary{external}
18 | }%
19 |
20 | \pgfkeys{/pgf/images/include external/.code={\href{file:#1}{\pgfimage{#1}}}}
21 |
--------------------------------------------------------------------------------
/source/generic/pgf/testsuite/external/tikzexternaltest.tex:
--------------------------------------------------------------------------------
1 | \input tikzexternaltest.sharedpreamble.tex
2 |
3 | \tikzexternalize{tikzexternaltest}
4 |
5 | \author{Christian Feuers\"anger}
6 | \title{Test with default config and Provided Basefilename}
7 |
8 | \begin{document}
9 | \maketitle
10 | \input{tikzexternaltest.code.tex}
11 | \end{document}
12 |
13 |
--------------------------------------------------------------------------------
/source/generic/pgf/testsuite/external/tikzexternaltestmakefile.tex:
--------------------------------------------------------------------------------
1 | \input tikzexternaltest.sharedpreamble.tex
2 |
3 | \tikzexternalize[mode=list and make]
4 |
5 | \author{Christian Feuers\"anger}
6 | \title{Test with mode list and make, automatic Basefilename}
7 |
8 | \begin{document}
9 | \maketitle
10 | \input{tikzexternaltest.code.tex}
11 | \end{document}
12 |
13 |
--------------------------------------------------------------------------------
/testfiles-gd/support/pgfgd-regression-test.tex:
--------------------------------------------------------------------------------
1 | \input regression-test.tex
2 |
3 | \ifdefined\directlua
4 | \AtBeginDocument{\directlua{dofile('pgfgd-debug.lua')}}
5 | \fi
6 |
--------------------------------------------------------------------------------
/testfiles/gh-1082.lvt:
--------------------------------------------------------------------------------
1 | \documentclass{minimal}
2 | \input{pgf-regression-test}
3 |
4 | \usepackage{tikz}
5 | \usetikzlibrary{decorations}
6 |
7 | \START
8 |
9 | \BEGINTEST{Unknown decoration option}
10 | \tikzset{
11 | decoration={segment length=5pt, red}
12 | }
13 | \ENDTEST
14 |
15 | \END
16 |
--------------------------------------------------------------------------------
/testfiles/gh-1082.tlg:
--------------------------------------------------------------------------------
1 | This is a generated file for the l3build validation system.
2 | Don't change this file in any respect.
3 | ============================================================
4 | TEST 1: Unknown decoration option
5 | ============================================================
6 | ! Package pgfkeys Error: I do not know the key '/pgf/decoration/red' and I am going to ignore it. Perhaps you misspelled it.
7 | See the pgfkeys package documentation for explanation.
8 | Type H for immediate help.
9 | ...
10 | l. ...}
11 | This error message was generated by an \errmessage
12 | command, so I can't give any explicit help.
13 | Pretend that you're Hercule Poirot: Examine all clues,
14 | and deduce the truth by order and method.
15 | ============================================================
16 |
--------------------------------------------------------------------------------
/testfiles/gh-1102.tlg:
--------------------------------------------------------------------------------
1 | This is a generated file for the l3build validation system.
2 | Don't change this file in any respect.
3 | ============================================================
4 | Testing that special nodes are placed at expected position
5 | when main nodes are implicitly positioned.
6 | ============================================================
7 | ============================================================
8 | TEST 1: labels
9 | ============================================================
10 | PASSED
11 | PASSED
12 | PASSED
13 | PASSED
14 | ============================================================
15 | ============================================================
16 | TEST 2: pins
17 | ============================================================
18 | PASSED
19 | PASSED
20 | PASSED
21 | PASSED
22 | ============================================================
23 | ============================================================
24 | TEST 3: matrix delimiters
25 | ============================================================
26 | PASSED
27 | PASSED
28 | PASSED
29 | PASSED
30 | ============================================================
31 |
--------------------------------------------------------------------------------
/testfiles/gh-1131.lvt:
--------------------------------------------------------------------------------
1 | \documentclass{minimal}
2 | \input{pgf-regression-test}
3 |
4 | \RequirePackage{pgfkeys}
5 |
6 | \begin{document}
7 |
8 | \START
9 |
10 | \BEGINTEST{pgfkeys: prevent csname from implicitly defining /foo}
11 | \pgfkeysgetvalue{/foo}{\mycmd}
12 | \pgfkeysifdefined{/foo}{\TYPE{true}}{\TYPE{false}}
13 | \ENDTEST
14 |
15 | \BEGINTEST{pgfkeys: keys must be able to hold \relax}
16 |
17 | % essentially \let\csname pgfk@/bar\endcsname\relax
18 | \pgfkeyslet{/bar}{\relax}
19 | \pgfkeys{/bar}
20 | \pgfkeysifdefined{/bar}{\TYPE{true}}{\TYPE{false}}
21 |
22 | % essentially \def\csname pgfk@/bar\endcsname{\relax}
23 | \pgfkeys{/bar/.initial=\relax}
24 | \pgfkeys{/bar}
25 | \pgfkeysifdefined{/bar}{\TYPE{true}}{\TYPE{false}}
26 |
27 | \pgfkeyslet{/bar}{\undefined}
28 | \pgfkeysifdefined{/bar}{\TYPE{true}}{\TYPE{false}}
29 | \ENDTEST
30 |
31 | \BEGINTEST{pgfkeys: nice error handling for accidental \relax in /.@cmd}
32 | \csname pgfk@/baz/.@cmd\endcsname
33 | \pgfkeys{/baz}
34 | \ENDTEST
35 |
36 | \END
37 |
--------------------------------------------------------------------------------
/testfiles/pgf001.lvt:
--------------------------------------------------------------------------------
1 | \documentclass{minimal}
2 | \input{pgf-regression-test}
3 |
4 | \RequirePackage{pgf}
5 |
6 | \begin{document}
7 |
8 | \START
9 |
10 | \BEGINPGFTEST{\pgfpathmoveto}
11 | \pgfpathmoveto{\pgfpoint{1cm}{1cm}}
12 | \pgfusepathqstroke
13 | \ENDPGFTEST
14 |
15 | \BEGINPGFTEST{\pgfpathlineto}
16 | \pgfpathlineto{\pgfpoint{1cm}{1cm}}
17 | \pgfusepathqstroke
18 | \ENDPGFTEST
19 |
20 | \END
21 |
--------------------------------------------------------------------------------
/testfiles/pgf002.lvt:
--------------------------------------------------------------------------------
1 | \documentclass{minimal}
2 | \input{pgf-regression-test}
3 |
4 | \RequirePackage{tikz}
5 |
6 | \begin{document}
7 |
8 | \START
9 |
10 | \BEGINTIKZTEST{matrix}
11 | \matrix
12 | {
13 | \node {a}; \fill[blue] (0,0) circle (2pt); &
14 | \node {X}; \fill[blue] (0,0) circle (2pt); &
15 | \node {g}; \fill[blue] (0,0) circle (2pt); \\
16 | };
17 | \ENDTIKZTEST
18 |
19 | \END
20 |
--------------------------------------------------------------------------------
/tex/context/third/pgf/basiclayer/t-pgf.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 |
11 | % ConTeXt module pgf.
12 |
13 | \writestatus{loading}{ConTeXt User Module / pgf}
14 |
15 | \unprotect
16 | \startmodule[pgf]
17 |
18 |
19 | \ifx\pgfdefined\undefined
20 | \let\pgfdefined=\relax
21 |
22 | \input t-pgfcor.tex
23 |
24 | \usepgfmodule[shapes,plot]
25 |
26 | %\input t-pgfbsn.tex
27 | %\input t-pgfbde.tex
28 | %\input t-pgfbma.tex
29 |
30 | \fi
31 |
32 | \stopmodule
33 |
34 | \protect
35 | \endinput
36 |
--------------------------------------------------------------------------------
/tex/context/third/pgf/basiclayer/t-pgfbim.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 |
11 | % ConTeXt module pgfbaseimage.
12 | \writestatus{loading}{ConTeXt User Module / pgfbim}
13 |
14 | \unprotect
15 | \startmodule[pgfbim]
16 |
17 |
18 | \PackageWarning{pgf}{This module is obsolete and no longer needed}
19 |
20 | \stopmodule
21 |
22 | \protect
23 | \endinput
24 |
--------------------------------------------------------------------------------
/tex/context/third/pgf/basiclayer/t-pgfbla.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 |
11 | % ConTeXt module pgfbaselayers.
12 |
13 | \PackageWarning{pgf}{This module is obsolete and no longer needed}
14 |
15 | \endinput
--------------------------------------------------------------------------------
/tex/context/third/pgf/basiclayer/t-pgfbma.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 |
11 | % ConTeXt module pgfbasematrix.
12 |
13 | \PackageWarning{pgf}{This module is obsolete. Use \string\usepgfmodule[matrix] instead}
14 |
15 | \usepgfmodule[matrix]
16 |
17 | \endinput
--------------------------------------------------------------------------------
/tex/context/third/pgf/basiclayer/t-pgfbpl.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 |
11 | % ConTeXt module pgfbaseplot.
12 |
13 | \PackageWarning{pgf}{This module is obsolete. Use \string\usepgfmodule[plot] instead}
14 |
15 | \usepgfmodule[plot]
16 |
17 |
18 | \endinput
--------------------------------------------------------------------------------
/tex/context/third/pgf/basiclayer/t-pgfbpt.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 |
11 | % ConTeXt module pgfbasepatterns.
12 |
13 | \PackageWarning{pgf}{This module is obsolete and no longer needed}
14 |
15 | \endinput
--------------------------------------------------------------------------------
/tex/context/third/pgf/basiclayer/t-pgfbsh.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 |
11 | % ConTeXt module pgfbaseshapes.
12 |
13 | \PackageWarning{pgf}{This module is obsolete. Use \string\usepgfmodule[shapes] instead}
14 |
15 | \usepgfmodule[shapes]
16 |
17 | \endinput
--------------------------------------------------------------------------------
/tex/context/third/pgf/basiclayer/t-pgfbsn.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 |
11 | % ConTeXt module pgfbasesnakes.
12 |
13 | \PackageWarning{pgf}{This module is obsolete. Use \string\usepgfmodule[decorations] instead}
14 |
15 | \usepgfmodule[decorations]
16 |
17 |
18 | \endinput
--------------------------------------------------------------------------------
/tex/context/third/pgf/frontendlayer/t-tikz.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 |
11 | % ConTeXt module tikz.
12 | \writestatus{loading}{ConTeXt User Module / tikz}
13 |
14 | \unprotect
15 | \startmodule[tikz]
16 |
17 |
18 | % \input xkeyval.tex % no longer used/needed
19 |
20 | \input t-pgf.tex
21 | \input t-pgffor.tex
22 |
23 | \edef\tikzatcode{\the\catcode`\@}
24 | \edef\tikzbarcode{\the\catcode`\|}
25 | \edef\tikzexclaimcode{\the\catcode`\!}
26 | \catcode`\@=11
27 | \catcode`\|=12
28 | \catcode`\!=12
29 |
30 | \input tikz.code.tex
31 |
32 | \catcode`\@=\tikzatcode
33 | \catcode`\|=\tikzbarcode
34 | \catcode`\!=\tikzexclaimcode
35 |
36 | \let\starttikzpicture=\tikzpicture
37 | \let\stoptikzpicture=\endtikzpicture
38 |
39 | \stopmodule
40 |
41 | \protect
42 | \endinput
43 |
--------------------------------------------------------------------------------
/tex/context/third/pgf/math/t-pgfmat.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 |
11 | % ConTeXt module pgfmath.
12 | \writestatus{loading}{ConTeXt User Module / pgfmath}
13 |
14 | \unprotect
15 | \startmodule[pgfmat]
16 |
17 |
18 | \ifx\pgfmathdefined\undefined
19 | \let\pgfmathdefined=\relax
20 |
21 | \edef\pgfmathatcode{\the\catcode`\@}
22 | \edef\pgfmathbarcode{\the\catcode`\|}
23 | \edef\pgfmathexclaimcode{\the\catcode`\!}
24 | \catcode`\@=11
25 | \catcode`\|=12
26 | \catcode`\!=12
27 |
28 | \input pgfmath.code.tex
29 |
30 | \catcode`\@=\pgfmathatcode
31 | \catcode`\|=\pgfmathbarcode
32 | \catcode`\!=\pgfmathexclaimcode
33 |
34 | \fi
35 |
36 | \stopmodule
37 |
38 | \protect
39 | \endinput
40 |
--------------------------------------------------------------------------------
/tex/context/third/pgf/systemlayer/t-pgfsys.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 |
11 | % ConTeXt module pgfsys.
12 | \writestatus{loading}{ConTeXt User Module / pgfsys}
13 |
14 | \unprotect
15 | \startmodule[pgfsys]
16 |
17 |
18 | \ifx\pgfsysdefined\undefined
19 | \let\pgfsysdefined=\relax
20 |
21 | \input t-pgfrcs.tex
22 |
23 | \edef\pgfsysatcode{\the\catcode`\@}
24 | \edef\pgfsysbarcode{\the\catcode`\|}
25 | \edef\pgfsysexclaimcode{\the\catcode`\!}
26 | \catcode`\@=11
27 | \catcode`\|=12
28 | \catcode`\!=12
29 |
30 | \input pgfsys.code.tex
31 | \input pgfsyssoftpath.code.tex
32 | \input pgfsysprotocol.code.tex
33 |
34 | \catcode`\@=\pgfsysatcode
35 | \catcode`\|=\pgfsysbarcode
36 | \catcode`\!=\pgfsysexclaimcode
37 |
38 | \fi
39 |
40 | \stopmodule
41 |
42 | \protect
43 | \endinput
44 |
--------------------------------------------------------------------------------
/tex/context/third/pgf/utilities/t-pgfcal.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | % ConTeXt module pgfcalendar.
11 | \writestatus{loading}{ConTeXt User Module / pgfcalendar}
12 |
13 | \unprotect
14 | \startmodule[pgfcal]
15 |
16 |
17 | \ifx\pgfcalendardefined\undefined
18 | \let\pgfcalendardefined=\relax
19 |
20 | \input t-pgfrcs.tex
21 |
22 | \edef\pgfcalendaratcode{\the\catcode`\@}
23 | \edef\pgfcalendarbarcode{\the\catcode`\|}
24 | \catcode`\@=11
25 | \catcode`\|=12
26 |
27 | \input pgfcalendar.code.tex
28 |
29 | \catcode`\@=\pgfcalendaratcode
30 | \catcode`\|=\pgfcalendarbarcode
31 |
32 | \fi
33 |
34 | \stopmodule
35 |
36 | \protect
37 | \endinput
38 |
--------------------------------------------------------------------------------
/tex/context/third/pgf/utilities/t-pgffor.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | % ConTeXt module pgffor.
11 | \writestatus{loading}{ConTeXt User Module / pgffor}
12 |
13 | \unprotect
14 | \startmodule[pgffor]
15 |
16 |
17 | \ifx\pgffordefined\undefined
18 | \let\pgffordefined=\relax
19 |
20 | \input t-pgfrcs.tex
21 | \input t-pgfkey.tex
22 |
23 | \edef\pgfforatcode{\the\catcode`\@}
24 | \edef\pgfforbarcode{\the\catcode`\|}
25 | \catcode`\@=11
26 | \catcode`\|=12
27 |
28 | \input pgffor.code.tex
29 |
30 | \catcode`\@=\pgfforatcode
31 | \catcode`\|=\pgfforbarcode
32 |
33 | \fi
34 |
35 | \stopmodule
36 |
37 | \protect
38 | \endinput
39 |
--------------------------------------------------------------------------------
/tex/context/third/pgf/utilities/t-pgfkey.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | % ConTeXt module pgfkeys.
11 | \writestatus{loading}{ConTeXt User Module / pgfkey}
12 |
13 | \unprotect
14 | \startmodule[pgfkey]
15 |
16 |
17 | \ifx\pgfkeysdefined\undefined
18 | \let\pgfkeysdefined=\relax
19 |
20 | \edef\pgfkeysatcode{\the\catcode`\@}
21 | \edef\pgfkeysbarcode{\the\catcode`\|}
22 | \catcode`\@=11
23 | \catcode`\|=12
24 |
25 | \input pgfkeys.code.tex
26 |
27 | \catcode`\@=\pgfkeysatcode
28 | \catcode`\|=\pgfkeysbarcode
29 |
30 | \fi
31 |
32 | \stopmodule
33 |
34 | \protect
35 | \endinput
36 |
--------------------------------------------------------------------------------
/tex/context/third/pgf/utilities/t-pgfrcs.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | % ConTeXt module pgfrcs.
11 | \writestatus{loading}{ConTeXt User Module / pgfrcs}
12 |
13 | \unprotect
14 | \startmodule[pgfrcs]
15 |
16 |
17 | \ifx\pgfrcsdefined\undefined
18 | \let\pgfrcsdefined=\relax
19 |
20 | \input t-pgfmod.tex
21 |
22 | \edef\pgfrcsatcode{\the\catcode`\@}
23 | \edef\pgfrcsbarcode{\the\catcode`\|}
24 | \edef\pgfrcsexclaimcode{\the\catcode`\!}
25 | \catcode`\@=11
26 | \catcode`\|=12
27 | \catcode`\!=12
28 |
29 | \input pgfutil-common.tex
30 | \input pgfutil-context.def
31 |
32 | \input pgfrcs.code.tex
33 |
34 | \catcode`\@=\pgfrcsatcode
35 | \catcode`\|=\pgfrcsbarcode
36 | \catcode`\!=\pgfrcsexclaimcode
37 |
38 | \fi
39 |
40 | \stopmodule
41 |
42 | \protect
43 | \endinput
44 |
--------------------------------------------------------------------------------
/tex/generic/pgf/frontendlayer/tikz/libraries/circuits/tikzlibrarycircuits.logic.CDH.code.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau and others Wibrow
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \usetikzlibrary{circuits.logic.US}%
11 |
12 | \tikzset{
13 | circuit logic CDH/.style =
14 | {
15 | circuit logic US,
16 | set and gate graphic = and gate CDH graphic,
17 | set nand gate graphic = nand gate CDH graphic,
18 | }
19 | }%
20 |
21 | \tikzset{
22 | circuit logic US make graphic=and gate CDH,
23 | circuit logic US make graphic=nand gate CDH,
24 | }%
25 |
26 |
27 |
28 | \endinput
29 |
--------------------------------------------------------------------------------
/tex/generic/pgf/frontendlayer/tikz/libraries/datavisualization/tikzlibrarydatavisualization.formats.functions.code.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \ProvidesFileRCS{tikzlibrarydatavisualization.formats.functions.code.tex}
11 |
12 | \usetikzlibrary{datavisualization}%
13 | \usepgflibrary{datavisualization.formats.functions}%
14 |
15 |
16 | \endinput
17 |
--------------------------------------------------------------------------------
/tex/generic/pgf/frontendlayer/tikz/libraries/datavisualization/tikzlibrarydatavisualization.sparklines.code.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \ProvidesFileRCS{tikzlibrarydatavisualization.sparklines.code.tex}
11 |
12 | \usetikzlibrary{datavisualization}%
13 |
14 |
15 |
16 |
17 | %
18 | % Sparklines (not yet usable...)
19 | %
20 |
21 | \tikzdatavisualizationset{
22 | spark line/.style={
23 | xy Cartesian,
24 | x axis={
25 | unit length={1pt}
26 | },
27 | y axis={
28 | scaling={min at -0.2em and max at 0.8em}
29 | },
30 | new line plot,
31 | every spark line plot/.try
32 | }
33 | }%
34 |
35 |
36 |
37 | \endinput
38 |
--------------------------------------------------------------------------------
/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibraryarrows.code.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \ProvidesFileRCS{tikzlibraryarrows.code.tex}
11 |
12 | \usepgflibrary{arrows}%
13 |
14 | \endinput
15 |
--------------------------------------------------------------------------------
/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarybabel.code.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \ProvidesFileRCS{tikzlibrarybabel.code.tex}
11 |
12 | \tikzset{
13 | handle active characters in code,
14 | handle active characters in nodes,
15 | }%
16 |
17 | \endinput
18 |
--------------------------------------------------------------------------------
/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarybending.code.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \ProvidesFileRCS{tikzlibrarybending.code.tex}
11 |
12 | \usepgfmodule{bending}%
13 | \tikzset{arrows=[flex]}%
14 |
15 | \endinput
16 |
--------------------------------------------------------------------------------
/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarydecorations.footprints.code.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Mark Wibrow
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \usetikzlibrary{decorations}%
11 | \usepgflibrary{decorations.footprints}%
12 |
13 | \endinput
14 |
--------------------------------------------------------------------------------
/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarydecorations.fractals.code.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Mark Wibrow
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \usetikzlibrary{decorations}%
11 | \usepgflibrary{decorations.fractals}%
12 |
13 | \endinput
14 |
--------------------------------------------------------------------------------
/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarydecorations.markings.code.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Mark Wibrow
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \usetikzlibrary{decorations}%
11 | \usepgflibrary{decorations.markings}%
12 |
13 | % Upgrade \arrow command
14 | \def\pgf@lib@dec@doarrowhead{%
15 | \pgfutil@ifnextchar[{\tikz@lib@dec@doarrowhead}{\tikz@lib@dec@doarrowhead[]}%]
16 | }%
17 | \def\tikz@lib@dec@doarrowhead[#1]#2{%
18 | \scope[#1]
19 | \pgf@lib@dec@arrowhead{1}{#2}%
20 | \endscope
21 | }%
22 | \def\pgf@lib@dec@doarrowheadrev{%
23 | \pgfutil@ifnextchar[{\tikz@lib@dec@doarrowheadrev}{\tikz@lib@dec@doarrowheadrev[]}%]
24 | }%
25 | \def\tikz@lib@dec@doarrowheadrev[#1]#2{%
26 | \scope[#1]
27 | \pgf@lib@dec@arrowhead{-1}{#2}%
28 | \endscope
29 | }%
30 |
31 | \endinput
32 |
--------------------------------------------------------------------------------
/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarydecorations.pathmorphing.code.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Mark Wibrow
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \usetikzlibrary{decorations}%
11 | \usepgflibrary{decorations.pathmorphing}%
12 |
13 | \endinput
14 |
--------------------------------------------------------------------------------
/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarydecorations.shapes.code.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Mark Wibrow
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \usetikzlibrary{decorations}%
11 | \usepgflibrary{decorations.shapes}%
12 |
13 | \endinput
14 |
--------------------------------------------------------------------------------
/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibraryfixedpointarithmetic.code.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Mark Wibrow
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \usepgflibrary{fixedpointarithmetic}%
11 |
--------------------------------------------------------------------------------
/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibraryfpu.code.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2008/2018 by Christian Feuersaenger
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU General Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \usepgflibrary{fpu}%
11 |
--------------------------------------------------------------------------------
/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarypatterns.code.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \ProvidesFileRCS{tikzlibrarypatterns.code.tex}
11 |
12 | \usepgflibrary{patterns}%
13 |
14 | \tikzoption{pattern color}{\edef\tikz@pattern@color{#1}}%
15 | \tikzoption{pattern}[]{%
16 | \edef\tikz@temp{#1}%
17 | \ifx\tikz@temp\tikz@nonetext%
18 | \tikz@addmode{\tikz@mode@fillfalse}%
19 | \else%
20 | \ifx\tikz@temp\pgfutil@empty%
21 | \else%
22 | \tikz@addoption{\pgfsetfillpattern{#1}{\tikz@pattern@color}}%
23 | \def\tikz@pattern{#1}%
24 | \fi%
25 | \tikz@addmode{\tikz@mode@filltrue}%
26 | \fi%
27 | }%
28 | \def\tikz@pattern@color{black}%
29 | \def\tikz@pattern{dots}%
30 |
31 | \endinput
32 |
--------------------------------------------------------------------------------
/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibraryplothandlers.code.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \ProvidesFileRCS{tikzlibraryplothandlers.code.tex}
11 |
12 | \usepgflibrary{plothandlers}%
13 |
14 | \endinput
15 |
--------------------------------------------------------------------------------
/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibraryplotmarks.code.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \ProvidesFileRCS{tikzlibraryplotmarks.code.tex}
11 |
12 | \usepgflibrary{plotmarks}%
13 |
14 | \endinput
15 |
--------------------------------------------------------------------------------
/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibraryshadings.code.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \ProvidesFileRCS{tikzlibraryshadings.code.tex}
11 |
12 | \usepgflibrary{shadings}%
13 |
14 | \tikzset{
15 | lower left/.style={shading=bilinear interpolation,/utils/exec=\colorlet{lower left}{#1}},
16 | upper left/.style={shading=bilinear interpolation,/utils/exec=\colorlet{upper left}{#1}},
17 | lower right/.style={shading=bilinear interpolation,/utils/exec=\colorlet{lower right}{#1}},
18 | upper right/.style={shading=bilinear interpolation,/utils/exec=\colorlet{upper right}{#1}}
19 | }%
20 |
21 | \endinput
22 |
--------------------------------------------------------------------------------
/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibraryshapes.arrows.code.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \ProvidesFileRCS{tikzlibraryshapes.arrows.code.tex}
11 |
12 | \usepgflibrary{shapes.arrows}%
13 |
14 | \pgfkeys{/tikz/arrow box arrows/.code={\pgf@lib@arrowbox@parsearrows{#1}}}%
15 |
16 | \endinput
17 |
--------------------------------------------------------------------------------
/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibraryshapes.code.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \ProvidesFileRCS{tikzlibraryshapes.code.tex}
11 |
12 | \usetikzlibrary{shapes.geometric}%
13 | \usetikzlibrary{shapes.misc}%
14 | \usetikzlibrary{shapes.symbols}%
15 | \usetikzlibrary{shapes.arrows}%
16 | \usetikzlibrary{shapes.callouts}%
17 | \usetikzlibrary{shapes.multipart}%
18 |
19 | \endinput
20 |
--------------------------------------------------------------------------------
/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibraryshapes.geometric.code.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \ProvidesFileRCS{tikzlibraryshapes.geometric.code.tex}
11 |
12 | \usepgflibrary{shapes.geometric}%
13 |
14 | \endinput
15 |
--------------------------------------------------------------------------------
/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibraryshapes.misc.code.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \ProvidesFileRCS{tikzlibraryshapes.misc.code.tex}
11 |
12 | \usepgflibrary{shapes.misc}%
13 |
14 | \endinput
15 |
--------------------------------------------------------------------------------
/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibraryshapes.multipart.code.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau and Mark Wibrow
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \ProvidesFileRCS{tikzlibraryshapes.multipart.code.tex}
11 |
12 | \usepgflibrary{shapes.multipart}%
13 |
14 | \pgfkeys{/tikz/rectangle split/parts/.code={%
15 | \pgfkeys{/pgf/rectangle split parts={#1}}%
16 | }%
17 | }%
18 |
19 | \pgfkeys{/tikz/rectangle split use custom fill/.code={%
20 | \pgfkeys{/pgf/rectangle split use custom fill={#1}}%
21 | \pgfkeys{/tikz/fill=none}}%
22 | }%
23 |
24 | \pgfkeys{/tikz/rectangle split draw splits/.is if=pgfrectanglesplitdrawsplits}%
25 |
26 | \pgfkeys{/tikz/rectangle split part align/.code={%
27 | \pgfkeys{/pgf/rectangle split part align={#1}}%
28 | }%
29 | }%
30 |
31 | \pgfkeys{/tikz/rectangle split part fill/.code={%
32 | \pgfkeys{/pgf/rectangle split part fill={#1}}%
33 | }%
34 | }%
35 |
36 | \endinput
37 |
--------------------------------------------------------------------------------
/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibraryshapes.symbols.code.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \ProvidesFileRCS{tikzlibraryshapes.symbols.code.tex}
11 |
12 | \pgfkeysifdefined{/tikz/shape border uses incircle}{}{%
13 | \pgfkeys{/tikz/shape border uses incircle/.is if=pgfshapeborderusesincircle}}%
14 |
15 | \usepgflibrary{shapes.symbols}%
16 |
17 | \endinput
18 |
--------------------------------------------------------------------------------
/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarysvg.path.code.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \ProvidesFileRCS{tikzlibrarysvg.path.code.tex}
11 |
12 | \usepgflibrary{svg.path}%
13 |
14 | \def\tikz@svg@path vg{\pgfutil@ifnextchar[\tikz@svg@@path{\tikz@svg@@path[]}}%}%
15 |
16 | \def\tikz@svg@@path[#1]{\pgfutil@ifnextchar"{\tikz@svg@@path@old{#1}}{\tikz@svg@@path@new{#1}}}%
17 | \def\tikz@svg@@path@new#1#2{\tikz@svg@@path@old{#1}"#2"}%
18 | \def\tikz@svg@@path@old#1"#2"{
19 | {%
20 | \tikzset{#1}%
21 | \pgfpathsvg{#2}%
22 | }%
23 | {
24 | \pgftransforminvert
25 | \pgf@process{\pgfpointtransformed{\pgfqpoint{\pgf@path@lastx}{\pgf@path@lasty}}}
26 | }
27 | \tikz@lastx=\pgf@x%
28 | \tikz@lasty=\pgf@y%
29 | \tikz@lastxsaved=\tikz@lastx%
30 | \tikz@lastysaved=\tikz@lasty%
31 | \tikz@updatecurrenttrue%
32 | \tikz@scan@next@command
33 | }%
34 |
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/LUA_CODING_STYLE:
--------------------------------------------------------------------------------
1 | Lua coding style for the graphdrawing library
2 | =============================================
3 |
4 | General naming rules and indentation:
5 |
6 | * 2 spaces indentation
7 | * variable_names_with_underscores
8 | * namespaced.low_level_functions_with_underscores(foo, bar)
9 | * CamelCaseClassNames
10 | * CamelCaseClassNames.nameOfStaticFunctionLikeNewOrClone(foo, bar)
11 | * CamelCaseClass:functionNamesLikeThis(foo, bar)
12 | * never use global variables
13 | * Use . for static functions and : for member functions
14 |
15 | LuaDoc comments:
16 |
17 | ---
18 | -- A function to do this and that.
19 | --
20 | -- @param first Description of the first parameter.
21 | -- @param second Description of the second parameter.
22 | --
23 | -- @return This function returns something.
24 | --
25 | function myClass:myFunction(first, second)
26 | ...
27 | end
28 |
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/bindings.lua:
--------------------------------------------------------------------------------
1 | -- Copyright 2012 by Till Tantau
2 | --
3 | -- This file may be distributed an/or modified
4 | --
5 | -- 1. under the LaTeX Project Public License and/or
6 | -- 2. under the GNU Public License
7 | --
8 | -- See the file doc/generic/pgf/licenses/LICENSE for more information
9 |
10 | --- @release $Header$
11 |
12 |
13 |
14 | -- Imports
15 |
16 | require "pgf"
17 | require "pgf.gd"
18 |
19 |
20 | -- Declare namespace
21 | pgf.gd.bindings = {}
22 |
23 |
24 | -- Done
25 |
26 | return pgf.gd.bindings
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/circular.lua:
--------------------------------------------------------------------------------
1 | -- Copyright 2012 by Till Tantau
2 | --
3 | -- This file may be distributed an/or modified
4 | --
5 | -- 1. under the LaTeX Project Public License and/or
6 | -- 2. under the GNU Public License
7 | --
8 | -- See the file doc/generic/pgf/licenses/LICENSE for more information
9 |
10 | --- @release $Header$
11 |
12 |
13 |
14 | local circular = {}
15 |
16 | -- Declare namespace
17 | require("pgf.gd").circular = circular
18 |
19 |
20 | -- Done
21 |
22 | return circular
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/circular/library.lua:
--------------------------------------------------------------------------------
1 | -- Copyright 2012 by Till Tantau
2 | --
3 | -- This file may be distributed an/or modified
4 | --
5 | -- 1. under the LaTeX Project Public License and/or
6 | -- 2. under the GNU Public License
7 | --
8 | -- See the file doc/generic/pgf/licenses/LICENSE for more information
9 |
10 | -- @release $Header$
11 |
12 |
13 | -- Imports
14 | local declare = require "pgf.gd.interface.InterfaceToAlgorithms".declare
15 |
16 | ---
17 | -- ``Circular'' graph drawing algorithms arrange the nodes of a graph
18 | -- on one of more circles.
19 | --
20 | -- @library
21 |
22 | local circular -- Library name
23 |
24 | -- Load declarations from:
25 |
26 | -- Load algorithms from:
27 | require "pgf.gd.circular.Tantau2012"
28 |
29 |
30 | -- General declarations
31 |
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/control.lua:
--------------------------------------------------------------------------------
1 | -- Copyright 2012 by Till Tantau
2 | --
3 | -- This file may be distributed an/or modified
4 | --
5 | -- 1. under the LaTeX Project Public License and/or
6 | -- 2. under the GNU Public License
7 | --
8 | -- See the file doc/generic/pgf/licenses/LICENSE for more information
9 |
10 | -- @release $Header$
11 |
12 |
13 |
14 | -- Imports
15 |
16 | require "pgf"
17 | require "pgf.gd"
18 |
19 |
20 | -- Declare namespace
21 | pgf.gd.control = {}
22 |
23 |
24 | -- Done
25 |
26 | return pgf.gd.control
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/doc/ogdf/energybased.lua:
--------------------------------------------------------------------------------
1 | -- Copyright 2013 by Till Tantau
2 | --
3 | -- This file may be distributed an/or modified
4 | --
5 | -- 1. under the LaTeX Project Public License and/or
6 | -- 2. under the GNU Public License
7 | --
8 | -- See the file doc/generic/pgf/licenses/LICENSE for more information
9 |
10 | -- @release $Header$
11 |
12 |
13 |
14 | ---
15 | -- @section subsection {Force-Based Algorithms}
16 | --
17 | --
18 |
19 | local _
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/doc/ogdf/energybased/MultilevelLayout.lua:
--------------------------------------------------------------------------------
1 | -- Copyright 2013 by Till Tantau
2 | --
3 | -- This file may be distributed an/or modified
4 | --
5 | -- 1. under the LaTeX Project Public License and/or
6 | -- 2. under the GNU Public License
7 | --
8 | -- See the file doc/generic/pgf/licenses/LICENSE for more information
9 |
10 | -- @release $Header$
11 |
12 |
13 | local key = require 'pgf.gd.doc'.key
14 | local documentation = require 'pgf.gd.doc'.documentation
15 | local summary = require 'pgf.gd.doc'.summary
16 | local example = require 'pgf.gd.doc'.example
17 |
18 |
19 | --------------------------------------------------------------------------------
20 | key "MultilevelLayout"
21 | summary "A wrapper for the multilevel layout computation using the modular multi-level mixer."
22 |
23 | example [[
24 | \tikz \graph [MultilevelLayout] {
25 | a -- b -- c -- a -- d -- e -- f -- a
26 | };
27 | ]]
28 | --------------------------------------------------------------------------------
29 |
30 |
31 | -- Local Variables:
32 | -- mode:latex
33 | -- End:
34 |
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/doc/ogdf/energybased/multilevelmixer/MedianPlacer.lua:
--------------------------------------------------------------------------------
1 | -- Copyright 2013 by Till Tantau
2 | --
3 | -- This file may be distributed an/or modified
4 | --
5 | -- 1. under the LaTeX Project Public License and/or
6 | -- 2. under the GNU Public License
7 | --
8 | -- See the file doc/generic/pgf/licenses/LICENSE for more information
9 |
10 | -- @release $Header$
11 |
12 |
13 | local key = require 'pgf.gd.doc'.key
14 | local documentation = require 'pgf.gd.doc'.documentation
15 | local summary = require 'pgf.gd.doc'.summary
16 | local example = require 'pgf.gd.doc'.example
17 |
18 |
19 | --------------------------------------------------------------------------------
20 | key "MedianPlacer"
21 | summary "?"
22 | --------------------------------------------------------------------------------
23 |
24 |
25 | -- Local Variables:
26 | -- mode:latex
27 | -- End:
28 |
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/doc/ogdf/energybased/multilevelmixer/RandomMerger.lua:
--------------------------------------------------------------------------------
1 | -- Copyright 2013 by Till Tantau
2 | --
3 | -- This file may be distributed an/or modified
4 | --
5 | -- 1. under the LaTeX Project Public License and/or
6 | -- 2. under the GNU Public License
7 | --
8 | -- See the file doc/generic/pgf/licenses/LICENSE for more information
9 |
10 | -- @release $Header$
11 |
12 |
13 | local key = require 'pgf.gd.doc'.key
14 | local documentation = require 'pgf.gd.doc'.documentation
15 | local summary = require 'pgf.gd.doc'.summary
16 | local example = require 'pgf.gd.doc'.example
17 |
18 |
19 | --------------------------------------------------------------------------------
20 | key "RandomMerger"
21 | summary "?"
22 | --------------------------------------------------------------------------------
23 |
24 |
25 | --------------------------------------------------------------------------------
26 | key "RandomMerger.factor"
27 | summary ""
28 | --------------------------------------------------------------------------------
29 |
30 |
31 | -- Local Variables:
32 | -- mode:latex
33 | -- End:
34 |
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/doc/ogdf/energybased/multilevelmixer/RandomPlacer.lua:
--------------------------------------------------------------------------------
1 | -- Copyright 2013 by Till Tantau
2 | --
3 | -- This file may be distributed an/or modified
4 | --
5 | -- 1. under the LaTeX Project Public License and/or
6 | -- 2. under the GNU Public License
7 | --
8 | -- See the file doc/generic/pgf/licenses/LICENSE for more information
9 |
10 | -- @release $Header$
11 |
12 |
13 | local key = require 'pgf.gd.doc'.key
14 | local documentation = require 'pgf.gd.doc'.documentation
15 | local summary = require 'pgf.gd.doc'.summary
16 | local example = require 'pgf.gd.doc'.example
17 |
18 |
19 | --------------------------------------------------------------------------------
20 | key "RandomPlacer"
21 | summary "?"
22 | --------------------------------------------------------------------------------
23 |
24 |
25 | --------------------------------------------------------------------------------
26 | key "RandomPlacer.circleSize"
27 | summary ""
28 | --------------------------------------------------------------------------------
29 |
30 |
31 | -- Local Variables:
32 | -- mode:latex
33 | -- End:
34 |
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/doc/ogdf/energybased/multilevelmixer/SolarPlacer.lua:
--------------------------------------------------------------------------------
1 | -- Copyright 2013 by Till Tantau
2 | --
3 | -- This file may be distributed an/or modified
4 | --
5 | -- 1. under the LaTeX Project Public License and/or
6 | -- 2. under the GNU Public License
7 | --
8 | -- See the file doc/generic/pgf/licenses/LICENSE for more information
9 |
10 | -- @release $Header$
11 |
12 |
13 | local key = require 'pgf.gd.doc'.key
14 | local documentation = require 'pgf.gd.doc'.documentation
15 | local summary = require 'pgf.gd.doc'.summary
16 | local example = require 'pgf.gd.doc'.example
17 |
18 |
19 | --------------------------------------------------------------------------------
20 | key "SolarPlacer"
21 | summary "?"
22 | --------------------------------------------------------------------------------
23 |
24 |
25 | -- Local Variables:
26 | -- mode:latex
27 | -- End:
28 |
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/doc/ogdf/layered.lua:
--------------------------------------------------------------------------------
1 | -- Copyright 2013 by Till Tantau
2 | --
3 | -- This file may be distributed an/or modified
4 | --
5 | -- 1. under the LaTeX Project Public License and/or
6 | -- 2. under the GNU Public License
7 | --
8 | -- See the file doc/generic/pgf/licenses/LICENSE for more information
9 |
10 | -- @release $Header$
11 |
12 |
13 |
14 | ---
15 | -- @section subsection {Algorithms for Drawing Layered Graphs}
16 | --
17 | --
18 |
19 | local _
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/doc/ogdf/layered/BarycenterHeuristic.lua:
--------------------------------------------------------------------------------
1 | -- Copyright 2013 by Till Tantau
2 | --
3 | -- This file may be distributed an/or modified
4 | --
5 | -- 1. under the LaTeX Project Public License and/or
6 | -- 2. under the GNU Public License
7 | --
8 | -- See the file doc/generic/pgf/licenses/LICENSE for more information
9 |
10 | -- @release $Header$
11 |
12 |
13 | local key = require 'pgf.gd.doc'.key
14 | local documentation = require 'pgf.gd.doc'.documentation
15 | local summary = require 'pgf.gd.doc'.summary
16 | local example = require 'pgf.gd.doc'.example
17 |
18 |
19 |
20 | --------------------------------------------------------------------
21 | key "BarycenterHeuristic"
22 | summary "The barycenter heuristic for 2-layer crossing minimization."
23 | --------------------------------------------------------------------
24 |
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/doc/ogdf/layered/DfsAcyclicSubgraph.lua:
--------------------------------------------------------------------------------
1 | -- Copyright 2013 by Till Tantau
2 | --
3 | -- This file may be distributed an/or modified
4 | --
5 | -- 1. under the LaTeX Project Public License and/or
6 | -- 2. under the GNU Public License
7 | --
8 | -- See the file doc/generic/pgf/licenses/LICENSE for more information
9 |
10 | -- @release $Header$
11 |
12 |
13 | local key = require 'pgf.gd.doc'.key
14 | local documentation = require 'pgf.gd.doc'.documentation
15 | local summary = require 'pgf.gd.doc'.summary
16 | local example = require 'pgf.gd.doc'.example
17 |
18 |
19 |
20 | --------------------------------------------------------------------
21 | key "DfsAcyclicSubgraph"
22 | summary "DFS-based algorithm for computing a maximal acyclic subgraph."
23 | documentation
24 | [[
25 | The algorithm simply removes all DFS-backedges and works in linear-time.
26 | ]]
27 | --------------------------------------------------------------------
28 |
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/doc/ogdf/layered/GreedyCycleRemoval.lua:
--------------------------------------------------------------------------------
1 | -- Copyright 2013 by Till Tantau
2 | --
3 | -- This file may be distributed an/or modified
4 | --
5 | -- 1. under the LaTeX Project Public License and/or
6 | -- 2. under the GNU Public License
7 | --
8 | -- See the file doc/generic/pgf/licenses/LICENSE for more information
9 |
10 | -- @release $Header$
11 |
12 |
13 | local key = require 'pgf.gd.doc'.key
14 | local documentation = require 'pgf.gd.doc'.documentation
15 | local summary = require 'pgf.gd.doc'.summary
16 | local example = require 'pgf.gd.doc'.example
17 |
18 |
19 | --------------------------------------------------------------------
20 | key "GreedyCycleRemoval"
21 | summary "Greedy algorithm for computing a maximal acyclic subgraph."
22 | documentation
23 | [[
24 | The algorithm applies a greedy heuristic to compute a maximal
25 | acyclic subgraph and works in linear-time.
26 | ]]
27 | --------------------------------------------------------------------
28 |
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/doc/ogdf/layered/GreedyInsertHeuristic.lua:
--------------------------------------------------------------------------------
1 | -- Copyright 2013 by Till Tantau
2 | --
3 | -- This file may be distributed an/or modified
4 | --
5 | -- 1. under the LaTeX Project Public License and/or
6 | -- 2. under the GNU Public License
7 | --
8 | -- See the file doc/generic/pgf/licenses/LICENSE for more information
9 |
10 | -- @release $Header$
11 |
12 |
13 | local key = require 'pgf.gd.doc'.key
14 | local documentation = require 'pgf.gd.doc'.documentation
15 | local summary = require 'pgf.gd.doc'.summary
16 | local example = require 'pgf.gd.doc'.example
17 |
18 |
19 |
20 | --------------------------------------------------------------------
21 | key "GreedyInsertHeuristic"
22 | summary "The greedy-insert heuristic for 2-layer crossing minimization."
23 | --------------------------------------------------------------------
24 |
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/doc/ogdf/layered/MedianHeuristic.lua:
--------------------------------------------------------------------------------
1 | -- Copyright 2013 by Till Tantau
2 | --
3 | -- This file may be distributed an/or modified
4 | --
5 | -- 1. under the LaTeX Project Public License and/or
6 | -- 2. under the GNU Public License
7 | --
8 | -- See the file doc/generic/pgf/licenses/LICENSE for more information
9 |
10 | -- @release $Header$
11 |
12 |
13 | local key = require 'pgf.gd.doc'.key
14 | local documentation = require 'pgf.gd.doc'.documentation
15 | local summary = require 'pgf.gd.doc'.summary
16 | local example = require 'pgf.gd.doc'.example
17 |
18 |
19 |
20 | --------------------------------------------------------------------
21 | key "MedianHeuristic"
22 | summary "The median heuristic for 2-layer crossing minimization."
23 | --------------------------------------------------------------------
24 |
25 |
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/doc/ogdf/layered/SplitHeuristic.lua:
--------------------------------------------------------------------------------
1 | -- Copyright 2013 by Till Tantau
2 | --
3 | -- This file may be distributed an/or modified
4 | --
5 | -- 1. under the LaTeX Project Public License and/or
6 | -- 2. under the GNU Public License
7 | --
8 | -- See the file doc/generic/pgf/licenses/LICENSE for more information
9 |
10 | -- @release $Header$
11 |
12 |
13 | local key = require 'pgf.gd.doc'.key
14 | local documentation = require 'pgf.gd.doc'.documentation
15 | local summary = require 'pgf.gd.doc'.summary
16 | local example = require 'pgf.gd.doc'.example
17 |
18 |
19 |
20 | --------------------------------------------------------------------
21 | key "SplitHeuristic"
22 | summary "The split heuristic for 2-layer crossing minimization."
23 | --------------------------------------------------------------------
24 |
25 |
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/doc/ogdf/misclayout.lua:
--------------------------------------------------------------------------------
1 | -- Copyright 2013 by Till Tantau
2 | --
3 | -- This file may be distributed an/or modified
4 | --
5 | -- 1. under the LaTeX Project Public License and/or
6 | -- 2. under the GNU Public License
7 | --
8 | -- See the file doc/generic/pgf/licenses/LICENSE for more information
9 |
10 | -- @release $Header$
11 |
12 |
13 |
14 | ---
15 | -- @section subsection {Miscellaneous Algorithms for Graph Drawing}
16 | --
17 | --
18 |
19 | local _
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/doc/ogdf/module/AcyclicSubgraphModule.lua:
--------------------------------------------------------------------------------
1 | -- Copyright 2013 by Till Tantau
2 | --
3 | -- This file may be distributed an/or modified
4 | --
5 | -- 1. under the LaTeX Project Public License and/or
6 | -- 2. under the GNU Public License
7 | --
8 | -- See the file doc/generic/pgf/licenses/LICENSE for more information
9 |
10 | -- @release $Header$
11 |
12 |
13 | ---
14 | -- @section subsubsection {Computing Acyclic Subgraphs Module}
15 | --
16 |
17 | local _
18 |
19 |
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/doc/ogdf/module/HierarchyLayoutModule.lua:
--------------------------------------------------------------------------------
1 | -- Copyright 2013 by Till Tantau
2 | --
3 | -- This file may be distributed an/or modified
4 | --
5 | -- 1. under the LaTeX Project Public License and/or
6 | -- 2. under the GNU Public License
7 | --
8 | -- See the file doc/generic/pgf/licenses/LICENSE for more information
9 |
10 | -- @release $Header$
11 |
12 |
13 | ---
14 | -- @section subsubsection {The Hierarchy Layout Module}
15 | --
16 |
17 | local _
18 |
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/doc/ogdf/module/InitialPlacer.lua:
--------------------------------------------------------------------------------
1 | -- Copyright 2013 by Till Tantau
2 | --
3 | -- This file may be distributed an/or modified
4 | --
5 | -- 1. under the LaTeX Project Public License and/or
6 | -- 2. under the GNU Public License
7 | --
8 | -- See the file doc/generic/pgf/licenses/LICENSE for more information
9 |
10 | -- @release $Header$
11 |
12 |
13 | ---
14 | -- @section subsubsection {The Initial Placer Module}
15 | --
16 |
17 | local _
18 |
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/doc/ogdf/module/MultilevelBuilder.lua:
--------------------------------------------------------------------------------
1 | -- Copyright 2013 by Till Tantau
2 | --
3 | -- This file may be distributed an/or modified
4 | --
5 | -- 1. under the LaTeX Project Public License and/or
6 | -- 2. under the GNU Public License
7 | --
8 | -- See the file doc/generic/pgf/licenses/LICENSE for more information
9 |
10 | -- @release $Header$
11 |
12 |
13 | ---
14 | -- @section subsubsection {The Multilevel Builder Module}
15 | --
16 |
17 | local _
18 |
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/doc/ogdf/module/RankingModule.lua:
--------------------------------------------------------------------------------
1 | -- Copyright 2013 by Till Tantau
2 | --
3 | -- This file may be distributed an/or modified
4 | --
5 | -- 1. under the LaTeX Project Public License and/or
6 | -- 2. under the GNU Public License
7 | --
8 | -- See the file doc/generic/pgf/licenses/LICENSE for more information
9 |
10 | -- @release $Header$
11 |
12 |
13 | ---
14 | -- @section subsubsection {The Ranking Module}
15 | --
16 |
17 | local _
18 |
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/doc/ogdf/module/TwoLayerCrossMin.lua:
--------------------------------------------------------------------------------
1 | -- Copyright 2013 by Till Tantau
2 | --
3 | -- This file may be distributed an/or modified
4 | --
5 | -- 1. under the LaTeX Project Public License and/or
6 | -- 2. under the GNU Public License
7 | --
8 | -- See the file doc/generic/pgf/licenses/LICENSE for more information
9 |
10 | -- @release $Header$
11 |
12 |
13 | ---
14 | -- @section subsubsection {The Two Layer Crossing Minimization Module}
15 | --
16 |
17 | local _
18 |
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/doc/ogdf/planarity.lua:
--------------------------------------------------------------------------------
1 | -- Copyright 2013 by Till Tantau
2 | --
3 | -- This file may be distributed an/or modified
4 | --
5 | -- 1. under the LaTeX Project Public License and/or
6 | -- 2. under the GNU Public License
7 | --
8 | -- See the file doc/generic/pgf/licenses/LICENSE for more information
9 |
10 | -- @release $Header$
11 |
12 |
13 |
14 | ---
15 | -- @section subsection {Algorithms for Drawing Planar Graphs}
16 | --
17 | --
18 |
19 | local _
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/examples.lua:
--------------------------------------------------------------------------------
1 | -- Copyright 2012 by Till Tantau
2 | --
3 | -- This file may be distributed an/or modified
4 | --
5 | -- 1. under the LaTeX Project Public License and/or
6 | -- 2. under the GNU Public License
7 | --
8 | -- See the file doc/generic/pgf/licenses/LICENSE for more information
9 |
10 | --- @release $Header$
11 |
12 |
13 |
14 | -- Imports
15 |
16 | require "pgf"
17 | require "pgf.gd"
18 |
19 |
20 | -- Declare namespace
21 | pgf.gd.examples = {}
22 |
23 |
24 | -- Done
25 |
26 | return pgf.gd.examples
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/examples/ASCIIDisplayer.lua:
--------------------------------------------------------------------------------
1 | local InterfaceToDisplay = require "pgf.gd.interface.InterfaceToDisplay"
2 |
3 | InterfaceToDisplay.bind(require "pgf.gd.examples.BindingToASCII")
4 | require "pgf.gd.layered.library"
5 | require "pgf.gd.force.library"
6 |
7 | local algorithm = io.read():match("%s*graph%s*%[(.-)%]")
8 |
9 | InterfaceToDisplay.pushPhase(algorithm, "main", 1)
10 | InterfaceToDisplay.pushOption("level distance", 6, 2)
11 | InterfaceToDisplay.pushOption("sibling distance", 8, 3)
12 | InterfaceToDisplay.beginGraphDrawingScope(3)
13 | InterfaceToDisplay.pushLayout(4)
14 |
15 | for line in io.lines() do
16 | if line:match("}") then
17 | break
18 | elseif line:find("-") then
19 | local n1, dir, n2 = string.match(line, "^%s*(.-)%s*(-.)%s*(.-)%s*;")
20 | InterfaceToDisplay.createEdge(n1, n2, dir, 4)
21 | else
22 | local n1 = string.match(line, "^%s*(.-)%s*;")
23 | InterfaceToDisplay.createVertex(n1, "rectangle", nil, 4)
24 | end
25 | end
26 |
27 | InterfaceToDisplay.runGraphDrawingAlgorithm()
28 | InterfaceToDisplay.renderGraph()
29 | InterfaceToDisplay.endGraphDrawingScope()
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/examples/example_graph_for_ascii_displayer.txt:
--------------------------------------------------------------------------------
1 | graph [layered layout] {
2 | Alice;
3 | Bob;
4 | Charly;
5 | Dave;
6 | Eve;
7 | Fritz;
8 | George;
9 | Alice -> Bob;
10 | Alice -> Charly;
11 | Charly -> Dave;
12 | Bob -> Dave;
13 | Dave -> Eve;
14 | Eve -> Fritz;
15 | Fritz -> Alice;
16 | George -> Eve;
17 | George -> Fritz;
18 | Alice -> George;
19 | }
20 |
21 |
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/examples/library.lua:
--------------------------------------------------------------------------------
1 | -- Copyright 2012 by Till Tantau
2 | --
3 | -- This file may be distributed an/or modified
4 | --
5 | -- 1. under the LaTeX Project Public License and/or
6 | -- 2. under the GNU Public License
7 | --
8 | -- See the file doc/generic/pgf/licenses/LICENSE for more information
9 |
10 | -- @release $Header$
11 |
12 |
13 |
14 | ---
15 | -- This package presents some examples of how different aspects of the
16 | -- graph drawing engine can be used. In particular, the algorithms of
17 | -- this package are not really meant to be used to layout graphs
18 | -- (although they can be used, in principle); rather you are invited
19 | -- to have a look at their implementation and to adapt them to your needs.
20 | --
21 | -- @library
22 |
23 | local examples
24 |
25 |
26 | -- Load algorithms from:
27 | require "pgf.gd.examples.SimpleDemo"
28 | require "pgf.gd.examples.SimpleEdgeDemo"
29 | require "pgf.gd.examples.SimpleHuffman"
30 |
31 |
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/experimental/evolving/library.lua:
--------------------------------------------------------------------------------
1 | -- Copyright 2016 by Malte Skambath
2 | --
3 | -- This file may be distributed an/or modified
4 | --
5 | -- 1. under the LaTeX Project Public License and/or
6 | -- 2. under the GNU Public License
7 | --
8 | -- See the file doc/generic/pgf/licenses/LICENSE for more information
9 |
10 |
11 |
12 | -- @library
13 |
14 | local evolving -- Library name
15 |
16 | -- Load dependencies:
17 | require "pgf.gd.trees.ChildSpec"
18 | require "pgf.gd.trees.ReingoldTilford1981"
19 | require "pgf.gd.layered"
20 |
21 | -- Load declarations from:
22 | require "pgf.gd.experimental.evolving.TimeSpec"
23 | require "pgf.gd.experimental.evolving.Supergraph"
24 |
25 | -- Load preprocessing/optimization phases from:
26 | require "pgf.gd.experimental.evolving.SupergraphVertexSplitOptimization"
27 | require "pgf.gd.experimental.evolving.GreedyTemporalCycleRemoval"
28 |
29 | -- Load postprocessing/graph animation phases from:
30 | require "pgf.gd.experimental.evolving.GraphAnimationCoordination"
31 |
32 | -- Load algorithms from:
33 | require "pgf.gd.experimental.evolving.Skambath2016"
34 |
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/force.lua:
--------------------------------------------------------------------------------
1 | -- Copyright 2012 by Till Tantau
2 | --
3 | -- This file may be distributed an/or modified
4 | --
5 | -- 1. under the LaTeX Project Public License and/or
6 | -- 2. under the GNU Public License
7 | --
8 | -- See the file doc/generic/pgf/licenses/LICENSE for more information
9 |
10 | --- @release $Header$
11 |
12 |
13 |
14 | -- Imports
15 |
16 | require "pgf"
17 | require "pgf.gd"
18 |
19 |
20 | -- Declare namespace
21 | pgf.gd.force = {}
22 |
23 |
24 | -- Done
25 |
26 | return pgf.gd.force
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/force/SpringLayouts.lua:
--------------------------------------------------------------------------------
1 | -- Copyright 2012 by Till Tantau
2 | --
3 | -- This file may be distributed an/or modified
4 | --
5 | -- 1. under the LaTeX Project Public License and/or
6 | -- 2. under the GNU Public License
7 | --
8 | -- See the file doc/generic/pgf/licenses/LICENSE for more information
9 |
10 | -- @release $Header$
11 |
12 |
13 | -- Imports
14 | local declare = require("pgf.gd.interface.InterfaceToAlgorithms").declare
15 |
16 |
17 | ---
18 | -- @section subsection {Spring Layouts}
19 | --
20 | -- @end
21 |
22 |
23 |
24 | ---
25 |
26 | declare {
27 | key = "spring layout",
28 | use = {
29 | { key = "spring Hu 2006 layout" },
30 | },
31 |
32 | summary = [["
33 | This key selects Hu's 2006 spring layout with appropriate settings
34 | for some parameters.
35 | "]]
36 | }
37 |
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/interface.lua:
--------------------------------------------------------------------------------
1 | -- Copyright 2012 by Till Tantau
2 | --
3 | -- This file may be distributed an/or modified
4 | --
5 | -- 1. under the LaTeX Project Public License and/or
6 | -- 2. under the GNU Public License
7 | --
8 | -- See the file doc/generic/pgf/licenses/LICENSE for more information
9 |
10 | --- @release $Header$
11 |
12 |
13 |
14 | -- Imports
15 |
16 | require "pgf"
17 | require "pgf.gd"
18 |
19 |
20 | -- Declare namespace
21 | pgf.gd.interface = {}
22 |
23 |
24 | -- Done
25 |
26 | return pgf.gd.interface
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/layered/EdgeRoutingGansnerKNV1993.lua:
--------------------------------------------------------------------------------
1 | -- Copyright 2011 by Jannis Pohlmann
2 | --
3 | -- This file may be distributed and/or modified
4 | --
5 | -- 1. under the LaTeX Project Public License and/or
6 | -- 2. under the GNU Public License
7 | --
8 | -- See the file doc/generic/pgf/licenses/LICENSE for more information
9 |
10 | -- @release $Header$
11 |
12 |
13 |
14 | local EdgeRoutingGansnerKNV1993 = {}
15 |
16 |
17 | function EdgeRoutingGansnerKNV1993:run()
18 | end
19 |
20 |
21 | -- done
22 | return EdgeRoutingGansnerKNV1993
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/model.lua:
--------------------------------------------------------------------------------
1 | -- Copyright 2012 by Till Tantau
2 | --
3 | -- This file may be distributed an/or modified
4 | --
5 | -- 1. under the LaTeX Project Public License and/or
6 | -- 2. under the GNU Public License
7 | --
8 | -- See the file doc/generic/pgf/licenses/LICENSE for more information
9 |
10 | --- @release $Header$
11 |
12 |
13 |
14 | -- Imports
15 |
16 | require "pgf"
17 | require "pgf.gd"
18 |
19 |
20 | -- Declare namespace
21 | pgf.gd.model = {}
22 |
23 |
24 | -- Done
25 |
26 | return pgf.gd.model
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/model/library.lua:
--------------------------------------------------------------------------------
1 | -- Copyright 2012 by Till Tantau
2 | --
3 | -- This file may be distributed an/or modified
4 | --
5 | -- 1. under the LaTeX Project Public License and/or
6 | -- 2. under the GNU Public License
7 | --
8 | -- See the file doc/generic/pgf/licenses/LICENSE for more information
9 |
10 | -- @release $Header$
11 |
12 |
13 |
14 | -- Load declarations from:
15 | require "pgf.gd.model.Hyperedge"
16 |
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/ogdf.lua:
--------------------------------------------------------------------------------
1 | -- Copyright 2012 by Till Tantau
2 | --
3 | -- This file may be distributed an/or modified
4 | --
5 | -- 1. under the LaTeX Project Public License and/or
6 | -- 2. under the GNU Public License
7 | --
8 | -- See the file doc/generic/pgf/licenses/LICENSE for more information
9 |
10 | --- @release $Header$
11 |
12 |
13 |
14 | -- Imports
15 |
16 | require "pgf"
17 | require "pgf.gd"
18 |
19 |
20 | -- Declare namespace
21 | pgf.gd.ogdf = {}
22 |
23 |
24 | -- Done
25 |
26 | return pgf.gd.ogdf
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/ogdf/library.lua:
--------------------------------------------------------------------------------
1 | -- Copyright 2012 by Till Tantau
2 | --
3 | -- This file may be distributed an/or modified
4 | --
5 | -- 1. under the LaTeX Project Public License and/or
6 | -- 2. under the GNU Public License
7 | --
8 | -- See the file doc/generic/pgf/licenses/LICENSE for more information
9 |
10 | -- @release $Header$
11 |
12 |
13 | ---
14 | -- The Open Graph Drawing Framework (\textsc{ogdf}) is a large,
15 | -- powerful graph drawing system written in C++. This library enables
16 | -- its use inside \tikzname's graph drawing system by translating
17 | -- back-and-forth between Lua and C++.
18 | --
19 | -- Since C++ code is compiled and not interpreted (like Lua), in order
20 | -- to use the present library, you need a compiled version of the
21 | -- \pgfname\ interface code for the \textsc{ogdf} library
22 | -- (|pgf/gd/ogdf/c/ogdf_script.so|) installed correctly for your particular
23 | -- architecture. This is by no means trivial\dots
24 | --
25 | -- @library
26 |
27 | local ogdf
28 |
29 |
30 | -- Load the C++ code:
31 |
32 | require "pgf_gd_ogdf_c_ogdf_script"
33 |
34 |
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/pedigrees.lua:
--------------------------------------------------------------------------------
1 | -- Copyright 2015 by Till Tantau
2 | --
3 | -- This file may be distributed an/or modified
4 | --
5 | -- 1. under the LaTeX Project Public License and/or
6 | -- 2. under the GNU Public License
7 | --
8 | -- See the file doc/generic/pgf/licenses/LICENSE for more information
9 |
10 | --- @release $Header$
11 |
12 |
13 | local pedigrees = {}
14 |
15 | -- Declare namespace
16 | require("pgf.gd").pedigrees = tree
17 |
18 |
19 | -- Done
20 |
21 | return pedigrees
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/pedigrees/library.lua:
--------------------------------------------------------------------------------
1 | -- Copyright 2015 by Till Tantau
2 | --
3 | -- This file may be distributed an/or modified
4 | --
5 | -- 1. under the LaTeX Project Public License and/or
6 | -- 2. under the GNU Public License
7 | --
8 | -- See the file doc/generic/pgf/licenses/LICENSE for more information
9 |
10 | -- @release $Header$
11 |
12 |
13 |
14 | ---
15 | -- A pedigree depicts parent--mate--sibling relationships between individuals.
16 | --
17 | -- @library
18 |
19 | local pedigrees -- Library name
20 |
21 | require "pgf.gd.pedigrees.Koerner2015"
22 |
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/phylogenetics.lua:
--------------------------------------------------------------------------------
1 | -- Copyright 2012 by Till Tantau
2 | --
3 | -- This file may be distributed an/or modified
4 | --
5 | -- 1. under the LaTeX Project Public License and/or
6 | -- 2. under the GNU Public License
7 | --
8 | -- See the file doc/generic/pgf/licenses/LICENSE for more information
9 |
10 | --- @release $Header$
11 |
12 |
13 | local phylogenetics = {}
14 |
15 | -- Declare namespace
16 | require("pgf.gd").phylogenetics = tree
17 |
18 |
19 | -- Done
20 |
21 | return phylogenetics
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/phylogenetics/Maeusle2012.lua:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DominikPeters/pgf-tikz-html-manual/a5bd402c1a686ef37d723f8bda2d254f2875b012/tex/generic/pgf/graphdrawing/lua/pgf/gd/phylogenetics/Maeusle2012.lua
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/phylogenetics/library.lua:
--------------------------------------------------------------------------------
1 | -- Copyright 2012 by Till Tantau
2 | --
3 | -- This file may be distributed an/or modified
4 | --
5 | -- 1. under the LaTeX Project Public License and/or
6 | -- 2. under the GNU Public License
7 | --
8 | -- See the file doc/generic/pgf/licenses/LICENSE for more information
9 |
10 | -- @release $Header$
11 |
12 |
13 |
14 | ---
15 | -- A phylogenetic tree (or network) depicts the evolutionary history
16 | -- of species or, more generally, so called taxa. The present library
17 | -- includes a number of algorithms for drawing phylogenetic trees.
18 | --
19 | -- @library
20 |
21 | local phylogenetics -- Library name
22 |
23 | -- Main layout:
24 | require "pgf.gd.phylogenetics.PhylogeneticTree"
25 |
26 | -- Phylogenetic tree drawing:
27 | require "pgf.gd.phylogenetics.Maeusle2012"
28 |
29 | -- Phylogenetic tree generation:
30 | require "pgf.gd.phylogenetics.SokalMichener1958"
31 | require "pgf.gd.phylogenetics.BalancedMinimumEvolution"
32 | require "pgf.gd.phylogenetics.BalancedNearestNeighbourInterchange"
33 | require "pgf.gd.phylogenetics.AuthorDefinedPhylogeny"
34 |
35 |
36 |
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/planar.lua:
--------------------------------------------------------------------------------
1 | require "pgf"
2 | require "pgf.gd"
3 |
4 | pgf.gd.planar = {}
5 |
6 | return pgf.gd.planar
7 |
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/planar/List.lua:
--------------------------------------------------------------------------------
1 | local List = {}
2 |
3 | List.__index = List
4 |
5 | function List.new()
6 | local t = {first = 0, last = -1}
7 | setmetatable(t, List)
8 | return t
9 | end
10 |
11 | function List:pushleft(value)
12 | local first = self.first - 1
13 | self.first = first
14 | self[first] = value
15 | end
16 |
17 | function List:pushright(value)
18 | local last = self.last + 1
19 | self.last = last
20 | self[last] = value
21 | end
22 |
23 | function List:popleft()
24 | local first = self.first
25 | if first > self.last then error("List is empty") end
26 | local value = self[first]
27 | self[first] = nil
28 | self.first = first + 1
29 | return value
30 | end
31 |
32 | function List:popright()
33 | local last = self.last
34 | if self.first > last then error("List is empty") end
35 | local value = self[last]
36 | self[last] = nil
37 | self.last = last - 1
38 | return value
39 | end
40 |
41 | function List:size()
42 | return self.last - self.first + 1
43 | end
44 |
45 | function List:empty()
46 | return self.last < self.first
47 | end
48 |
49 | return List
50 |
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/planar/library.lua:
--------------------------------------------------------------------------------
1 | require "pgf.gd.planar.PlanarLayout"
2 | require "pgf.gd.planar.parameters"
3 |
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/routing.lua:
--------------------------------------------------------------------------------
1 | -- Copyright 2012 by Till Tantau
2 | --
3 | -- This file may be distributed an/or modified
4 | --
5 | -- 1. under the LaTeX Project Public License and/or
6 | -- 2. under the GNU Public License
7 | --
8 | -- See the file doc/generic/pgf/licenses/LICENSE for more information
9 |
10 | --- @release $Header$
11 |
12 |
13 |
14 | local routing = {}
15 |
16 | -- Declare namespace
17 | require("pgf.gd").routing = routing
18 |
19 |
20 | -- Done
21 |
22 | return routing
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/routing/library.lua:
--------------------------------------------------------------------------------
1 | -- Copyright 2012 by Till Tantau
2 | --
3 | -- This file may be distributed an/or modified
4 | --
5 | -- 1. under the LaTeX Project Public License and/or
6 | -- 2. under the GNU Public License
7 | --
8 | -- See the file doc/generic/pgf/licenses/LICENSE for more information
9 |
10 | -- @release $Header$
11 |
12 |
13 | -- Imports
14 | local declare = require "pgf.gd.interface.InterfaceToAlgorithms".declare
15 |
16 | ---
17 | -- This library contains algorithms for routing edges through a graph.
18 | --
19 | -- @library
20 |
21 | local routing -- Library name
22 |
23 | -- Load declarations from:
24 |
25 | -- Load algorithms from:
26 | require "pgf.gd.routing.NecklaceRouting"
27 |
28 |
29 | -- General declarations
30 |
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/trees.lua:
--------------------------------------------------------------------------------
1 | -- Copyright 2012 by Till Tantau
2 | --
3 | -- This file may be distributed an/or modified
4 | --
5 | -- 1. under the LaTeX Project Public License and/or
6 | -- 2. under the GNU Public License
7 | --
8 | -- See the file doc/generic/pgf/licenses/LICENSE for more information
9 |
10 | --- @release $Header$
11 |
12 |
13 | local trees = {}
14 |
15 | -- Declare namespace
16 | require("pgf.gd").trees = tree
17 |
18 |
19 | -- Done
20 |
21 | return trees
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/lua/pgf/gd/trees/library.lua:
--------------------------------------------------------------------------------
1 | -- Copyright 2012 by Till Tantau
2 | --
3 | -- This file may be distributed an/or modified
4 | --
5 | -- 1. under the LaTeX Project Public License and/or
6 | -- 2. under the GNU Public License
7 | --
8 | -- See the file doc/generic/pgf/licenses/LICENSE for more information
9 |
10 | -- @release $Header$
11 |
12 |
13 |
14 | ---
15 | -- \tikzname\ offers several different syntax to specify trees (see
16 | -- Sections \ref{section-library-graphs}
17 | -- and~\ref{section-trees}). The job of the graph drawing algorithms from
18 | -- this library is to turn the specification of trees into beautiful
19 | -- layouts.
20 | --
21 | -- We start this section with a description of algorithms, then we have a
22 | -- look at how missing children can be specified and at what happens when
23 | -- the input graph is not a tree.
24 | --
25 | -- @library
26 |
27 | local trees -- Library name
28 |
29 | -- Load declarations from:
30 | require "pgf.gd.trees.ChildSpec"
31 | require "pgf.gd.trees.SpanningTreeComputation"
32 |
33 | -- Load algorithms from:
34 | require "pgf.gd.trees.ReingoldTilford1981"
35 |
36 |
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/tex/experimental/tikzlibrarygraphdrawing.evolving.code.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Malte Skambath
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \usepgflibrary{graphdrawing}
11 |
12 | \usegdlibrary{evolving}
13 |
14 | \newcount\mycount
15 | \tikzgraphsset{
16 | nodes = {supernode/.expanded=\tikzgraphnodename},
17 | when/.code = {\pgfparsetime{#1}\mycount=\pgftimeresult pt\tikzgraphsset{name/.expanded=\the\mycount,snapshot/.expanded=\the\mycount}}
18 | }
19 |
20 |
21 | \endinput
22 |
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/tex/pgflibrarygraphdrawing.circular.code.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2019 by Renée Ahrens, Olof Frahm, Jens Kluttig, Matthias Schulz, Stephan Schuster
2 | % Copyright 2019 by Till Tantau
3 | %
4 | % This file may be distributed and/or modified
5 | %
6 | % 1. under the LaTeX Project Public License and/or
7 | % 2. under the GNU Public License.
8 | %
9 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
10 |
11 | \ProvidesFileRCS{pgflibrarygraphdrawing.circular.code.tex}
12 |
13 |
14 | \usegdlibrary{circular}%
15 |
16 | \endinput
17 |
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/tex/pgflibrarygraphdrawing.examples.code.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2019 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \ProvidesFileRCS{pgflibrarygraphdrawing.examples.code.tex}
11 |
12 | \usepgflibrary{graphdrawing}%
13 |
14 | \usegdlibrary{examples}%
15 |
16 |
17 | \endinput
18 |
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/tex/pgflibrarygraphdrawing.layered.code.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2019 by Jannis Pohlmann
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \ProvidesFileRCS{pgflibrarygraphdrawing.layered.code.tex}
11 |
12 | \usepgflibrary{graphdrawing}%
13 |
14 | \usegdlibrary{layered}%
15 |
16 |
17 | \endinput
18 |
--------------------------------------------------------------------------------
/tex/generic/pgf/graphdrawing/tex/pgflibrarygraphdrawing.trees.code.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2019 by Renée Ahrens, Olof Frahm, Jens Kluttig, Matthias Schulz, Stephan Schuster
2 | % Copyright 2019 by Till Tantau
3 | %
4 | % This file may be distributed and/or modified
5 | %
6 | % 1. under the LaTeX Project Public License and/or
7 | % 2. under the GNU Public License.
8 | %
9 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
10 |
11 | \ProvidesFileRCS{pgflibrarygraphdrawing.trees.code.tex}
12 |
13 |
14 | \usepgflibrary{graphdrawing}%
15 | \usepgflibrary{graphdrawing.layered}%
16 |
17 | \usegdlibrary{trees}%
18 |
19 | \endinput
20 |
--------------------------------------------------------------------------------
/tex/generic/pgf/libraries/pgflibrarysnakes.code.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \ProvidesFileRCS{pgflibrarysnakes.code.tex}
11 |
12 | \pgfwarning{Snakes have been superseded by decorations. Use the decoration libraries instead of the snakes library}%
13 |
14 | \usepgflibrary{decorations.pathmorphing,decorations.pathreplacing,decorations.shapes}%
15 |
16 | \endinput
17 |
--------------------------------------------------------------------------------
/tex/generic/pgf/libraries/shapes/pgflibraryshapes.code.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \ProvidesFileRCS{pgflibraryshapes.code.tex}
11 |
12 | % Only the following are loaded by default and only for historical
13 | % reasons.
14 |
15 | \usepgflibrary{shapes.geometric}%
16 | \usepgflibrary{shapes.misc}%
17 | \usepgflibrary{shapes.symbols}%
18 |
19 | % Further libraries should be included directly
20 |
21 | \endinput
22 |
--------------------------------------------------------------------------------
/tex/generic/pgf/lua/pgf/manual.lua:
--------------------------------------------------------------------------------
1 | -- Copyright 2013 by Till Tantau
2 | --
3 | -- This file may be distributed an/or modified
4 | --
5 | -- 1. under the LaTeX Project Public License and/or
6 | -- 2. under the GNU Public License
7 | --
8 | -- See the file doc/generic/pgf/licenses/LICENSE for more information
9 |
10 | -- @release $Header$
11 |
12 |
13 |
14 | local manual = {}
15 |
16 | require 'pgf'.manual = manual
17 |
18 | return manual
19 |
--------------------------------------------------------------------------------
/tex/generic/pgf/math/pgfmath.code.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2019 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 |
11 | % Guard against reading twice
12 | \ifx\pgfmathloaded\pgfutil@undefined
13 | \let\pgfmathloaded=\relax
14 | \else
15 | \expandafter\endinput
16 | \fi
17 |
18 | % We need keys:
19 | \ifx\pgfkeysloaded\pgfutil@undefined
20 | \input pgfkeys.code.tex
21 | \fi
22 |
23 | \input pgfmathutil.code.tex
24 | \input pgfmathparser.code.tex
25 | \input pgfmathfunctions.code.tex
26 | \input pgfmathfunctions.basic.code.tex
27 | \input pgfmathfunctions.trigonometric.code.tex
28 | \input pgfmathfunctions.random.code.tex
29 | \input pgfmathfunctions.comparison.code.tex
30 | \input pgfmathfunctions.base.code.tex
31 | \input pgfmathfunctions.round.code.tex
32 | \input pgfmathfunctions.misc.code.tex
33 | \input pgfmathfunctions.integerarithmetics.code.tex
34 | \input pgfmathcalc.code.tex
35 | \input pgfmathfloat.code.tex
36 |
37 | \endinput
38 |
--------------------------------------------------------------------------------
/tex/generic/pgf/systemlayer/pgf.cfg:
--------------------------------------------------------------------------------
1 | % Copyright 2019 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \ProvidesFileRCS{pgf.cfg}
11 |
12 | % Copy this file to somewhere local and uncomment one of the following
13 | % if you do not trust/use/like the automatic driver selection
14 | % algorithms:
15 |
16 | % \def\pgfsysdriver{pgfsys-dvi.def}
17 | % \def\pgfsysdriver{pgfsys-dvipdfm.def}
18 | % \def\pgfsysdriver{pgfsys-dvipdfmx.def}
19 | % \def\pgfsysdriver{pgfsys-dvips.def}
20 | % \def\pgfsysdriver{pgfsys-pdftex.def}
21 | % \def\pgfsysdriver{pgfsys-luatex.def}
22 | % \def\pgfsysdriver{pgfsys-tex4ht.def}
23 | % \def\pgfsysdriver{pgfsys-textures.def}
24 | % \def\pgfsysdriver{pgfsys-vtex.def}
25 | % \def\pgfsysdriver{pgfsys-xetex.def}
26 |
27 | % Alternatively, use one of the above commands in your own files.
28 |
29 | \endinput
30 |
31 | %%% Local Variables:
32 | %%% mode: latex
33 | %%% End:
34 |
--------------------------------------------------------------------------------
/tex/latex/pgf/basiclayer/pgfbaseimage.sty:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 |
11 | \RequirePackage{pgfcore}
12 |
13 | \PackageWarning{pgf}{This package is obsolete and no longer needed}
14 |
15 | \endinput
16 |
--------------------------------------------------------------------------------
/tex/latex/pgf/basiclayer/pgfbaselayers.sty:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 |
11 | \RequirePackage{pgfcore}
12 |
13 | \PackageWarning{pgf}{This package is obsolete and no longer needed}
14 |
15 | \endinput
16 |
--------------------------------------------------------------------------------
/tex/latex/pgf/basiclayer/pgfbasematrix.sty:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 |
11 | \RequirePackage{pgfcore}
12 |
13 | \PackageWarning{pgf}{This package is obsolete. Use \string\usepgfmodule{matrix} instead}
14 |
15 | \usepgfmodule{matrix}
16 |
17 | \endinput
18 |
--------------------------------------------------------------------------------
/tex/latex/pgf/basiclayer/pgfbasepatterns.sty:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 |
11 | \RequirePackage{pgfcore}
12 |
13 | \PackageWarning{pgf}{This package is obsolete and no longer needed}
14 |
15 | \endinput
16 |
--------------------------------------------------------------------------------
/tex/latex/pgf/basiclayer/pgfbaseplot.sty:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 |
11 | \RequirePackage{pgfcore}
12 |
13 | \PackageWarning{pgf}{This package is obsolete. Use \string\usepgfmodule{plot} instead}
14 |
15 | \usepgfmodule{plot}
16 |
17 | \endinput
18 |
--------------------------------------------------------------------------------
/tex/latex/pgf/basiclayer/pgfbaseshapes.sty:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 |
11 | \RequirePackage{pgfcore}
12 |
13 | \PackageWarning{pgf}{This package is obsolete. Use \string\usepgfmodule{shapes} instead}
14 |
15 | \usepgfmodule{shapes}
16 |
17 | \endinput
18 |
--------------------------------------------------------------------------------
/tex/latex/pgf/basiclayer/pgfbasesnakes.sty:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 |
11 | \RequirePackage{pgfcore}
12 |
13 | \PackageWarning{pgf}{This package is obsolete. Use \string\usepgfmodule{decorations} instead}
14 |
15 | \usepgfmodule{decorations}
16 |
17 | \endinput
18 |
--------------------------------------------------------------------------------
/tex/latex/pgf/basiclayer/pgfcore.sty:
--------------------------------------------------------------------------------
1 | % Copyright 2019 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \RequirePackage{graphicx}
11 | \RequirePackage{pgfsys}
12 | \RequirePackage{keyval}
13 | \RequirePackage{xcolor}
14 |
15 | \input{pgfcore.code.tex}
16 |
17 | \endinput
18 |
--------------------------------------------------------------------------------
/tex/latex/pgf/compatibility/pgfarrows.sty:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \RequirePackage{pgfrcs}
11 |
12 | \ProvidesPackageRCS{pgfarrows.sty}
13 |
14 | \RequirePackage{pgf}
15 |
16 | \PackageWarning{pgfarrows}{This package is obsolete. pgf.sty will load
17 | arrow management automatically}
18 |
19 | \endinput
20 |
--------------------------------------------------------------------------------
/tex/latex/pgf/compatibility/pgfcomp-version-1-18.sty:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \RequirePackage{pgfrcs}
11 |
12 | \ProvidesPackageRCS{pgfcomp-version-1-18.sty}
13 |
14 | \def\pgfsetshapeinnerxsep#1{\pgfset{inner xsep=#1}}
15 | \def\pgfsetshapeinnerysep#1{\pgfset{inner ysep=#1}}
16 | \def\pgfsetshapeouterxsep#1{\pgfset{outer xsep=#1}}
17 | \def\pgfsetshapeouterysep#1{\pgfset{outer ysep=#1}}
18 | \def\pgfsetshapeminwidth#1{\pgfset{minimum width=#1}}
19 | \def\pgfsetshapeminheight#1{\pgfset{minimum height=#1}}
20 |
21 | \def\pgfshapeinnerxsep{\pgfkeysvalueof{/pgf/inner xsep}}
22 | \def\pgfshapeinnerysep{\pgfkeysvalueof{/pgf/inner ysep}}
23 | \def\pgfshapeouterxsep{\pgfkeysvalueof{/pgf/outer xsep}}
24 | \def\pgfshapeouterysep{\pgfkeysvalueof{/pgf/outer ysep}}
25 | \def\pgfshapeminwidth{\pgfkeysvalueof{/pgf/minimum width}}
26 | \def\pgfshapeminheight{\pgfkeysvalueof{/pgf/minimum height}}
27 |
28 |
29 | \endinput
30 |
--------------------------------------------------------------------------------
/tex/latex/pgf/compatibility/pgflibraryarrows.sty:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \PackageWarning{pgf}{This package is obsolete. Use \noexpand\usetikzlibrary{arrows} instead}
11 |
12 | \RequirePackage{pgfcore}
13 |
14 | \input{pgflibraryarrows.code.tex}
15 |
16 | \endinput
17 |
--------------------------------------------------------------------------------
/tex/latex/pgf/compatibility/pgflibraryautomata.sty:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \PackageWarning{pgf}{This package is obsolete. Use \noexpand\usetikzlibrary{automata} instead}
11 |
12 | \RequirePackage{pgfcore}
13 |
14 | \input{pgflibrarytikzautomata.code.tex}
15 |
16 | \endinput
17 |
--------------------------------------------------------------------------------
/tex/latex/pgf/compatibility/pgflibraryplothandlers.sty:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 |
11 | \PackageWarning{pgf}{This package is obsolete. Use \noexpand\usetikzlibrary{plothandlers} instead}
12 |
13 | \RequirePackage{pgfcore}
14 |
15 | \input{pgflibraryplothandlers.code.tex}
16 |
17 | \endinput
18 |
--------------------------------------------------------------------------------
/tex/latex/pgf/compatibility/pgflibraryplotmarks.sty:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 |
11 | \PackageWarning{pgf}{This package is obsolete. Use \noexpand\usetikzlibrary{plotmarks} instead}
12 |
13 | \RequirePackage{pgfcore}
14 |
15 | \input{pgflibraryplotmarks.code.tex}
16 |
17 | \endinput
18 |
--------------------------------------------------------------------------------
/tex/latex/pgf/compatibility/pgflibraryshapes.sty:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 |
11 |
12 | \PackageWarning{pgf}{This package is obsolete. Use \noexpand\usetikzlibrary{shapes} instead}
13 |
14 | \RequirePackage{pgfcore}
15 |
16 | \input{pgflibraryshapes.code.tex}
17 |
18 | \endinput
19 |
--------------------------------------------------------------------------------
/tex/latex/pgf/compatibility/pgflibrarysnakes.sty:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 |
11 | \PackageWarning{pgf}{This package is obsolete. Use \noexpand\usetikzlibrary{snakes} instead}
12 |
13 | \RequirePackage{pgfcore}
14 |
15 | \input{pgflibrarysnakes.code.tex}
16 |
17 | \endinput
18 |
--------------------------------------------------------------------------------
/tex/latex/pgf/compatibility/pgflibrarytikzbackgrounds.sty:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 |
11 | \PackageWarning{pgf}{This package is obsolete. Use \noexpand\usetikzlibrary{backgrounds} instead}
12 |
13 | \RequirePackage{tikz}
14 |
15 | \input{pgflibrarytikzbackgrounds.code.tex}
16 |
17 | \endinput
18 |
--------------------------------------------------------------------------------
/tex/latex/pgf/compatibility/pgflibrarytikztrees.sty:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 |
11 | \PackageWarning{pgf}{This package is obsolete. Use \noexpand\usetikzlibrary{trees} instead}
12 |
13 | \RequirePackage{tikz}
14 |
15 | \input{tikzlibrarytrees.code.tex}
16 |
17 | \endinput
18 |
--------------------------------------------------------------------------------
/tex/latex/pgf/compatibility/pgfnodes.sty:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \RequirePackage{pgfrcs}
11 |
12 | \ProvidesPackageRCS{pgfnodes.sty}
13 |
14 | \RequirePackage{pgf}
15 |
16 | \PackageWarning{pgfnodes}{This package is obsolete. pgf.sty will load
17 | node management automatically}
18 |
19 | \endinput
20 |
--------------------------------------------------------------------------------
/tex/latex/pgf/compatibility/pgfshade.sty:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \RequirePackage{pgfrcs}
11 |
12 | \ProvidesPackageRCS{pgfshade.sty}
13 |
14 | \RequirePackage{pgf}
15 |
16 | \PackageWarning{pgfshade}{This package is obsolete. pgf.sty will load
17 | shade management automatically}
18 |
19 | \endinput
20 |
--------------------------------------------------------------------------------
/tex/latex/pgf/doc/pgfmanual.sty:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau and Christian Feuersänger
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \ProvidesPackage{pgfmanual}[2009/10/15]
11 |
12 | \input pgfmanual.code.tex
13 |
--------------------------------------------------------------------------------
/tex/latex/pgf/frontendlayer/tikz.sty:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 |
11 | \RequirePackage{pgf,pgffor} % calc and xkeyval have been removed!
12 |
13 | \input{tikz.code.tex}
14 |
15 | \endinput
16 |
--------------------------------------------------------------------------------
/tex/latex/pgf/math/pgfmath.sty:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \RequirePackage{pgfrcs,pgfkeys}
11 | \input{pgfmath.code.tex}
12 |
13 | \endinput
14 |
--------------------------------------------------------------------------------
/tex/latex/pgf/systemlayer/pgfsys.sty:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \RequirePackage{pgfrcs}
11 |
12 | \DeclareOption{dvisvgm}{\def\pgfsysdriver{pgfsys-dvisvgm.def}}
13 |
14 | \ProcessOptions
15 |
16 | \input{pgfsys.code.tex}
17 | \input{pgfsyssoftpath.code.tex}
18 | \input{pgfsysprotocol.code.tex}
19 |
20 | \endinput
21 |
--------------------------------------------------------------------------------
/tex/latex/pgf/utilities/pgfcalendar.sty:
--------------------------------------------------------------------------------
1 | % Copyright 2019 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \RequirePackage{pgfrcs}
11 | \RequirePackage{pgfkeys}
12 |
13 | \input{pgfcalendar.code.tex}
14 |
15 | \endinput
16 |
--------------------------------------------------------------------------------
/tex/latex/pgf/utilities/pgffor.sty:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \RequirePackage{pgfrcs}
11 | \RequirePackage{pgfkeys}
12 | \RequirePackage{pgfmath}
13 |
14 | \input{pgffor.code.tex}
15 |
16 | \endinput
17 |
--------------------------------------------------------------------------------
/tex/latex/pgf/utilities/pgfkeys.sty:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \input{pgfkeys.code.tex}
11 |
12 | \endinput
13 |
--------------------------------------------------------------------------------
/tex/latex/pgf/utilities/pgfparser.sty:
--------------------------------------------------------------------------------
1 | % Copyright 2020 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \RequirePackage{pgfrcs}
11 | \RequirePackage{pgfkeys}
12 |
13 | \input{pgfmoduleparser.code.tex}
14 |
15 | \endinput
16 |
--------------------------------------------------------------------------------
/tex/latex/pgf/utilities/pgfrcs.sty:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \input pgfutil-common.tex
11 | \input pgfutil-latex.def
12 |
13 | \input{pgfrcs.code.tex}
14 |
15 | \endinput
16 |
--------------------------------------------------------------------------------
/tex/plain/pgf/basiclayer/pgf.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 |
11 | \edef\pgfatcode{\the\catcode`\@}
12 | \catcode`\@=11
13 |
14 |
15 | \input pgfrcs.tex
16 | \ProvidesPackageRCS{pgf.tex}
17 |
18 | \input pgfcore.tex
19 |
20 | \usepgfmodule{shapes,plot}
21 |
22 | %\input pgfbasesnakes.tex
23 | %\input pgfbasedecorations.tex
24 | %\input pgfbasematrix.tex
25 |
26 | \catcode`\@=\pgfatcode
27 |
28 | \endinput
29 |
--------------------------------------------------------------------------------
/tex/plain/pgf/basiclayer/pgfbaseimage.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 |
11 | \edef\pgfbaseimageatcode{\the\catcode`\@}
12 | \catcode`\@=11
13 |
14 | \input pgfcore.tex
15 |
16 | \PackageWarning{pgf}{This package is obsolete and no longer needed}
17 |
18 | \catcode`\@=\pgfbaseimageatcode
19 |
20 | \endinput
21 |
--------------------------------------------------------------------------------
/tex/plain/pgf/basiclayer/pgfbaselayers.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 |
11 | \edef\pgfbaselayersatcode{\the\catcode`\@}
12 | \catcode`\@=11
13 |
14 | \input pgfcore.tex
15 |
16 | \PackageWarning{pgf}{This package is obsolete and no longer needed}
17 |
18 | \catcode`\@=\pgfbaselayersatcode
19 |
20 | \endinput
21 |
--------------------------------------------------------------------------------
/tex/plain/pgf/basiclayer/pgfbasematrix.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 |
11 | \edef\pgfbasematrixatcode{\the\catcode`\@}
12 | \catcode`\@=11
13 |
14 | \input pgfcore.tex
15 |
16 | \PackageWarning{pgf}{This package is obsolete. Use \string\usepgfmodule{matrix} instead}
17 |
18 | \usepgfmodule{matrix}
19 |
20 | \catcode`\@=\pgfbasematrixatcode
21 |
22 | \endinput
23 |
--------------------------------------------------------------------------------
/tex/plain/pgf/basiclayer/pgfbasepatterns.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 |
11 | \edef\pgfbasepatternsatcode{\the\catcode`\@}
12 | \catcode`\@=11
13 |
14 | \input pgfcore.tex
15 |
16 | \PackageWarning{pgf}{This package is obsolete and no longer needed}
17 |
18 | \catcode`\@=\pgfbasepatternsatcode
19 |
20 | \endinput
21 |
--------------------------------------------------------------------------------
/tex/plain/pgf/basiclayer/pgfbaseplot.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 |
11 | \edef\pgfbaseplotatcode{\the\catcode`\@}
12 | \catcode`\@=11
13 |
14 | \input pgfcore.tex
15 |
16 | \PackageWarning{pgf}{This package is obsolete. Use \string\usepgfmodule{plot} instead}
17 |
18 | \usepgfmodule{plot}
19 |
20 | \catcode`\@=\pgfbaseplotatcode
21 |
22 | \endinput
23 |
--------------------------------------------------------------------------------
/tex/plain/pgf/basiclayer/pgfbaseshapes.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 |
11 | \edef\pgfbaseshapesatcode{\the\catcode`\@}
12 | \catcode`\@=11
13 |
14 | \input pgfcore.tex
15 |
16 | \PackageWarning{pgf}{This package is obsolete. Use \string\usepgfmodule{shapes} instead}
17 |
18 | \usepgfmodule{shapes}
19 |
20 | \catcode`\@=\pgfbaseshapesatcode
21 |
22 | \endinput
23 |
--------------------------------------------------------------------------------
/tex/plain/pgf/basiclayer/pgfbasesnakes.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 |
11 | \edef\pgfbasesnakesatcode{\the\catcode`\@}
12 | \catcode`\@=11
13 |
14 | \input pgfcore.tex
15 |
16 | \PackageWarning{pgf}{This package is obsolete. Use \string\usepgfmodule{decorations} instead}
17 |
18 | \usepgfmodule{decorations}
19 |
20 | \catcode`\@=\pgfbasesnakesatcode
21 |
22 | \endinput
23 |
--------------------------------------------------------------------------------
/tex/plain/pgf/basiclayer/pgfcore.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 |
11 | \ifx\pgfcoreincluded\undefined
12 | \def\pgfcoreincluded{}
13 |
14 | \edef\pgfcoreatcode{\the\catcode`\@}
15 | \catcode`\@=11
16 |
17 | \input pgfsys.tex
18 | \input pgfcore.code.tex
19 | \catcode`\@=\pgfcoreatcode
20 |
21 | \fi
22 |
23 | \endinput
24 |
--------------------------------------------------------------------------------
/tex/plain/pgf/frontendlayer/tikz.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | % This file is tikz.tex
11 |
12 | \edef\tikzatcode{\the\catcode`\@}
13 | \catcode`\@=11
14 |
15 | %\input xkeyval.tex % no longer used/needed
16 |
17 | \input pgf.tex
18 | \input pgffor.tex
19 | \input tikz.code.tex
20 |
21 | \catcode`\@=\tikzatcode
22 |
23 | \endinput
24 |
--------------------------------------------------------------------------------
/tex/plain/pgf/math/pgfmath.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 |
11 | \ifx\pgfmathincluded\undefined
12 | \def\pgfmathincluded{}
13 |
14 | \edef\pgfmathatcode{\the\catcode`\@}
15 | \catcode`\@=11
16 |
17 | \input pgfsys.tex
18 | \input pgfmath.code.tex
19 | \catcode`\@=\pgfmathatcode
20 |
21 | \fi
22 |
23 | \endinput
24 |
--------------------------------------------------------------------------------
/tex/plain/pgf/systemlayer/pgfsys.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | % This file is pgfsys.tex
11 |
12 | \ifx\pgfsysincluded\undefined
13 | \def\pgfsysincluded{}
14 |
15 | \edef\pgfsysatcode{\the\catcode`\@}
16 | \catcode`\@=11
17 |
18 | \input pgfrcs.tex
19 |
20 | \input pgfsys.code.tex
21 | \input pgfsyssoftpath.code.tex
22 | \input pgfsysprotocol.code.tex
23 |
24 | \catcode`\@=\pgfsysatcode\relax
25 |
26 | \fi
27 |
28 | \endinput
29 |
--------------------------------------------------------------------------------
/tex/plain/pgf/utilities/pgfcalendar.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \edef\pgfcalendaratcode{\the\catcode`\@}
11 | \catcode`\@=11
12 |
13 | \input pgfrcs.tex
14 | \input pgfcalendar.code.tex
15 |
16 | \catcode`\@=\pgfcalendaratcode
17 |
18 | \endinput
19 |
--------------------------------------------------------------------------------
/tex/plain/pgf/utilities/pgffor.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \edef\pgfforatcode{\the\catcode`\@}
11 | \catcode`\@=11
12 |
13 | \input pgfrcs.tex
14 | \input pgfkeys.code.tex
15 | \input pgffor.code.tex
16 |
17 | \catcode`\@=\pgfforatcode
18 |
19 | \endinput
20 |
--------------------------------------------------------------------------------
/tex/plain/pgf/utilities/pgfkeys.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 | \edef\pgfkeysatcode{\the\catcode`\@}
11 | \catcode`\@=11
12 |
13 | \input pgfrcs.tex
14 | \input pgfkeys.code.tex
15 |
16 | \catcode`\@=\pgfkeysatcode
17 |
18 | \endinput
19 |
--------------------------------------------------------------------------------
/tex/plain/pgf/utilities/pgfrcs.tex:
--------------------------------------------------------------------------------
1 | % Copyright 2018 by Till Tantau
2 | %
3 | % This file may be distributed and/or modified
4 | %
5 | % 1. under the LaTeX Project Public License and/or
6 | % 2. under the GNU Public License.
7 | %
8 | % See the file doc/generic/pgf/licenses/LICENSE for more details.
9 |
10 |
11 | \ifx\pgfrcsincluded\undefined
12 | \def\pgfrcsincluded{}
13 |
14 | \edef\pgfrcsatcode{\the\catcode`\@}
15 | \catcode`\@=11
16 |
17 | \input pgfutil-common.tex
18 | \input pgfutil-plain.def
19 |
20 | \input pgfrcs.code.tex
21 |
22 | \catcode`\@=\pgfrcsatcode
23 |
24 | \fi
25 |
26 | \endinput
27 |
--------------------------------------------------------------------------------