Re: TOC in FAQ

2005-05-27 Thread David Crossley
The Web Maestro wrote:
 David Crossley wrote:
 David Crossley wrote:
 
 At one stage you were using a project-specific sitemap
 for your FOP website, IIRC. If you are still, i wonder
 if that has an extraneous match that is interfering with
 the faq pipeline.
 
 I don't believe we're using any special project-specific items except  
 for the compliance2*.xsl files in ViewCVS here:
 
 http://cvs.apache.org/viewcvs.cgi/xml-fop/src/documentation/resources/ 
 stylesheets/
 
 As for the fop-specific sitemap.xmap file, I believe it's been replaced  
 with the standard version from the Forrest distribution. IIRC, that's  
 one of the 'tricks' we took to making xml-fop work again.

Are you sure that you don't use a sitemap.xmap file? I remember long
discussions with you late last year on our dev list:
Subject: xml-fop Build Failed. It involved using special sitemap
matches to handle your special compliance2html document. IIRC you
had it in your local working copy, but it wasn't in the FOP CVS.
It would probably be at src/documentation/sitemap.xmap

If you don't have a project sitemap then great, we can rule that out
as a possible source of your FAQ ToC problem, and close FOR-507.

 FWIW, I just created a new Task/Issue in CocoonDev issues ([#FOR-507]  
 xml-fop *.xmap files). I've attached my $FORREST_HOME/context/*.xmap  
 files to the issue.

No that doesn't help. There is no difference between those and
the default forrest 0.6 core sitemaps. It was good to know that they
haven't been changed, but i wasn't actually talking about the
core sitemaps anyway, i was referring to a project-specific sitemap
(discussed above).

--David

 I had a colleague try, and the TOC doesn't generate for him either...
 
 Regards,
 
 Web Maestro Clay
 -- 
 [EMAIL PROTECTED] - http://homepage.mac.com/webmaestro/
 My religion is simple. My religion is kindness.
 - HH The 14th Dalai Lama of Tibet


Re: TOC in FAQ

2005-05-25 Thread David Crossley
The Web Maestro wrote:
 I'm having a problem generating the table of Contents for our FAQs...
[snip]
 
 I thought, perhaps the problem was related to the DOCTYPE for our  
 faq.xml:
 
 !DOCTYPE faqs PUBLIC -//APACHE//DTD FAQ V1.1//EN
  
 http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/core/ 
 context/resources/schema/dtd/faq-v12.dtd
 
 But again, the Forrest faq.xml file appears to have the same DOCTYPE.  
 faq.xml also appears to have the same structure. I'd rather not move to  
 the v20 DTD if possible.
[snip]

No it doesn't. Our faq.xml for both 0.6 and 0.7 uses FAQ 1.2 DTD.
I don't know if that makes any difference for you.

I will try to add your FAQ to another site and see what
your problems are. However, i am not sure if i have the
correct file. Is this it? ...

http://cvs.apache.org/viewcvs.cgi/xml-fop/src/documentation/content/xdocs/faq.xml

Also, please do not point directly to the specific URLs on the website
for the DTDs. It will actually have no effect, because the entity resolver
will use the PUBLIC Identifer anyway. But we don't want to confuse
other people.

--David


Re: TOC in FAQ

2005-05-25 Thread David Crossley
David Crossley wrote:
 I will try to add your FAQ to another site and see what
 your problems are. However, i am not sure if i have the
 correct file. Is this it? ...

Forget that - you already told us the URL in your
original message, sorry. Also you proved that your
faq.xml is okay by adding it to a fresh 'forrest seed'.

At one stage you were using a project-specific sitemap
for your FOP website, IIRC. If you are still, i wonder
if that has an extraneous match that is interfering with
the faq pipeline.

--David


Re: TOC in FAQ

2005-05-23 Thread Ross Gardler

The Web Maestro wrote:

On May 4, 2005, at 7:26 PM, David Crossley wrote:


The Web Maestro wrote:


I'm having a problem generating the table of Contents for our FAQs
page[1], although all other pages contain generated TOCs at the top. I
checked the Forrest 0.6 Menus  Linking page[2], and it indicates that
skinconf.xml should include the element:

toc level=2 location=page/

The value we have in our skinconf.xml file is:

toc max-depth=2 min-sections=3 location=page/

Although what we have is different, this matches what Forrest appears
to have for its skinconf.xml file in SVN[3]. I tried switching to the
toc level=2 location=page/, but I get an error that @level must
be declared. I suspect the Docs are incorrect for Forrest 0.6 (I did
make certain I'm running forrest-0.6):



The docs must be old. I suggest that you follow what is
shown in the skinconf.xml for a fresh site, i.e. cd to a
new directory, do 'forrest seed' and look at its skinconf.xml



Thanks... Yeah... what we have is what's shown in the skinconf.xml for a 
fresh 'seed' site:


toc max-depth=2 min-sections=3 location=page/

Unfortunately, we remain with an FAQ page which doesn't generate a TOC.

I'd suspect that somehow the faq.xml file is malformed, however I 
suspect that would generate a validate-xdocs error...


For testing purposes try copying your faq.xml over the one in a seed 
site and see if it works, also try copying the seed site faq into your 
project directory. Does that work?


This will at least help us to narrow down the problem.

Ross


TOC in FAQ

2005-05-04 Thread The Web Maestro
I'm having a problem generating the table of Contents for our FAQs  
page[1], although all other pages contain generated TOCs at the top. I  
checked the Forrest 0.6 Menus  Linking page[2], and it indicates that  
skinconf.xml should include the element:

toc level=2 location=page/
The value we have in our skinconf.xml file is:
toc max-depth=2 min-sections=3 location=page/
Although what we have is different, this matches what Forrest appears  
to have for its skinconf.xml file in SVN[3]. I tried switching to the  
toc level=2 location=page/, but I get an error that @level must  
be declared. I suspect the Docs are incorrect for Forrest 0.6 (I did  
make certain I'm running forrest-0.6):

[EMAIL PROTECTED] xml-fop]$ which forrest
/Users/Shared/_WebDLs/_repos/apache-forrest-0.6/src/core/bin/forrest
FWIW, here's the DOCTYPE from my skinconf.xml file:
!DOCTYPE skinconfig PUBLIC -//APACHE//DTD Skin Configuration  
V0.6-3//EN http://forrest.apache.org/dtd/skinconfig-v06-3.dtd;

I thought, perhaps the problem was related to the DOCTYPE for our  
faq.xml:

!DOCTYPE faqs PUBLIC -//APACHE//DTD FAQ V1.1//EN
 
http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/core/ 
context/resources/schema/dtd/faq-v12.dtd

But again, the Forrest faq.xml file appears to have the same DOCTYPE.  
faq.xml also appears to have the same structure. I'd rather not move to  
the v20 DTD if possible.

[1] FAQ page w/o TOC
http://xml.apache.org/fop/faq.html
[2] Forrest Menus  Linking: TOC Generation
http://forrest.apache.org/0.6/docs/linking.html#toc-generation
[3] Forrest skinconf.xml file in SVN
http://svn.apache.org/viewcvs.cgi/forrest/trunk/site-author/ 
skinconf.xml?view=markup
[4] FOP skinconf.xml file in CVS
http://cvs.apache.org/viewcvs.cgi/xml-fop/src/documentation/ 
skinconf.xml?view=markup
[5] FOP faq.xml file in CVS
http://cvs.apache.org/viewcvs.cgi/xml-fop/src/documentation/content/ 
xdocs/faq.xml?view=markup

p.s. FYI, like FOP's Eyebrowse mailing list archives, Forrest's  
Eyebrowse links appear to be non-functional. Currently, I see no way to  
browse the forrest-user archives

Regards,
Web Maestro Clay
--
[EMAIL PROTECTED] - http://homepage.mac.com/webmaestro/
My religion is simple. My religion is kindness.
- HH The 14th Dalai Lama of Tibet


Re: TOC in FAQ

2005-05-04 Thread Thorsten Scherler
Sorry for not being able to help you, but welcome back web maestro Clay.
Glad to see you around. :)

cu
thorsten

On Wed, 2005-05-04 at 09:40 -0700, The Web Maestro wrote:
 I'm having a problem generating the table of Contents for our FAQs  
 page[1], although all other pages contain generated TOCs at the top. I  
 checked the Forrest 0.6 Menus  Linking page[2], and it indicates that  
 skinconf.xml should include the element:
 
 toc level=2 location=page/
 
 The value we have in our skinconf.xml file is:
 
 toc max-depth=2 min-sections=3 location=page/
 
 Although what we have is different, this matches what Forrest appears  
 to have for its skinconf.xml file in SVN[3]. I tried switching to the  
 toc level=2 location=page/, but I get an error that @level must  
 be declared. I suspect the Docs are incorrect for Forrest 0.6 (I did  
 make certain I'm running forrest-0.6):
 
 [EMAIL PROTECTED] xml-fop]$ which forrest
 /Users/Shared/_WebDLs/_repos/apache-forrest-0.6/src/core/bin/forrest
 
 FWIW, here's the DOCTYPE from my skinconf.xml file:
 
 !DOCTYPE skinconfig PUBLIC -//APACHE//DTD Skin Configuration  
 V0.6-3//EN http://forrest.apache.org/dtd/skinconfig-v06-3.dtd;
 
 I thought, perhaps the problem was related to the DOCTYPE for our  
 faq.xml:
 
 !DOCTYPE faqs PUBLIC -//APACHE//DTD FAQ V1.1//EN
   
 http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/core/ 
 context/resources/schema/dtd/faq-v12.dtd
 
 But again, the Forrest faq.xml file appears to have the same DOCTYPE.  
 faq.xml also appears to have the same structure. I'd rather not move to  
 the v20 DTD if possible.
 
 [1] FAQ page w/o TOC
 http://xml.apache.org/fop/faq.html
 [2] Forrest Menus  Linking: TOC Generation
 http://forrest.apache.org/0.6/docs/linking.html#toc-generation
 [3] Forrest skinconf.xml file in SVN
 http://svn.apache.org/viewcvs.cgi/forrest/trunk/site-author/ 
 skinconf.xml?view=markup
 [4] FOP skinconf.xml file in CVS
 http://cvs.apache.org/viewcvs.cgi/xml-fop/src/documentation/ 
 skinconf.xml?view=markup
 [5] FOP faq.xml file in CVS
 http://cvs.apache.org/viewcvs.cgi/xml-fop/src/documentation/content/ 
 xdocs/faq.xml?view=markup
 
 p.s. FYI, like FOP's Eyebrowse mailing list archives, Forrest's  
 Eyebrowse links appear to be non-functional. Currently, I see no way to  
 browse the forrest-user archives
 
 Regards,
 
 Web Maestro Clay
-- 
thorsten

Together we stand, divided we fall! 
Hey you (Pink Floyd)



Re: TOC in FAQ

2005-05-04 Thread David Crossley
The Web Maestro wrote:
 I'm having a problem generating the table of Contents for our FAQs  
 page[1], although all other pages contain generated TOCs at the top. I  
 checked the Forrest 0.6 Menus  Linking page[2], and it indicates that  
 skinconf.xml should include the element:
 
 toc level=2 location=page/
 
 The value we have in our skinconf.xml file is:
 
 toc max-depth=2 min-sections=3 location=page/
 
 Although what we have is different, this matches what Forrest appears  
 to have for its skinconf.xml file in SVN[3]. I tried switching to the  
 toc level=2 location=page/, but I get an error that @level must  
 be declared. I suspect the Docs are incorrect for Forrest 0.6 (I did  
 make certain I'm running forrest-0.6):

The docs must be old. I suggest that you follow what is
shown in the skinconf.xml for a fresh site, i.e. cd to a
new directory, do 'forrest seed' and look at its skinconf.xml

 p.s. FYI, like FOP's Eyebrowse mailing list archives, Forrest's  
 Eyebrowse links appear to be non-functional. Currently, I see no way to  
 browse the forrest-user archives

This is a problem for many Apache mailing lists.
Some people at ASF Infrastructure are working on fixing it.
In the meantime, try the mod_mbox archives ...
http://mail-archives.apache.org/

--David