From a4b87c73cc1640a2957c128f4e53d03f464f6eb3 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 29 Aug 2015 22:52:14 +0000 Subject: pgf (29aug15) git-svn-id: svn://tug.org/texlive/trunk@38237 c570f23f-e606-0410-a88d-b1316a301751 --- .../text-en/pgfmanual-en-gd-algorithms-in-c.tex | 27 +++------------------- 1 file changed, 3 insertions(+), 24 deletions(-) (limited to 'Master/texmf-dist/doc/generic/pgf/text-en') diff --git a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-gd-algorithms-in-c.tex b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-gd-algorithms-in-c.tex index 85a879f80d6..15a39a75ea8 100644 --- a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-gd-algorithms-in-c.tex +++ b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-gd-algorithms-in-c.tex @@ -16,27 +16,6 @@ \bigskip \ifluatex\else This section of the manual can only be typeset using Lua\TeX.\expandafter\endinput\fi -\def\pgfNEXT{}% -\iffalse - % Try to compile WITH runtime support for the C backend. - \ifgdccodebasic\else - In order to typeset this section, LuaTeX\ must be able to link C code - at runtime and the graph drawing C libraries must be installed on your - system. You will find the sources in the |c| subdirectory of the - installation, where you will also find example Makefiles. - \def\pgfNEXT{\endinput}% - \fi -\else - % OK, we compile WITHOUT actual examples of the C backend. - % This simplifies runtime dependencies considerably because we do - % not need to build the C object files. - % - % Simply ensure that the ~ 3 examples which do not already have - % 'code only' receive 'code only': - \pgfkeys{/codeexample/every codeexample/.append style={code only}}% -\fi -\pgfNEXT - In the present section we have a look at how graph drawing algorithms written in the C programming language (or in C++) can be used in the graph drawing framework. @@ -310,7 +289,7 @@ location and the only contents of this file is then the above Anyway, once we have loaded the shared library we can say: -\begin{codeexample}[] +\begin{codeexample}[code only] \tikz \graph [fast simple demo layout, fast simple demo radius=1.25cm] { a -> b -> c -> d -> e -> a }; \end{codeexample} @@ -530,7 +509,7 @@ or in \tikzname We can now use it: -\begin{codeexample}[] +\begin{codeexample}[code only] \tikz \graph [fast simple demo layout c++, fast simple demo radius c++=1.25cm] { a -> b -> c -> d -> e -> a }; \end{codeexample} @@ -777,7 +756,7 @@ extern "C" int luaopen_pgf_gd_examples_c_SimpleDemoOGDF (struct lua_State *state Yet again, we need to rename the resulting shared library and then say |require| on it. We can now use it: -\begin{codeexample}[] +\begin{codeexample}[code only] \tikz \graph [fast simple demo layout ogdf, my radius ogdf=1cm] { a -> b -> c -> d -> e -> a }; \end{codeexample} -- cgit v1.2.3