summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-shadings.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-shadings.tex')
-rw-r--r--Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-shadings.tex10
1 files changed, 10 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-shadings.tex b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-shadings.tex
index 5d3ebbc995b..5666c1a07d4 100644
--- a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-shadings.tex
+++ b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-shadings.tex
@@ -171,17 +171,27 @@ this library is not used.
%
\end{shading}
+\makeatletter
\begin{shading}{Mandelbrot set}
This shading is just for fun. It fills the path with a zoomable Mandelbrot
set. Note that this is \emph{not} a bitmap graphic. Rather, the Mandelbrot
set is \emph{computed by the \textsc{pdf} renderer} and can be zoomed
arbitrarily (give it a try, if you have a fast computer).
%
+\pgfutil@ifluatex
\begin{codeexample}[]
\tikz \shade[shading=Mandelbrot set] (0,0) rectangle (2,2);
\end{codeexample}
+\else
+% dvips causes very ugly error messages when converting this to PDF...
+[Compilation disabled. Please use the lua manual.]
+\begin{codeexample}[code only]
+\tikz \shade[shading=Mandelbrot set] (0,0) rectangle (2,2);
+\end{codeexample}
+\fi
%
\end{shading}
+\makeatother
\begin{shading}{radial}
This always-defined shading fills the path with a gradual sweep from a