Thank you. I was somehow thinking just in terms of a customization layer
:-) Sorry for that.

pavel

-----Original Message-----
From: [email protected]
[mailto:xmleditor-support-bounces at xmlmind.com] On Behalf Of Hussein
Shafie
Sent: Tuesday, June 19, 2007 12:35 PM
To: Skopik Pavel; info at activepractice.com
Cc: xmleditor-support at xmlmind.com
Subject: Re: [XXE] Formatting PDF images and TOC

Great answer. Thank you very much Pavel.

Just a precision, "inserting following parameter [...]" means:

* The name of the parameter is "generate.toc".

* The value of the parameter is "appendix  toc,title
article/appendix  nop
article   toc,title
book      toc,title,figure,table,example,equation
chapter   toc,title
part      toc,title
preface   toc,title
qandadiv  toc
qandaset  toc
reference toc,title
sect1     toc
sect2     toc
sect3     toc
sect4     toc
sect5     toc
section   toc
set       toc,title". (Newlines are OK.)

I mean, make sure not to specify
"<xsl:param name="generate.toc">appendix toc,title [...]
toc,title</xsl:param>"
as the value of the parameter!


Skopik Pavel wrote:
> Hello,
> 
>  
> 
>    1. You have to explicitly specify the desired image width or height
>        in the imagedata element (attributes width, height). See:
> 
> http://www.sagehill.net/docbookxsl/ImageSizing.html
> 
> http://docbook.org/tdg/en/html/imagedata.html
> 
>    2. You can control this by inserting following parameter to
>       appropirate document conversion scenario in options->customize
>       configuration -> change document conversion parameters:
> 
>  
> 
> <xsl:param name="generate.toc">
> 
> appendix  toc,title
> 
> article/appendix  nop
> 
> article   toc,title
> 
> book      toc,title,figure,table,example,equation
> 
> chapter   toc,title
> 
> part      toc,title
> 
> preface   toc,title
> 
> qandadiv  toc
> 
> qandaset  toc
> 
> reference toc,title
> 
> sect1     toc
> 
> sect2     toc
> 
> sect3     toc
> 
> sect4     toc
> 
> sect5     toc
> 
> section   toc
> 
> set       toc,title
> 
> </xsl:param>
> 
>  
> 
>        In line specifies which parts of the resulting document will
have TOC. For more information see:
http://www.sagehill.net/docbookxsl/TOCcontrol.html 
> 
>        You can also use customization layer along with your DocBook
XSL Stylesheets distribution and control this feature from there.
> 
>  
 
--
XMLmind XML Editor Support List
xmleditor-support at xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to