DOCBOOK-APPS: Using both chunk.xsl and changebars.xsl

2002-06-11 Thread Raphael Goubet

Hi,

Is it possible to use both chunk.xsl and changebars.xsl? If I import them 
both, no matter in what order, the changebars stylesheet won't have any effect.

The only workaround I could find was to import changebars.xsl into 
docbook.xsl by adding an xsl:import line, and remove the line which 
imports docbook.xsl in changebars.xsl.

Is there a cleaner way to do it?

Thanks in advance.

Raphael




Re: DOCBOOK-APPS: Using both chunk.xsl and changebars.xsl

2002-06-11 Thread Jirka Kosek

Raphael Goubet wrote:

 Is it possible to use both chunk.xsl and changebars.xsl? If I import them
 both, no matter in what order, the changebars stylesheet won't have any effect.
 
 The only workaround I could find was to import changebars.xsl into
 docbook.xsl by adding an xsl:import line, and remove the line which
 imports docbook.xsl in changebars.xsl.
 
 Is there a cleaner way to do it?

Make your own copy of changebars.xsl (e.g. changebars-chunk.xsl) and
change xsl:import href=docbook.xsl/ to xsl:import
href=chunk.xsl/. It should (could;-) work.

Jirka

-- 
-
  Jirka Kosek
  e-mail: [EMAIL PROTECTED]
  http://www.kosek.cz



DOCBOOK-APPS: xsl and toc deepness

2002-06-11 Thread Gabor Hojtsy

Hi!

I am the guy, who is working on the PHP Documentations new
CHM format (which uses XSL style sheets instead of the DSSSL
ones used for the other formats).

One of the most annoying problems with the XSL style sheets so
far was the TOC deepness parameter. I cannot get the same TOC
deepness as in the DSSSL documentation (or at least a normal one).

Anything in the corresponding param more then zero produces a
TOC going as deep as it can (which makes a horrible frontpage for
the PHP manual with ~3000 HTML pages (all listed on the
front page). If you look at http://php.net/manual/en/ you'll
see that the DSSSL generated toc is quite normal, and I would
like to achive that thing...

I have used:

xsl:param name=toc.section.depth0/xsl:param

And it prodoced a TOC with only the topmost elements, and
I have tested:

xsl:param name=toc.section.depth1/xsl:param

and it produced a TOC as deep as it can bee... ;(((

Thanks for your help,
Goba





Re: DOCBOOK-APPS: xsl and toc deepness

2002-06-11 Thread Jirka Kosek

Gabor Hojtsy wrote:

 I have used:
 
 xsl:param name=toc.section.depth0/xsl:param
 
 And it prodoced a TOC with only the topmost elements, and
 I have tested:
 
 xsl:param name=toc.section.depth1/xsl:param
 
 and it produced a TOC as deep as it can bee... ;(((

This simply works for me. Do you have recent version of stylesheets?
Does this error occur on section elements or on other elements like
refentries?

Jirka

-- 
-
  Jirka Kosek
  e-mail: [EMAIL PROTECTED]
  http://www.kosek.cz



Re: DOCBOOK-APPS: xsl and toc deepness

2002-06-11 Thread Gabor Hojtsy

  I have used:
  
  xsl:param name=toc.section.depth0/xsl:param
  
  And it prodoced a TOC with only the topmost elements, and
  I have tested:
  
  xsl:param name=toc.section.depth1/xsl:param
  
  and it produced a TOC as deep as it can bee... ;(((
 
 This simply works for me. Do you have recent version of stylesheets?

I am using 1.51.1 (upgraded three days ago). BTW the problem
was here all the time any version I've used before

 Does this error occur on section elements or
 on other elements like refentries?

Both the major TOC, and all section TOCs (like the toc
for parts in the PHP manual are infinite deep - seems
like it's treated as a boolean switch :( 

Goba





DOCBOOK-APPS: xsl fop and glossary format in pdf trouble

2002-06-11 Thread zope-mailinglist

hello all

i'm using the xsl stylesheets to create a pdf file using fop
everything in the latest version

i have a problem with my glossary
due to the fact, that e have relatively long terms, the term is written 
over the definition in pdf, where the glossary is in table format.

questions:
1. is there a variable to get my glossary in block format like for 
variablelist through:
xsl:param name=variablelist.as.blocks select=1/

2. is there a possibility to make the term wrap in its table cell, this 
would be the best.

thanks in advance, bernd




Re: DOCBOOK-APPS: xsl fop and glossary format in pdf trouble

2002-06-11 Thread Bob Stayton

On Tue, Jun 11, 2002 at 05:21:20PM +0200, zope-mailinglist wrote:
 hello all
 
 i'm using the xsl stylesheets to create a pdf file using fop
 everything in the latest version
 
 i have a problem with my glossary
 due to the fact, that e have relatively long terms, the term is written 
 over the definition in pdf, where the glossary is in table format.
 
 questions:
 1. is there a variable to get my glossary in block format like for 
 variablelist through:
 xsl:param name=variablelist.as.blocks select=1/
 
 2. is there a possibility to make the term wrap in its table cell, this 
 would be the best.

Well, a glossary isn't in a table.
The current fo stylesheet puts a glossary in a
fo:list-block, glossentries in a
fo:list-item, the glossterm in a fo:list-item-label
and the glossdef in a fo:list-item-body.
So the fo output is already doing the equivalent of
the variablelist.  The label just isn't being handled
properly by FOP when it is longer than its designated
width.

-- 

Bob Stayton 400 Encinal Street
Publications Architect  Santa Cruz, CA  95060
Technical Publications  voice: (831) 427-7796
Caldera International, Inc. fax:   (831) 429-1887
email: [EMAIL PROTECTED]