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] | [List Home]


Subject: List of figures appears empty in PDF file


Greetings,

I would like to have a list of figures in the print output for my book project.

I have set the following in fo/params.xls:

<!-- 3. ToC/LoT/Index Generation ================================ -->
<xsl:param name="autotoc.label.separator" select="' '"/>
<xsl:param name="generate.toc">
/article  toc,title
article   toc,title
book      toc,title,figure
part      toc,title
reference toc,title
set       toc,title
</xsl:param>
<xsl:param name="toc.indent.width">1</xsl:param>

Now, I run fop and interestingly this is what I get:

Making portrait pages on A4 paper (210mmx297mm)
height is now: 297
unit is now: mm
goldenratio: 1.618/>
blockHeight is: 113.454
tableWidth is: 187.5
cellHeight is: 123.75
WARNING: toc : Unknown TOC element figure WARNING: toc : Unknown TOC element figure WARNING: toc : Unknown TOC element figure WARNING: toc : Unknown TOC element figure WARNING: toc : Unknown TOC element figure WARNING: toc : Unknown TOC element figure WARNING: toc : Unknown TOC element figure WARNING: toc : Unknown TOC element figure WARNING: toc : Unknown TOC element figure WARNING: toc : Unknown TOC element figure WARNING: toc : Unknown TOC element figure WARNING: toc : Unknown TOC element figure .
.
.

I suspect there are as many such lines above as there are figures in my book. My
figures always are specified like this in the xml source files:


<figure xml:id="fig_xtpcpp-main-window-edit-menu-modifications">

  <title>The <guimenu>Edit</guimenu> menu showing various configuration
  tasks</title>

<mediaobject>

  <imageobject role="fo">
    <imagedata fileref="print-xtpcpp-main-window-edit-menu-modifications.png"/>
  </imageobject>
  <imageobject role="html">
    <imagedata fileref="web-xtpcpp-main-window-edit-menu-modifications.png"/>
  </imageobject>

  <caption><para>This menu becomes available in the main program window only when
  identification data have been loaded in &xtpcpp;</para></caption>

  </mediaobject>

</figure>


When rendering the book, I effectively get a "List of figures" title, but the
list is empty.

What am I missing here ?

Thank you for your attention.

Sincerely,
Filippo

--

âââââââ  Filippo Rusconi, PhD
âââââââ   Research scientist at CNRS
âââââââ   Debian Developer
âââââââ  http://msxpertsuite.org
          http://www.debian.org

~~~~
book: http://www.lavoisier.fr/livre/notice.asp?id=3LKW2OAR2KROWZ
http://books.google.fr/books?id=2NmguxmEI1sC&printsec=frontcover&dq=rusconi+f+lavoisier&hl=fr&sa=X&ei=nGGOUt2SH_Ly0gX0uIHoBQ&ved=0CDUQ6AEwAA#v=onepage&q&f=false
~~~~
GÃnÃtique Quantitative et Ãvolution & Plateforme PAPPSO
UMR CNRS 8120 â INRA â Università Paris-Sud â AgroParisTech - Università Paris-Saclay
http://moulon.inra.fr/ & http://pappso.inra.fr/
Ferme du Moulon
91190 Gif-sur-Yvette
France
Tel : +33 (0)1 69 33 23 54
Fax : +33 (0)1 69 33 23 40


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