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: Re: [docbook-apps] Going to DocBook 1.73


Thanks for your answer !

Finaly, the abstract.notitle worked but with zero as value, I wrote this in my html.xsl :
    <!-- suppress the abstract title" -->
    <xsl:param name="abstract.notitle.enabled" select="0" />

For the pdf titlepage, the problem is the same with XEP (even worth : it didn't find my logo...).
But it work with no customization, only with the standard docbook fo.xsl.
I join to this mail a simple book and fo.xsl wich gave me the same results : the fo.xsl just redefine the titlepage with book informations.
I had a look at the new titlepage.template.xsl and start to see what is wrong in my stylesheet... naming has changed ! but adding a simple "d:" before my attributes doesn't work (I didn't believe it will work but I tested, who knows...). To write my book title I have this in the fo.xsl :
              <fo:block font-family="Helvetica"
                        font-size="22pt"
                        font-weight="bold"
                        color="#5906a6"
                        padding-before="10mm">
                <xsl:value-of select="bookinfo/title" />
              </fo:block>

what should I place instead now ?

For the chunk output, even with no customization, problem is the same : index page is empty, only navheader and navfooter. I join to the mail the index.html output.
One good thing : this test placed me on the way to solve another problem I had in chunk for a long time : a "html>" marker in the file, wich doesn't appear when I have no customization...

thanks for your time,
Marie.

Michael(tm) Smith a écrit :
Marie Sauvage - EBM WebSourcing <marie.sauvage@ebmwebsourcing.com>, 2007-07-23 11:30 +0200:

  
1/ in the book titlepage of pdf output (generated with fop 0.93), there is
no information displayed as before. For example I have :
              <fo:block font-family="Helvetica" font-size="10pt">
                <xsl:value-of select="bookinfo/authorgroup/corpauthor" />
              </fo:block>
but the author doesn't appear. Graphics and static texts appear but no
values like this one.
    

Please test with XEP and confirm whether you can reproduce the
problem using XEP. If you can't, it's an FOP bug. If you can
reproduce it with XEP, please post a minimal test case (a DocBook
document) that can be used to reproduce the problem.

  
2/ in chunk output, my first page is empty, there is only the navigation
header and footer
    

Please post a test case. I think I made some changes to the chunk
behavior for 1.73.0 and that may have broken something. But the
reference documentation for the stylesheets is built using the
chunk stylesheet, so I know the chunk stylesheet works with at
least one document :)

  
3/ in html output, despite the abstract.notitle.enabled param, there is
still the "abstract" title... but maybe I have misunderstood the effect of
this parameter. Does it suppress a title we have given for the abstract of
does it suppress the "abstract" label automaticaly added when there is no
title ?
    

I added that param with the intention that it suppresses output of
the auto-generated localized abstract title (which is "Abstract"
for English output). But that is another feature that the
reference documentation for the stylesheets uses, and I know it
works for the case of that document. But it could well be that I
missed some other cases. Please post a minimal doc that I can use
to reproduce the problem, and I'll try it.

A general comment: If you are using a customization layer, please
also test with the "stock" stylesheets (that is, without your
customization layer) and make sure that you can reproduce the
problem that way.

  --Mike

  
<?xml version="1.0" encoding="UTF-8"?>
<book>
  <bookinfo>
    <title>My Test Book</title>

    <authorgroup>
      <author>
        <surname>Me</surname>

        <firstname>Myself</firstname>

        <email>me.myself@home.com</email>
      </author>

      <corpauthor>My Team</corpauthor>
    </authorgroup>

    <copyright>
      <year>2007</year>

      <holder>My Company</holder>
    </copyright>

    <abstract>
      <para>This document is my document</para>
    </abstract>

    <date>June 2007</date>
  </bookinfo>

  <preface>
    <title>My preface</title>

    <para>Some preface text...</para>
  </preface>

  <chapter>
    <title>My First Chapter</title>

    <section>
      <title>First Section</title>

      <para>Some section text...</para>
    </section>
  </chapter>
</book>

simple-fo.xsl

Title: My Test Book


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