From ca63ae57c0f25def3f7dcf3264d91f93285e739b Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 7 Dec 2004 16:54:57 +0000 Subject: [PATCH] - Fix manpage index file (#2109) - Fix plucker (Palm Documentation Format) output (This used to be commit 8a4ab0776b5905d792116706a0de4ffbbb315f4b) --- docs/Makefile.in | 8 +-- docs/Samba-Developers-Guide/index.xml | 2 +- docs/Samba-Guide/index.xml | 2 +- docs/xslt/docbook2pearson.xsl | 104 ++++++++++++++++++++++------------ 4 files changed, 75 insertions(+), 41 deletions(-) diff --git a/docs/Makefile.in b/docs/Makefile.in index dc3a8dd0da5..f19fa05d810 100644 --- a/docs/Makefile.in +++ b/docs/Makefile.in @@ -54,7 +54,7 @@ MANPAGES = $(wildcard $(MANPAGEDIR)/*.?.xml) # Lists of files to process LATEX_FIGURES = xslt/figures/caution.pdf xslt/figures/important.pdf xslt/figures/note.pdf xslt/figures/tip.pdf xslt/figures/warning.pdf -MANPAGES_PLUCKER = $(patsubst $(MANPAGEDIR)/%.xml,$(PLUCKERDIR)/%.pdb,$(MANPAGES_SOURCES)) +MANPAGES_PLUCKER = $(patsubst $(MANPAGEDIR)/%.xml,$(PLUCKERDIR)/%.pdb,$(MANPAGES)) help: @echo "Supported make targets:" @@ -104,10 +104,10 @@ $(DOCBOOKDIR)/%.xml: $(MANPAGEDIR)/%.xml xslt/expand-sambadoc.xsl mkdir -p $(@D) $(XSLTPROC) --xinclude --stringparam latex.imagebasedir "$*/" --stringparam noreference 1 --output $@ xslt/expand-sambadoc.xsl $< -$(DOCBOOKDIR)/manpages.xml: $(MANPAGES_SOURCES) xslt/manpage-summary.xsl +$(DOCBOOKDIR)/manpages.xml: $(MANPAGES) xslt/manpage-summary.xsl mkdir -p $(@D) echo "
" > $@ - for I in $(MANPAGES_SOURCES); do $(XSLTPROC) xslt/manpage-summary.xsl $$I >> $@; done + for I in $(MANPAGES); do $(XSLTPROC) xslt/manpage-summary.xsl $$I >> $@; done echo "
" >> $@ # HTML docs @@ -209,7 +209,7 @@ $(HTMLHELPDIR)/%: $(DOCBOOKDIR)/%.xml $(XSLTPROC) --stringparam htmlhelp.chm $*.chm --stringparam manifest.in.base.dir "$@/" --stringparam base.dir "$@/" http://docbook.sourceforge.net/release/xsl/current/htmlhelp/htmlhelp.xsl $< # Plucker docs -$(PLUCKERDIR)/%.pdb: $(HTMLDIR)/%.html $(PLUCKERDIR) +$(PLUCKERDIR)/%.pdb: $(HTMLDIR)/%.html mkdir -p $(@D) $(PLUCKERBUILD) -v -M1 --stayonhost --noimages --zlib-compression -H file:$< -f $* -p $(PLUCKERDIR) diff --git a/docs/Samba-Developers-Guide/index.xml b/docs/Samba-Developers-Guide/index.xml index dfbe726a131..82baa05cc5c 100644 --- a/docs/Samba-Developers-Guide/index.xml +++ b/docs/Samba-Developers-Guide/index.xml @@ -1,5 +1,5 @@ - %globalentities; ]> diff --git a/docs/Samba-Guide/index.xml b/docs/Samba-Guide/index.xml index 5afff71f26d..132af17ce5e 100644 --- a/docs/Samba-Guide/index.xml +++ b/docs/Samba-Guide/index.xml @@ -1,5 +1,5 @@ - diff --git a/docs/xslt/docbook2pearson.xsl b/docs/xslt/docbook2pearson.xsl index d276d319915..4a4158fa407 100644 --- a/docs/xslt/docbook2pearson.xsl +++ b/docs/xslt/docbook2pearson.xsl @@ -53,7 +53,7 @@ - + href="pearson.css" type="text/css" @@ -85,24 +85,30 @@ - - - + + + + + - - - - - - + + + + + + + + + + + + - - - + + + - + XXX insert index here @@ -154,16 +160,54 @@ <xsl:apply-templates/> + + + + + + + + Removing from p: + + + + + + + + - -

- -
+ + + +

+ + + + +

+
+
- - - + + + + + + + + Followed by : + + + + Done Followed by : + + + + + + + @@ -819,18 +863,8 @@ match="quote"> - - - , - - - - - , - - - + ()0 -- 2.11.4.GIT