From 4db25c53116277c38ba1a916b88b8552ac90ebad Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 1 Feb 2018 15:08:33 +0100 Subject: fix doc build, include syntax highlighting --- doc/Makefile.am | 9 ++++----- doc/manual.texi | 4 +++- doc/syntax.texi | 44 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 51 insertions(+), 6 deletions(-) create mode 100644 doc/syntax.texi (limited to 'doc') diff --git a/doc/Makefile.am b/doc/Makefile.am index 94c0ef44..a755143e 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,13 +1,12 @@ all: manual.pdf manual.html manual.pdf: arch.pdf manual.texi - texi2pdf manual.texi -manual.html: arch.jpg manual.texi - makeinfo --html --no-split manual.texi +manual.html: arch.png manual.texi + arch.pdf: arch.dot dot -Tpdf arch.dot > arch.pdf -arch.jpg: arch.dot - dot -Tjpg arch.dot > arch.jpg +arch.png: arch.dot + dot -Tpng arch.dot > arch.png AM_MAKEINFOHTMLFLAGS = --no-split --css-ref=docstyle.css --css-ref=brown-paper.css diff --git a/doc/manual.texi b/doc/manual.texi index 861951d9..d8eeb0ec 100644 --- a/doc/manual.texi +++ b/doc/manual.texi @@ -4,6 +4,8 @@ @include version.texi @settitle The GNU Taler merchant backend operator tutorial @value{VERSION} +@include syntax.texi + @c Define a new index for options. @defcodeindex op @c Combine everything into one index (arbitrarily chosen to be the @@ -159,7 +161,7 @@ The Taler software stack for a merchant consists of four main components: The following image illustrates the various interactions of these key components: -@center @image{arch, 3in, 4in} +@center @image{arch, 3in} @cindex RESTful Basically, the backend provides the cryptographic protocol support, diff --git a/doc/syntax.texi b/doc/syntax.texi new file mode 100644 index 00000000..8aca39d8 --- /dev/null +++ b/doc/syntax.texi @@ -0,0 +1,44 @@ +@c Syntax highlighting for texinfo's HTML output + +@html + + +@end html + +@macro setsyntax{lang} +@html + +@end html +@end macro + +@macro setsyntaxnoauto{} +@html + +@end html +@end macro -- cgit v1.2.3