diff options
author | Pavel Tvrdik <pawel.tvrdik@gmail.com> | 2016-09-29 14:05:25 +0200 |
---|---|---|
committer | Pavel Tvrdik <pawel.tvrdik@gmail.com> | 2016-10-11 17:41:33 +0200 |
commit | a2df7c0303d235f4122969243e9df152a8a16dcb (patch) | |
tree | c77a6e9ceb7fc0bba544a22a4baf3760d5151cfe | |
parent | 9faf72c8cc9a099b41c90ee1822e8bca22fd0596 (diff) |
Doc: Generate clickable PDF
-rw-r--r-- | doc/Makefile | 6 | ||||
-rw-r--r-- | doc/sbase/dist/birddoc/latex2e/mapping | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/doc/Makefile b/doc/Makefile index f88c3205..70b73943 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -13,7 +13,7 @@ endif docs: progdocs userdocs progdocs: prog.html prog.ps -userdocs: bird.html bird.ps +userdocs: bird.html bird.pdf prog.sgml: $(srcdir)/tools/progdoc $(srcdir_abs) @@ -28,6 +28,10 @@ prog.sgml: %.ps: %.dvi dvips -D600 -ta4 -o $@ $< +%.pdf: %.tex + pdflatex $< + pdflatex $< + %.tex: %.sgml ./sgml2latex --output=tex $< diff --git a/doc/sbase/dist/birddoc/latex2e/mapping b/doc/sbase/dist/birddoc/latex2e/mapping index 97ca1753..bd11b2d0 100644 --- a/doc/sbase/dist/birddoc/latex2e/mapping +++ b/doc/sbase/dist/birddoc/latex2e/mapping @@ -3,6 +3,7 @@ % The \relax is there to avoid sgml2latex rewriting the class <book> + "\\relax\\documentclass\[a4paper,10pt,openany\]{book}\n" + "\\usepackage\[colorlinks=true,linkcolor=blue,pdftitle={BIRD User's Guide}\]{hyperref}\n" "\\usepackage{birddoc}\n" "\\usepackage{qwertz}\n" "\\usepackage{url}\n" |