Re: Generating table of contents using FO and FOP?

2005-04-20 Thread JBryant
ptimum="3pt" 
space-after.optimum="3pt" text-align-last="justify" text-indent=".25in">
  Using a 
Widgetizing Natwoozer
  
  

http://www.w3.org/1999/XSL/Format"; font-size="12pt" 
font-family="sans-serif" line-height="16pt" space-before.optimum="0pt" 
space-after.optimum="3pt" text-align-last="justify" text-indent=".5in">
  Warming up a 
Widgetizing Natwoozer
  
  

http://www.w3.org/1999/XSL/Format"; font-size="12pt" 
font-family="sans-serif" line-height="16pt" space-before.optimum="0pt" 
space-after.optimum="3pt" text-align-last="justify" text-indent=".5in">
  Applying a 
Widgetizing Natwoozer
  
  

http://www.w3.org/1999/XSL/Format"; font-size="12pt" 
font-family="sans-serif" line-height="16pt" space-before.optimum="6pt" 
space-after.optimum="3pt" text-align-last="justify">
  Attorneys with 
Frombotzer and Natwoozer Experience
  
  

http://www.w3.org/1999/XSL/Format"; font-size="12pt" 
font-family="sans-serif" line-height="16pt" space-before.optimum="6pt" 
space-after.optimum="3pt" text-align-last="justify">
  Glossary
  
  

http://www.w3.org/1999/XSL/Format"; font-size="12pt" 
font-family="sans-serif" line-height="16pt" space-before.optimum="6pt" 
space-after.optimum="3pt" text-align-last="justify">
  Index
  
  


This example glosses over all sorts of issues (using generated IDs, 
dealing with the repeated namespace, and so on), but it gives an example 
of how you might approach the problem without resorting to modes. Also, I 
didn't post the contentsstyle.xsl file, as this message is already an 
oversize load. If someone wants to see how that trick works, ask about it 
sometime and I'll provide a better example.

FWIW

Jay Bryant
Bryant Communication Services
(presently consulting at Synergistic Solution Technologies)




Mike J Boyersmith <[EMAIL PROTECTED]> 
04/19/2005 02:04 PM
Please respond to
[email protected]


To
[email protected]
cc

Subject
Re: Generating table of contents using FO and FOP?







ROTFL... your the man here, I think I wasn't awake yet when I looked at 
that 
snippet. Thanks again Jay :D 

 

Take a look at the author of that message - proof that what goes around 
comes around.

Jay Bryant
Bryant Communication Services
(presently consulting at Synergistic Solution Technologies)

Mike J Boyersmith <[EMAIL PROTECTED]> 
04/19/2005 11:43 AM
Please respond to
[email protected]

To
[email protected]
cc

Subject
Re: Generating table of contents using FO and FOP?



Thought I'd share this with the list, I found another way to render a 
TOC using fo:page-number-citation tags. 

heres a semi example I found on this idea. 

http://www.stylusstudio.com/xsllist/200503/post30180.html 

- Mike 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Generating table of contents using FO and FOP?

2005-04-19 Thread Mike J Boyersmith

ROTFL... your the man here, I think I wasn't awake
yet when I looked at that
snippet. Thanks again Jay :D



Take a look at the author of that message - proof
that what goes around 
comes around.

Jay Bryant
Bryant Communication Services
(presently consulting at Synergistic Solution Technologies)

Mike J Boyersmith <[EMAIL PROTECTED]> 
04/19/2005 11:43 AM
Please respond to
[email protected]

To
[email protected]
cc

Subject
Re: Generating table of contents using FO and FOP?



Thought I'd share this with the list, I found another way to render a 
TOC using fo:page-number-citation tags. 

heres a semi example I found on this idea. 

http://www.stylusstudio.com/xsllist/200503/post30180.html 

- Mike 


Re: Generating table of contents using FO and FOP?

2005-04-19 Thread JBryant
Take a look at the author of that message - proof that what goes around 
comes around.

Jay Bryant
Bryant Communication Services
(presently consulting at Synergistic Solution Technologies)




Mike J Boyersmith <[EMAIL PROTECTED]> 
04/19/2005 11:43 AM
Please respond to
[email protected]


To
[email protected]
cc

Subject
Re: Generating table of contents using FO and FOP?







Thought I'd share this with the list, I found another way to render a 
TOC using fo:page-number-citation tags. 

heres a semi example I found on this idea. 

http://www.stylusstudio.com/xsllist/200503/post30180.html 

- Mike 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Generating table of contents using FO and FOP?

2005-04-19 Thread Mike J Boyersmith

Thought I'd share this with the list, I found another
way to render a 
TOC using fo:page-number-citation tags.

heres a semi example I found on this idea. 

http://www.stylusstudio.com/xsllist/200503/post30180.html

- Mike


Re: Generating table of contents using FO and FOP?

2005-04-18 Thread Mike J Boyersmith

Thanks Jay,

Thanks for the example, and quick reply,
this is what I thought as well. 

As far as FOP having an "instant
TOC" generator feature. My conclusion is 'no', in that you need
to use xslt transform(s) to build the
document/FO structure (including TOC and index) and then render it in its
final form using FOP if needed. 


- Mike
-

Hi, Mike,

It may be a larger example than you would like, but I used the first 
method you mention to create the stylesheet that lets FOP produce a PDF

version of the XSLT 1.0 spec.   You can find it at:

http://www.bryantcs.com/fop/SpecToPDF.xsl

Search for the following content and you'll run right into the templates:



Search for the first instance of  
to see where in the document the ToC gets inserted.

That example uses the same trick and the Fox extension to produce 
bookmarks, if you're interested in those, too.

HTH

Jay Bryant
Bryant Communication Services
(presently consulting at Synergistic Solution Technologies)

-

Subject
Generating table of contents using FO and FOP?

Hello, 

I'm looking for the best way to generate a table of contents. 
The impression I have is that XSL and mode is the way to do this. 
Can this also be done with XSL-FO tree and FOP? 
If so, Is there any good "free" examples on how to do this? 


TIA 

- Mike



Re: Generating table of contents using FO and FOP?

2005-04-18 Thread Luke Shannon
Opps. I miss read the original question. My mistake. Is it friday yet?

;-)

- Original Message - 
From: <[EMAIL PROTECTED]>
To: 
Sent: Monday, April 18, 2005 2:32 PM
Subject: Re: Generating table of contents using FO and FOP?


> The only trouble is that tables of contents aren't generally rendered as 
> tables. Each is generally rendered as a series of paragraphs.
> 
> Jay Bryant
> Bryant Communication Services
> (presently consulting at Synergistic Solution Technologies)
> 
> 
> 
> 
> "Luke Shannon" <[EMAIL PROTECTED]> 
> 04/18/2005 01:27 PM
> Please respond to
> [email protected]
> 
> 
> To
> 
> cc
> 
> Subject
> Re: Generating table of contents using FO and FOP?
> 
> 
> 
> 
> 
> 
> Fop comes with some example files.
>  
> Check out:
>  
> fop-0.20.5\examples\fo\tables
>  
> There are several fo files that you can look at in this directory.
>  
> Also these link(s) may be of use:
>  
> http://www.w3schools.com/xslfo/xslfo_tables.asp
> http://www.dpawson.co.uk/xsl/sect3/N8922.html
>  
>  
> Luke
>  
>  
> - Original Message - 
> From: Mike J Boyersmith 
> To: [email protected] 
> Sent: Monday, April 18, 2005 1:44 PM
> Subject: Generating table of contents using FO and FOP?
> 
> 
> Hello, 
> 
> I'm looking for the best way to generate a table of contents. 
> 
> The impression I have is that XSL and mode is the way to do this. 
> 
> Can this also be done with XSL-FO tree and FOP? 
> 
> If so, Is there any good "free" examples on how to do this? 
> 
> 
> TIA 
> 
> - Mike
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Generating table of contents using FO and FOP?

2005-04-18 Thread JBryant
The only trouble is that tables of contents aren't generally rendered as 
tables. Each is generally rendered as a series of paragraphs.

Jay Bryant
Bryant Communication Services
(presently consulting at Synergistic Solution Technologies)




"Luke Shannon" <[EMAIL PROTECTED]> 
04/18/2005 01:27 PM
Please respond to
[email protected]


To

cc

Subject
Re: Generating table of contents using FO and FOP?






Fop comes with some example files.
 
Check out:
 
fop-0.20.5\examples\fo\tables
 
There are several fo files that you can look at in this directory.
 
Also these link(s) may be of use:
 
http://www.w3schools.com/xslfo/xslfo_tables.asp
http://www.dpawson.co.uk/xsl/sect3/N8922.html
 
 
Luke
 
 
- Original Message - 
From: Mike J Boyersmith 
To: [email protected] 
Sent: Monday, April 18, 2005 1:44 PM
Subject: Generating table of contents using FO and FOP?


Hello, 

I'm looking for the best way to generate a table of contents. 

The impression I have is that XSL and mode is the way to do this. 

Can this also be done with XSL-FO tree and FOP? 

If so, Is there any good "free" examples on how to do this? 


TIA 

- Mike


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Generating table of contents using FO and FOP?

2005-04-18 Thread Luke Shannon



Fop comes with some example files.
 
Check out:
 
fop-0.20.5\examples\fo\tables
 
There are several fo files that you can look at in 
this directory.
 
Also these link(s) may be of use:
 
http://www.w3schools.com/xslfo/xslfo_tables.asp
http://www.dpawson.co.uk/xsl/sect3/N8922.html
 
 
Luke
 
 

  - Original Message - 
  From: 
  Mike J 
  Boyersmith 
  To: [email protected] 
  
  Sent: Monday, April 18, 2005 1:44 
PM
  Subject: Generating table of contents 
  using FO and FOP?
  Hello, I'm looking for the best way to generate a table of 
  contents. The impression I have is 
  that XSL and mode is the way to do this. Can this also be done with XSL-FO tree and FOP? If so, Is there any good "free" examples on how to do 
  this? TIA - Mike


Re: Generating table of contents using FO and FOP?

2005-04-18 Thread JBryant
Hi, Mike,

It may be a larger example than you would like, but I used the first 
method you mention to create the stylesheet that lets FOP produce a PDF 
version of the XSLT 1.0 spec.   You can find it at:

http://www.bryantcs.com/fop/SpecToPDF.xsl

Search for the following content and you'll run right into the templates: 


Search for the first instance of  
to see where in the document the ToC gets inserted.

That example uses the same trick and the Fox extension to produce 
bookmarks, if you're interested in those, too.

HTH

Jay Bryant
Bryant Communication Services
(presently consulting at Synergistic Solution Technologies)






Mike J Boyersmith <[EMAIL PROTECTED]> 
04/18/2005 12:44 PM
Please respond to
[email protected]


To
[email protected]
cc

Subject
Generating table of contents using FO and FOP?







Hello, 

I'm looking for the best way to generate a table of contents. 

The impression I have is that XSL and mode is the way to do this. 

Can this also be done with XSL-FO tree and FOP? 

If so, Is there any good "free" examples on how to do this? 


TIA 

- Mike


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]