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 + "\\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"