aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-06-03 07:59:51 +0200
committerLoïc Hoguin <[email protected]>2018-06-03 07:59:51 +0200
commit9de9a41739c379de036873d2a5c777a93b8741bc (patch)
treee592a7b823533c3709ea46470eb991b01e16f071 /doc
parent5b810c924da242632a04a2c44772cb892aa1b7c0 (diff)
downloadgun-9de9a41739c379de036873d2a5c777a93b8741bc.tar.gz
gun-9de9a41739c379de036873d2a5c777a93b8741bc.tar.bz2
gun-9de9a41739c379de036873d2a5c777a93b8741bc.zip
Add gun.sty to the user guide
Diffstat (limited to 'doc')
-rw-r--r--doc/src/guide/book.asciidoc1
-rw-r--r--doc/src/guide/gun.sty8
2 files changed, 9 insertions, 0 deletions
diff --git a/doc/src/guide/book.asciidoc b/doc/src/guide/book.asciidoc
index 7e6a441..f9508bc 100644
--- a/doc/src/guide/book.asciidoc
+++ b/doc/src/guide/book.asciidoc
@@ -1,4 +1,5 @@
// a2x: --dblatex-opts "-P latex.output.revhistory=0 -P doc.publisher.show=0 -P index.numbered=0"
+// a2x: --dblatex-opts "-s gun"
// a2x: -d book --attribute tabsize=4
= Gun User Guide
diff --git a/doc/src/guide/gun.sty b/doc/src/guide/gun.sty
new file mode 100644
index 0000000..d5e0d3b
--- /dev/null
+++ b/doc/src/guide/gun.sty
@@ -0,0 +1,8 @@
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{asciidoc-dblatex}[2012/10/24 AsciiDoc DocBook Style]
+
+%% Just use the original package and pass the options.
+\RequirePackageWithOptions{docbook}
+
+%% Define an alias for make snippets to be compatible with source-highlighter.
+\lstalias{makefile}{make}