From cfba13ba203d18db23ff758ddbb4bc4d42f9c9a7 Mon Sep 17 00:00:00 2001 From: ng0 Date: Tue, 5 Sep 2017 12:06:21 +0000 Subject: [PATCH] doc: gnunet-c-tutorial: include testbed_test.c --- doc/gnunet-c-tutorial.texi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/gnunet-c-tutorial.texi b/doc/gnunet-c-tutorial.texi index 12348801a..2973dd779 100644 --- a/doc/gnunet-c-tutorial.texi +++ b/doc/gnunet-c-tutorial.texi @@ -457,8 +457,9 @@ found in the testbed default configuration file @file{src/testbed/testbed.conf}. With the testbed API, a sample test case can be structured as follows: @c* Is there a way to pick a more readable font for this include? -\lstset{language=C} -\lstinputlisting{testbed_test.c} +@example +@verbatiminclude testbed_test.c +@end example The source code for the above listing can be found at @uref{https://gnunet.org/git/gnunet.git/tree/doc/testbed_test.c} or in the @file{doc/} folder of your repository check-out. -- 2.25.1