From: Philippe Chauvat Date: Fri, 14 Dec 2012 16:47:22 +0000 (+0100) Subject: latex2html version 4 mandatory X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=05c8eefd30deb637d0251ed56dc593b8fcc968fe;p=bacula%2Fdocs latex2html version 4 mandatory --- diff --git a/docs/manuals/en/console/web.makefile b/docs/manuals/en/console/web.makefile index 7ba4a61d..5ab8a5f8 100644 --- a/docs/manuals/en/console/web.makefile +++ b/docs/manuals/en/console/web.makefile @@ -18,7 +18,14 @@ BSYSCOMPILERFILE=bsys-compiler-mode.tex PDFCOMPILERFILE=$(MANUALSDIR)/bsys-pdflatex-mode.tex TEXCOMPILERFILE=$(MANUALSDIR)/bsys-latex-mode.tex WEBCOMPILERFILE=$(MANUALSDIR)/bsys-web-mode.tex +# +# Web documentation generation WWWDIR=../www-$(DOC) +HTML_TITLE="Console and Operators Guide" +HTML_DEPTH=3 +HTML_TITLES=6 +HTML_VERSION=4.0 +LATEX_TO_HTML=latex2html -split ${HTML_DEPTH} -local_icons -t ${HTML_TITLE} -long_titles ${HTML_TITLES} -toc_stars -contents_in_nav -init_file latex2html-init.pl -no_antialias -no_antialias_text -white -notransparent ${DOC} -html_version ${HTML_VERSION} >tex.out 2>&1 .SUFFIXES: .tex .html .PHONY: @@ -81,10 +88,7 @@ web: commonfiles epsimages pngimages @rm -f next.eps next.png prev.eps prev.png up.eps up.png @rm -f ${DOC}/xp-*.png @rm -f ${DOC}/next.eps ${DOC}/next.png ${DOC}/prev.eps ${DOC}/prev.png ${DOC}/up.eps ${DOC}/up.png - latex2html -split 3 -local_icons -t "Console and Operators Guide" -long_titles 4 \ - -toc_stars -contents_in_nav -init_file latex2html-init.pl \ - -no_antialias -no_antialias_text \ - -white -notransparent ${DOC} >tex.out 2>&1 + @${LATEX_TO_HTML} @(if [ -f imagename_translations ] ; then \ ./translate_images.pl --from_meaningful_names $(MAINDOC).html; \ fi) diff --git a/docs/manuals/en/developers/web.makefile b/docs/manuals/en/developers/web.makefile index 274809e1..72f93c98 100644 --- a/docs/manuals/en/developers/web.makefile +++ b/docs/manuals/en/developers/web.makefile @@ -16,7 +16,14 @@ BSYSCOMPILERFILE=bsys-compiler-mode.tex PDFCOMPILERFILE=$(MANUALSDIR)/bsys-pdflatex-mode.tex TEXCOMPILERFILE=$(MANUALSDIR)/bsys-latex-mode.tex WEBCOMPILERFILE=$(MANUALSDIR)/bsys-web-mode.tex +# +# Web documentation generation WWWDIR=../www-$(DOC) +HTML_TITLE="Developer's Guide" +HTML_DEPTH=3 +HTML_TITLES=6 +HTML_VERSION=4.0 +LATEX_TO_HTML=latex2html -split ${HTML_DEPTH} -local_icons -t ${HTML_TITLE} -long_titles ${HTML_TITLES} -toc_stars -contents_in_nav -init_file latex2html-init.pl -no_antialias -no_antialias_text -white -notransparent ${DOC} -html_version ${HTML_VERSION} >tex.out 2>&1 .SUFFIXES: .tex .html .PHONY: @@ -80,10 +87,7 @@ web: commonfiles epsimages pngimages @rm -f next.eps next.png prev.eps prev.png up.eps up.png @rm -f ${DOC}/xp-*.png @rm -f ${DOC}/next.eps ${DOC}/next.png ${DOC}/prev.eps ${DOC}/prev.png ${DOC}/up.eps ${DOC}/up.png - latex2html -split 3 -local_icons -t "Developer's Guide" -long_titles 4 \ - -toc_stars -contents_in_nav -init_file latex2html-init.pl \ - -no_antialias -no_antialias_text \ - -white -notransparent ${DOC} >tex.out 2>&1 + @${LATEX_TO_HTML} @(if [ -f imagename_translations ] ; then \ ./translate_images.pl --from_meaningful_names $(MAINDOC).html; \ fi) diff --git a/docs/manuals/en/main/web.makefile b/docs/manuals/en/main/web.makefile index e617e3d8..372ffefc 100644 --- a/docs/manuals/en/main/web.makefile +++ b/docs/manuals/en/main/web.makefile @@ -1,7 +1,7 @@ MANUALSDIR=../.. IMAGES=$(MANUALSDIR)/../images DOC=main -MAINDOC=Bacula_Main_Reference.html +MAINDOC=Main_Reference.html BSYSMANUALDIR=$(MANUALSDIR)/../bsysmanual COVERSDIR=$(MANUALSDIR)/../covers PDFCOVERSDIR=$(COVERSDIR)/pdf @@ -16,7 +16,14 @@ BSYSCOMPILERFILE=bsys-compiler-mode.tex PDFCOMPILERFILE=$(MANUALSDIR)/bsys-pdflatex-mode.tex TEXCOMPILERFILE=$(MANUALSDIR)/bsys-latex-mode.tex WEBCOMPILERFILE=$(MANUALSDIR)/bsys-web-mode.tex +# +# Web documentation generation WWWDIR=../www-$(DOC) +HTML_TITLE="Main Reference" +HTML_DEPTH=3 +HTML_TITLES=6 +HTML_VERSION=4.0 +LATEX_TO_HTML=latex2html -split ${HTML_DEPTH} -local_icons -t ${HTML_TITLE} -long_titles ${HTML_TITLES} -toc_stars -contents_in_nav -init_file latex2html-init.pl -no_antialias -no_antialias_text -white -notransparent ${DOC} -html_version ${HTML_VERSION} >tex.out 2>&1 .SUFFIXES: .tex .html .PHONY: @@ -79,10 +86,7 @@ web: commonfiles epsimages pngimages @rm -f next.eps next.png prev.eps prev.png up.eps up.png @rm -f ${DOC}/xp-*.png @rm -f ${DOC}/next.eps ${DOC}/next.png ${DOC}/prev.eps ${DOC}/prev.png ${DOC}/up.eps ${DOC}/up.png - latex2html -split 3 -local_icons -t "Bacula Main Reference" -long_titles 6 \ - -toc_stars -contents_in_nav -init_file latex2html-init.pl \ - -no_antialias -no_antialias_text \ - -white -notransparent ${DOC} >tex.out 2>&1 + @${LATEX_TO_HTML} @(if [ -f imagename_translations ] ; then \ ./translate_images.pl --from_meaningful_names $(MAINDOC).html; \ fi) diff --git a/docs/manuals/en/misc/web.makefile b/docs/manuals/en/misc/web.makefile index 63d939dd..998c58a4 100644 --- a/docs/manuals/en/misc/web.makefile +++ b/docs/manuals/en/misc/web.makefile @@ -1,7 +1,7 @@ MANUALSDIR=../.. IMAGES=$(MANUALSDIR)/../images DOC=misc -MAINDOC=Bacula_Miscellaneous_Guide.html +MAINDOC=Miscellaneous_Guide.html BSYSMANUALDIR=$(MANUALSDIR)/../bsysmanual COVERSDIR=$(MANUALSDIR)/../covers PDFCOVERSDIR=$(COVERSDIR)/pdf @@ -15,7 +15,15 @@ BSYSCOMPILERFILE=bsys-compiler-mode.tex PDFCOMPILERFILE=$(MANUALSDIR)/bsys-pdflatex-mode.tex TEXCOMPILERFILE=$(MANUALSDIR)/bsys-latex-mode.tex WEBCOMPILERFILE=$(MANUALSDIR)/bsys-web-mode.tex +# +# Web documentation generation WWWDIR=../www-$(DOC) +HTML_TITLE="Miscellaneous Guide" +HTML_DEPTH=3 +HTML_TITLES=6 +HTML_VERSION=4.0 +LATEX_TO_HTML=latex2html -split ${HTML_DEPTH} -local_icons -t ${HTML_TITLE} -long_titles ${HTML_TITLES} -toc_stars -contents_in_nav -init_file latex2html-init.pl -no_antialias -no_antialias_text -white -notransparent ${DOC} -html_version ${HTML_VERSION} >tex.out 2>&1 + .SUFFIXES: .tex .html .PHONY: @@ -79,10 +87,7 @@ web: commonfiles epsimages pngimages @rm -f next.eps next.png prev.eps prev.png up.eps up.png @rm -f ${DOC}/xp-*.png @rm -f ${DOC}/next.eps ${DOC}/next.png ${DOC}/prev.eps ${DOC}/prev.png ${DOC}/up.eps ${DOC}/up.png - latex2html -split 3 -local_icons -t "Bacula Miscellaneous Guide" -long_titles 4 \ - -toc_stars -contents_in_nav -init_file latex2html-init.pl \ - -no_antialias -no_antialias_text \ - -white -notransparent ${DOC} >tex.out 2>&1 + @${LATEX_TO_HTML} @(if [ -f imagename_translations ] ; then \ ./translate_images.pl --from_meaningful_names $(MAINDOC).html; \ fi) diff --git a/docs/manuals/en/problems/web.makefile b/docs/manuals/en/problems/web.makefile index 1c3864b8..991c014c 100644 --- a/docs/manuals/en/problems/web.makefile +++ b/docs/manuals/en/problems/web.makefile @@ -1,7 +1,7 @@ MANUALSDIR=../.. IMAGES=$(MANUALSDIR)/../images DOC=problems -MAINDOC=Bacula_Problem_Resolution_G.html +MAINDOC=Problem_Resolution_Guide.html BSYSMANUALDIR=$(MANUALSDIR)/../bsysmanual COVERSDIR=$(MANUALSDIR)/../covers PDFCOVERSDIR=$(COVERSDIR)/pdf @@ -15,7 +15,14 @@ BSYSCOMPILERFILE=bsys-compiler-mode.tex PDFCOMPILERFILE=$(MANUALSDIR)/bsys-pdflatex-mode.tex TEXCOMPILERFILE=$(MANUALSDIR)/bsys-latex-mode.tex WEBCOMPILERFILE=$(MANUALSDIR)/bsys-web-mode.tex +# +# Web documentation generation WWWDIR=../www-$(DOC) +HTML_TITLE="Problem Resolution Guide" +HTML_DEPTH=3 +HTML_TITLES=6 +HTML_VERSION=4.0 +LATEX_TO_HTML=latex2html -split ${HTML_DEPTH} -local_icons -t ${HTML_TITLE} -long_titles ${HTML_TITLES} -toc_stars -contents_in_nav -init_file latex2html-init.pl -no_antialias -no_antialias_text -white -notransparent ${DOC} -html_version ${HTML_VERSION} >tex.out 2>&1 .SUFFIXES: .tex .html .PHONY: @@ -78,10 +85,7 @@ web: commonfiles epsimages pngimages @rm -f next.eps next.png prev.eps prev.png up.eps up.png @rm -f ${DOC}/xp-*.png @rm -f ${DOC}/next.eps ${DOC}/next.png ${DOC}/prev.eps ${DOC}/prev.png ${DOC}/up.eps ${DOC}/up.png - latex2html -split 3 -local_icons -t "Bacula Problem Resolution Guide" -long_titles 4 \ - -toc_stars -contents_in_nav -init_file latex2html-init.pl \ - -no_antialias -no_antialias_text \ - -white -notransparent ${DOC} >tex.out 2>&1 + @${LATEX_TO_HTML} @(if [ -f imagename_translations ] ; then \ ./translate_images.pl --from_meaningful_names $(MAINDOC).html; \ fi) diff --git a/docs/manuals/en/utility/web.makefile b/docs/manuals/en/utility/web.makefile index f625a6c4..72086814 100644 --- a/docs/manuals/en/utility/web.makefile +++ b/docs/manuals/en/utility/web.makefile @@ -1,7 +1,7 @@ MANUALSDIR=../.. IMAGES=$(MANUALSDIR)/../images DOC=utility -MAINDOC=Bacula_Utility_Programs.html +MAINDOC=Utility_Programs.html BSYSMANUALDIR=$(MANUALSDIR)/../bsysmanual COVERSDIR=$(MANUALSDIR)/../covers PDFCOVERSDIR=$(COVERSDIR)/pdf @@ -15,7 +15,14 @@ BSYSCOMPILERFILE=bsys-compiler-mode.tex PDFCOMPILERFILE=$(MANUALSDIR)/bsys-pdflatex-mode.tex TEXCOMPILERFILE=$(MANUALSDIR)/bsys-latex-mode.tex WEBCOMPILERFILE=$(MANUALSDIR)/bsys-web-mode.tex +# +# Web documentation generation WWWDIR=../www-$(DOC) +HTML_TITLE="Utility Programs" +HTML_DEPTH=3 +HTML_TITLES=6 +HTML_VERSION=4.0 +LATEX_TO_HTML=latex2html -split ${HTML_DEPTH} -local_icons -t ${HTML_TITLE} -long_titles ${HTML_TITLES} -toc_stars -contents_in_nav -init_file latex2html-init.pl -no_antialias -no_antialias_text -white -notransparent ${DOC} -html_version ${HTML_VERSION} >tex.out 2>&1 .SUFFIXES: .tex .html .PHONY: @@ -78,10 +85,7 @@ web: commonfiles epsimages pngimages @rm -f next.eps next.png prev.eps prev.png up.eps up.png @rm -f ${DOC}/xp-*.png @rm -f ${DOC}/next.eps ${DOC}/next.png ${DOC}/prev.eps ${DOC}/prev.png ${DOC}/up.eps ${DOC}/up.png - latex2html -split 3 -local_icons -t "Bacula Utility Programs" -long_titles 4 \ - -toc_stars -contents_in_nav -init_file latex2html-init.pl \ - -no_antialias -no_antialias_text \ - -white -notransparent ${DOC} >tex.out 2>&1 + @${LATEX_TO_HTML} @(if [ -f imagename_translations ] ; then \ ./translate_images.pl --from_meaningful_names $(MAINDOC).html; \ fi)