OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: DOCBOOK-APPS: 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!



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC