This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problems with website 2.3 and the menu


Hello,

I am not able to generate the menu in a small example as it should be. Now I am not sure, if I missed something or not.

I have these files:

./index.xml
./tasten/a.xml
./tasten/b.xml
./c.xml

and wrote this layout.xml

<layout>
<toc page="index.xml" filename="index.html">
<tocentry page="tasten/a.xml" filename="a.html" dir="tasten">
<tocentry page="tasten/b.xml" filename="b.html"/>
</tocentry>
<tocentry page="c.xml" filename="c.html" />
</toc>
</layout>


Using this Makefile:

PROC=xsltproc

include depends.tabular

all: website

autolayout.xml: layout.xml
$(PROC) -o $@ ~/data/website/2.3/xsl/autolayout.xsl $<

depends: autolayout.xml
$(PROC) -o depends.tabular \
~/data/website/2.3/xsl/makefile-dep.xsl $<


%.html: autolayout.xml
$(PROC) -o $@ \
/home/plexus/data/website/2.3/xsl/tabular.xsl \
$(filter-out autolayout.xml,$^)


Generates the pages, but gives warnings

xsltproc -o tasten/b.html \
/home/plexus/data/website/2.3/xsl/tabular.xsl \
tasten/b.xml
warning: failed to load external entity "tasten/autolayout.xml"
Cannot determine TOC for b
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ???????????????



The resulting menu is:

-Seite A
-Seite C


The subentry below "Seite A" is missing, even if I go to page "Seite A"....

What did I miss?

Thanks a lot...

Oliver




--
Oliver Fischer - plexus[AT]snafu[DOT]de
[de] Das Internet stammt aus dem letzten Jahrtausend!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]