Vincent Hennebert | 1 Jul 12:27 2008

Re: Incorrect table row handling at page break

Hi Nancy,

Nancy Brandt wrote:
> Hi guys,
>  
> I've got the following problem: (using XSLTPROC and FOP 0.94)
>  
> When one of the cells in the last table row on a page is too large 
> (because of a long sentence for example), this cell moves to the next 
> page, while other row cells stay on the previous page. Do you have an 
> idea how to move the whole row to the next page during page break?

I suspect this problem won’t show up anymore starting from version
0.95beta of FOP, but to confirm that could you please post a sample
DocBook file, and the FO file resulting from the XSLT transformation (in
order to avoid troubles with stylesheet customizations)? If the files
are big please send them only to me.

Thanks,
Vincent
Dennison, Cheri | 2 Jul 00:57 2008
Picon

Unwanted indentation in heading row of tables in PDF with FOP 0.95

Howdy,

 

I'm using:

*     Saxon 6.5.5

*     Xerces 2.8.0

*     Apache FOP 0.95 beta

 

I’m in the process of upgrading to FOP 0.95 from 0.20.5, and one thing I noticed in my 0.95 PDF output is that the headings in the heading row for each table are now indented and no longer aligned to the left. They’re not center-aligned; they’re all indented a specific amount that is the same for every cell in the heading row. The text in the regular table cells is still left-aligned and looks fine. It’s just the heading row that has gone wonky.

 

Can I control this somewhere? I haven’t found anything that talks about heading row alignment.

Much thanks!!

cheri

 

--
Cheri Dennison / Technical Writer
AWS Platform Group
cherid <at> amazon.com

 

Jean Jordaan | 2 Jul 14:03 2008
Picon

Why doesn't book alllow info?

Hi there

At http://www.docbook.org/docs/howto/
I see 'info' listed as a replacement for 'bookinfo' among others.

However at http://www.docbook.org/tdg5/en/html/titlereq.info.html
the allowed parents of 'info' do not include 'book'. Also XMLMind
Editor doesn't allow 'info' in 'book'.
The info about a book is different from that about the preface or a
chapter. So how to do the equivalent of 'bookinfo'?

--

-- 
jean                                  . .. .... //\\\oo///\\
John Brown | 2 Jul 15:38 2008
Picon

Re: Why doesn't book alllow info?

Jean Jordaan <jean.jordaan <at> gmail.com> writes:

> 
> Hi there
> 
> At http://www.docbook.org/docs/howto/
> I see 'info' listed as a replacement for 'bookinfo' among others.
> 
> However at http://www.docbook.org/tdg5/en/html/titlereq.info.html
> the allowed parents of 'info' do not include 'book'. Also XMLMind
> Editor doesn't allow 'info' in 'book'.
> The info about a book is different from that about the preface or a
> chapter. So how to do the equivalent of 'bookinfo'?
> 

Look at the definition of book:
http://www.docbook.org/tdg5/en/html/book.html

There are two <info> elements: db.info and db.titleforbidden.info.
I assume that this means that if your <book> has a <title>,
it can still have an <info>, but the <info> must not contain a
<title>. The link that you provided points to db.titleforbidden.info.

Anyway, <info> *is* a child of <book> which I am using right now.
However, <info> is new with DocBook 5.0, so if XMLMind is using the
v 4.5 DTD, then you cannot enter v 5.0 tags.

1) Does XMLmind support Relax NG?

2) If you download the v 5.0 RELAX NG schema, would you be able to tell
   XMLMind to use it to for validation and auto-completion?
Dennison, Cheri | 3 Jul 01:54 2008
Picon

RESOLVED: Unwanted indentation in heading row of tables in PDF with FOP 0.95

All fixed. Turns out I had a template override for the thead template that was missing the start-indent="0pt" attribute in the <fo: table-header>.

 

cheri

 

From: Dennison, Cheri [mailto:cherid <at> amazon.com]
Sent: Tuesday, July 01, 2008 3:58 PM
To: docbook-apps <at> lists.oasis-open.org
Subject: [docbook-apps] Unwanted indentation in heading row of tables in PDF with FOP 0.95

 

Howdy,

 

I'm using:

*     Saxon 6.5.5

*     Xerces 2.8.0

*     Apache FOP 0.95 beta

 

I’m in the process of upgrading to FOP 0.95 from 0.20.5, and one thing I noticed in my 0.95 PDF output is that the headings in the heading row for each table are now indented and no longer aligned to the left. They’re not center-aligned; they’re all indented a specific amount that is the same for every cell in the heading row. The text in the regular table cells is still left-aligned and looks fine. It’s just the heading row that has gone wonky.

 

Can I control this somewhere? I haven’t found anything that talks about heading row alignment.

Much thanks!!

cheri

 

--
Cheri Dennison / Technical Writer
AWS Platform Group
cherid <at> amazon.com

 

leeloo5e79-docbook | 3 Jul 16:11 2008
Picon

Rotate Region Body for Landscape Pages

Hello List,

tried to set up a customized page sequence to rotate a region body. This Guide
(http://www.sagehill.net/docbookxsl/PageDesign.html#LandscapePageSequence) was very helpful.
So here my customizations:

<xsl:template name="select.user.pagemaster">
  <xsl:param name="element"/>
  <xsl:param name="pageclass"/>
  <xsl:param name="default-pagemaster"/>

  <xsl:choose>
    <xsl:when test=" <at> role = 'landscape'">landscape</xsl:when>
    <xsl:otherwise>
      <xsl:value-of select="$default-pagemaster"/>
    </xsl:otherwise>
  </xsl:choose>
</xsl:template>

<xsl:template name="user.pagemasters">
	<fo:simple-page-master master-name="landscape-first"
                           page-width="{$page.width}"
                           page-height="{$page.height}"
                           margin-top="{$page.margin.top}"
                           margin-bottom="{$page.margin.bottom}"
                           margin-left="{$margin.left.inner}"
                           margin-right="{$page.margin.outer}">
      <xsl:if test="$axf.extensions != 0">
        <xsl:call-template name="axf-page-master-properties">
          <xsl:with-param name="page.master">body-first</xsl:with-param>
        </xsl:call-template>
      </xsl:if>
      <fo:region-body margin-bottom="{$body.margin.bottom}"
                      margin-top="{$body.margin.top}"
					  reference-orientation="90"
                      column-gap="{$column.gap.body}"
                      column-count="{$column.count.body}">
      </fo:region-body>
      <fo:region-before region-name="xsl-region-before-first"
                        extent="{$region.before.extent}"
                        display-align="before"/>
      <fo:region-after region-name="xsl-region-after-first"
                       extent="{$region.after.extent}"
                       display-align="after"/>
    </fo:simple-page-master>

    <fo:simple-page-master master-name="landscape-odd"
                           page-width="{$page.width}"
                           page-height="{$page.height}"
                           margin-top="{$page.margin.top}"
                           margin-bottom="{$page.margin.bottom}"
                           margin-left="{$margin.left.inner}"
                           margin-right="{$page.margin.outer}">
      <xsl:if test="$axf.extensions != 0">
        <xsl:call-template name="axf-page-master-properties">
          <xsl:with-param name="page.master">body-odd</xsl:with-param>
        </xsl:call-template>
      </xsl:if>
      <fo:region-body margin-bottom="{$body.margin.bottom}"
                      margin-top="{$body.margin.top}"
					  reference-orientation="90"
                      column-gap="{$column.gap.body}"
                      column-count="{$column.count.body}">
      </fo:region-body>
      <fo:region-before region-name="xsl-region-before-odd"
                        extent="{$region.before.extent}"
                        display-align="before"/>
      <fo:region-after region-name="xsl-region-after-odd"
                       extent="{$region.after.extent}"
                       display-align="after"/>
    </fo:simple-page-master>

    <fo:simple-page-master master-name="landscape-even"
                           page-width="{$page.width}"
                           page-height="{$page.height}"
                           margin-top="{$page.margin.top}"
                           margin-bottom="{$page.margin.bottom}"
                           margin-left="{$margin.left.outer}"
                           margin-right="{$page.margin.inner}">
      <xsl:if test="$axf.extensions != 0">
        <xsl:call-template name="axf-page-master-properties">
          <xsl:with-param name="page.master">body-even</xsl:with-param>
        </xsl:call-template>
      </xsl:if>
      <fo:region-body margin-bottom="{$body.margin.bottom}"
                      margin-top="{$body.margin.top}"
					  reference-orientation="90"
                      column-gap="{$column.gap.body}"					  
                      column-count="{$column.count.body}">
      </fo:region-body>
      <fo:region-before region-name="xsl-region-before-even"
                        extent="{$region.before.extent}"
                        display-align="before"/>
      <fo:region-after region-name="xsl-region-after-even"
                       extent="{$region.after.extent}"
                       display-align="after"/>
    </fo:simple-page-master>
	
	<fo:page-sequence-master master-name="landscape">
      <fo:repeatable-page-master-alternatives>
        <fo:conditional-page-master-reference master-reference="blank"
                                              blank-or-not-blank="blank"/>
        <fo:conditional-page-master-reference master-reference="landscape-first"
                                              page-position="first"/>
        <fo:conditional-page-master-reference master-reference="body-odd"
                                              odd-or-even="odd"/>
        <fo:conditional-page-master-reference 
                                              odd-or-even="even">
          <xsl:attribute name="master-reference">
            <xsl:choose>
              <xsl:when test="$double.sided != 0">landscape-even</xsl:when>
              <xsl:otherwise>landscape-odd</xsl:otherwise>
            </xsl:choose>
          </xsl:attribute>
        </fo:conditional-page-master-reference>
      </fo:repeatable-page-master-alternatives>
    </fo:page-sequence-master>
</xsl:template>

Then I set in my Input-Docbook-XML-File the attribute role to landscape in the appendix tag like this

 <appendix role="landscape">

Next step was to generate output PDF with FOP 0.95 beta under Win and docbook-xsl-1.74.0. Result: Nothing.
The appendix and integrated informaltable are still in portrait format. 
What is wrong?

The very simplest way is to set orient=land to informaltable and this will rotate on page but with
overfloating the page border ... :-(

 <informaltable orient="land">

Next step is using the PSMI from here http://www.cranesoftwrights.com/resources/psmi/index.htm.
This changed last in 2003. Couldn't this included in the Docbook-XSL-Stylesheet?

Any suggestions?

Thanks.
Best Regards,
Lee

      __________________________________________________________
Gesendet von Yahoo! Mail.
Dem pfiffigeren Posteingang.
http://de.overview.mail.yahoo.com
Bob Stayton | 3 Jul 17:38 2008
Picon

Re: Rotate Region Body for Landscape Pages

Hi,
Your customization worked for me.  I copied and pasted this into a short 
customization (with one correction: your page-sequence-master was using 
body-odd instead of landscape-odd), and processed it with xsltproc and fop 
0.95beta.  When I put role="landscape" on chapter or appendix, they came out 
landscape in the PDF.

You might take a peek inside your fo file to see if you are getting 
"landscape" on the page-sequence.  That will tell you if something is going 
wrong with the stylesheet instead of fop.

Bob Stayton
Sagehill Enterprises
bobs <at> sagehill.net

----- Original Message ----- 
From: <leeloo5e79-docbook <at> yahoo.de>
To: <docbook-apps <at> lists.oasis-open.org>
Sent: Thursday, July 03, 2008 7:11 AM
Subject: [docbook-apps] Rotate Region Body for Landscape Pages

Hello List,

tried to set up a customized page sequence to rotate a region body. This 
Guide 
(http://www.sagehill.net/docbookxsl/PageDesign.html#LandscapePageSequence) 
was very helpful. So here my customizations:

<xsl:template name="select.user.pagemaster">
  <xsl:param name="element"/>
  <xsl:param name="pageclass"/>
  <xsl:param name="default-pagemaster"/>

  <xsl:choose>
    <xsl:when test=" <at> role = 'landscape'">landscape</xsl:when>
    <xsl:otherwise>
      <xsl:value-of select="$default-pagemaster"/>
    </xsl:otherwise>
  </xsl:choose>
</xsl:template>

<xsl:template name="user.pagemasters">
<fo:simple-page-master master-name="landscape-first"
                           page-width="{$page.width}"
                           page-height="{$page.height}"
                           margin-top="{$page.margin.top}"
                           margin-bottom="{$page.margin.bottom}"
                           margin-left="{$margin.left.inner}"
                           margin-right="{$page.margin.outer}">
      <xsl:if test="$axf.extensions != 0">
        <xsl:call-template name="axf-page-master-properties">
          <xsl:with-param name="page.master">body-first</xsl:with-param>
        </xsl:call-template>
      </xsl:if>
      <fo:region-body margin-bottom="{$body.margin.bottom}"
                      margin-top="{$body.margin.top}"
  reference-orientation="90"
                      column-gap="{$column.gap.body}"
                      column-count="{$column.count.body}">
      </fo:region-body>
      <fo:region-before region-name="xsl-region-before-first"
                        extent="{$region.before.extent}"
                        display-align="before"/>
      <fo:region-after region-name="xsl-region-after-first"
                       extent="{$region.after.extent}"
                       display-align="after"/>
    </fo:simple-page-master>

    <fo:simple-page-master master-name="landscape-odd"
                           page-width="{$page.width}"
                           page-height="{$page.height}"
                           margin-top="{$page.margin.top}"
                           margin-bottom="{$page.margin.bottom}"
                           margin-left="{$margin.left.inner}"
                           margin-right="{$page.margin.outer}">
      <xsl:if test="$axf.extensions != 0">
        <xsl:call-template name="axf-page-master-properties">
          <xsl:with-param name="page.master">body-odd</xsl:with-param>
        </xsl:call-template>
      </xsl:if>
      <fo:region-body margin-bottom="{$body.margin.bottom}"
                      margin-top="{$body.margin.top}"
  reference-orientation="90"
                      column-gap="{$column.gap.body}"
                      column-count="{$column.count.body}">
      </fo:region-body>
      <fo:region-before region-name="xsl-region-before-odd"
                        extent="{$region.before.extent}"
                        display-align="before"/>
      <fo:region-after region-name="xsl-region-after-odd"
                       extent="{$region.after.extent}"
                       display-align="after"/>
    </fo:simple-page-master>

    <fo:simple-page-master master-name="landscape-even"
                           page-width="{$page.width}"
                           page-height="{$page.height}"
                           margin-top="{$page.margin.top}"
                           margin-bottom="{$page.margin.bottom}"
                           margin-left="{$margin.left.outer}"
                           margin-right="{$page.margin.inner}">
      <xsl:if test="$axf.extensions != 0">
        <xsl:call-template name="axf-page-master-properties">
          <xsl:with-param name="page.master">body-even</xsl:with-param>
        </xsl:call-template>
      </xsl:if>
      <fo:region-body margin-bottom="{$body.margin.bottom}"
                      margin-top="{$body.margin.top}"
  reference-orientation="90"
                      column-gap="{$column.gap.body}"
                      column-count="{$column.count.body}">
      </fo:region-body>
      <fo:region-before region-name="xsl-region-before-even"
                        extent="{$region.before.extent}"
                        display-align="before"/>
      <fo:region-after region-name="xsl-region-after-even"
                       extent="{$region.after.extent}"
                       display-align="after"/>
    </fo:simple-page-master>

<fo:page-sequence-master master-name="landscape">
      <fo:repeatable-page-master-alternatives>
        <fo:conditional-page-master-reference master-reference="blank"
                                              blank-or-not-blank="blank"/>
        <fo:conditional-page-master-reference 
master-reference="landscape-first"
                                              page-position="first"/>
        <fo:conditional-page-master-reference master-reference="body-odd"
                                              odd-or-even="odd"/>
        <fo:conditional-page-master-reference
                                              odd-or-even="even">
          <xsl:attribute name="master-reference">
            <xsl:choose>
              <xsl:when test="$double.sided != 0">landscape-even</xsl:when>
              <xsl:otherwise>landscape-odd</xsl:otherwise>
            </xsl:choose>
          </xsl:attribute>
        </fo:conditional-page-master-reference>
      </fo:repeatable-page-master-alternatives>
    </fo:page-sequence-master>
</xsl:template>

Then I set in my Input-Docbook-XML-File the attribute role to landscape in 
the appendix tag like this

 <appendix role="landscape">

Next step was to generate output PDF with FOP 0.95 beta under Win and 
docbook-xsl-1.74.0. Result: Nothing. The appendix and integrated 
informaltable are still in portrait format.
What is wrong?

The very simplest way is to set orient=land to informaltable and this will 
rotate on page but with overfloating the page border ... :-(

 <informaltable orient="land">

Next step is using the PSMI from here 
http://www.cranesoftwrights.com/resources/psmi/index.htm. This changed last 
in 2003. Couldn't this included in the Docbook-XSL-Stylesheet?

Any suggestions?

Thanks.
Best Regards,
Lee

      __________________________________________________________
Gesendet von Yahoo! Mail.
Dem pfiffigeren Posteingang.
http://de.overview.mail.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe <at> lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help <at> lists.oasis-open.org
Steve Whitlatch | 3 Jul 21:45 2008
Picon

Announce: DocBook XSL Configurator version 0.61_1740

I've updated DocBook XSL Configurator to support DocBook XSL version 
1.74-0 and added support for creating DocBook XSL customization 
layers for HTML and Manpages.  

With this release (version 0.61_1740), DocBook XSL Configurator 
becomes an umbrella project currently consisting of three similar 
Java Swing applications used to create DocBook XSL customization 
layers, to run external subprocesses that transform DocBook XML, and 
to view the results. 

Packages containing source and binaries for DocBook XSL Configurator 
version 0.61._1740 are available for download from Sourceforge:

http://sourceforge.net/projects/db-xsl-cfg

You can also use DocBook XSL Configurator for FO, for HTML, or for 
Manpages online in applet form, available at:

http://swhitlat.com/XML_Publisher

The DocBook XSL Configurator project is GPLed and open to additional 
developers. 

Steve Whitlatch
Cristina Galve | 4 Jul 03:41 2008
Picon

RE: Picture not showing in PDF Format

Hi Jeff!

I'm only trying to process JPEG images, but the images do appear when I convert the xml files to html. Thanks in advance!

Regards,
Tina

--- On Wed, 7/2/08, Jeff Hooker <Jeff_Hooker <at> pmc-sierra.com> wrote:
From: Jeff Hooker <Jeff_Hooker <at> pmc-sierra.com>
Subject: RE: [docbook-apps] Picture not showing in PDF Format
To: tinagalves <at> yahoo.com
Date: Wednesday, July 2, 2008, 6:52 AM

This may depend on the FO processor you are using and its support for the image format you are using. What kind of images are you attempting to process?
-----Original Message-----
From: Cristina Galve [mailto:tinagalves <at> yahoo.com]
Sent: Sunday, June 29, 2008 9:02 PM
To: docbook-apps <at> lists.oasis-open.org
Subject: [docbook-apps] Picture not showing in PDF Format

Hi,

I would like to ask as to why the images I specified in my xml files using Slides DTD do not show up in the generated PDF's. I've already copied the images to my output folder during conversion to FO file but it's still not working. Are there any extra configurations?

I'm using the plain.xsl of of FO in docbook-xsl-1.74.0 for converting to PDF format.

Would greatly appreciate any help.

Regards,
Tina Galve




Leeloo5e | 4 Jul 09:44 2008
Picon

Re: Rotate Region Body for Landscape Pages


Hi,

thanks. I changed it and processed again. The appendix is still in portrait
not in landscape.

First processed it with FOP 0.95 beta on Windows-System. 
Then processed it with xsltproc to generate a fo and have a look at this.
Finding the page-master-sequence in the fo file

<fo:page-sequence-master
master-name="landscape"><fo:repeatable-page-master-alternatives><fo:conditional-page-master-reference
master-reference="blank"
blank-or-not-blank="blank"/><fo:conditional-page-master-reference
master-reference="landscape-first"
page-position="first"/><fo:conditional-page-master-reference
master-reference="landscape-odd"
odd-or-even="odd"/><fo:conditional-page-master-reference odd-or-even="even"
master-reference="landscape-odd"/></fo:repeatable-page-master-alternatives></fo:page-sequence-master>

But the PDF-Output is still in portrait also when I processed the FO file
again with the latest build of FOP.

Just add role="landscape" to my root article and processed again. Now the
whole pdf output is in landscape ... header and footer still portrait -
thats fine.

The appendix I would like to output in landscape format is inside the root
article and this is still in normal format portrait ... Could be this the
reason? Should I create a separat appendix-file?

Thank you very much.
Best Regards,
Lee

Bob Stayton wrote:
> 
> Hi,
> Your customization worked for me.  I copied and pasted this into a short 
> customization (with one correction: your page-sequence-master was using 
> body-odd instead of landscape-odd), and processed it with xsltproc and fop 
> 0.95beta.  When I put role="landscape" on chapter or appendix, they came
> out 
> landscape in the PDF.
> 
> You might take a peek inside your fo file to see if you are getting 
> "landscape" on the page-sequence.  That will tell you if something is
> going 
> wrong with the stylesheet instead of fop.
> 
> Bob Stayton
> Sagehill Enterprises
> bobs <at> sagehill.net
> 
> 
> ----- Original Message ----- 
> From: <leeloo5e79-docbook <at> yahoo.de>
> To: <docbook-apps <at> lists.oasis-open.org>
> Sent: Thursday, July 03, 2008 7:11 AM
> Subject: [docbook-apps] Rotate Region Body for Landscape Pages
> 
> 
> Hello List,
> 
> tried to set up a customized page sequence to rotate a region body. This 
> Guide 
> (http://www.sagehill.net/docbookxsl/PageDesign.html#LandscapePageSequence) 
> was very helpful. So here my customizations:
> 
> <xsl:template name="select.user.pagemaster">
>   <xsl:param name="element"/>
>   <xsl:param name="pageclass"/>
>   <xsl:param name="default-pagemaster"/>
> 
>   <xsl:choose>
>     <xsl:when test=" <at> role = 'landscape'">landscape</xsl:when>
>     <xsl:otherwise>
>       <xsl:value-of select="$default-pagemaster"/>
>     </xsl:otherwise>
>   </xsl:choose>
> </xsl:template>
> 
> <xsl:template name="user.pagemasters">
> <fo:simple-page-master master-name="landscape-first"
>                            page-width="{$page.width}"
>                            page-height="{$page.height}"
>                            margin-top="{$page.margin.top}"
>                            margin-bottom="{$page.margin.bottom}"
>                            margin-left="{$margin.left.inner}"
>                            margin-right="{$page.margin.outer}">
>       <xsl:if test="$axf.extensions != 0">
>         <xsl:call-template name="axf-page-master-properties">
>           <xsl:with-param name="page.master">body-first</xsl:with-param>
>         </xsl:call-template>
>       </xsl:if>
>       <fo:region-body margin-bottom="{$body.margin.bottom}"
>                       margin-top="{$body.margin.top}"
>   reference-orientation="90"
>                       column-gap="{$column.gap.body}"
>                       column-count="{$column.count.body}">
>       </fo:region-body>
>       <fo:region-before region-name="xsl-region-before-first"
>                         extent="{$region.before.extent}"
>                         display-align="before"/>
>       <fo:region-after region-name="xsl-region-after-first"
>                        extent="{$region.after.extent}"
>                        display-align="after"/>
>     </fo:simple-page-master>
> 
>     <fo:simple-page-master master-name="landscape-odd"
>                            page-width="{$page.width}"
>                            page-height="{$page.height}"
>                            margin-top="{$page.margin.top}"
>                            margin-bottom="{$page.margin.bottom}"
>                            margin-left="{$margin.left.inner}"
>                            margin-right="{$page.margin.outer}">
>       <xsl:if test="$axf.extensions != 0">
>         <xsl:call-template name="axf-page-master-properties">
>           <xsl:with-param name="page.master">body-odd</xsl:with-param>
>         </xsl:call-template>
>       </xsl:if>
>       <fo:region-body margin-bottom="{$body.margin.bottom}"
>                       margin-top="{$body.margin.top}"
>   reference-orientation="90"
>                       column-gap="{$column.gap.body}"
>                       column-count="{$column.count.body}">
>       </fo:region-body>
>       <fo:region-before region-name="xsl-region-before-odd"
>                         extent="{$region.before.extent}"
>                         display-align="before"/>
>       <fo:region-after region-name="xsl-region-after-odd"
>                        extent="{$region.after.extent}"
>                        display-align="after"/>
>     </fo:simple-page-master>
> 
>     <fo:simple-page-master master-name="landscape-even"
>                            page-width="{$page.width}"
>                            page-height="{$page.height}"
>                            margin-top="{$page.margin.top}"
>                            margin-bottom="{$page.margin.bottom}"
>                            margin-left="{$margin.left.outer}"
>                            margin-right="{$page.margin.inner}">
>       <xsl:if test="$axf.extensions != 0">
>         <xsl:call-template name="axf-page-master-properties">
>           <xsl:with-param name="page.master">body-even</xsl:with-param>
>         </xsl:call-template>
>       </xsl:if>
>       <fo:region-body margin-bottom="{$body.margin.bottom}"
>                       margin-top="{$body.margin.top}"
>   reference-orientation="90"
>                       column-gap="{$column.gap.body}"
>                       column-count="{$column.count.body}">
>       </fo:region-body>
>       <fo:region-before region-name="xsl-region-before-even"
>                         extent="{$region.before.extent}"
>                         display-align="before"/>
>       <fo:region-after region-name="xsl-region-after-even"
>                        extent="{$region.after.extent}"
>                        display-align="after"/>
>     </fo:simple-page-master>
> 
> <fo:page-sequence-master master-name="landscape">
>       <fo:repeatable-page-master-alternatives>
>         <fo:conditional-page-master-reference master-reference="blank"
>                                               blank-or-not-blank="blank"/>
>         <fo:conditional-page-master-reference 
> master-reference="landscape-first"
>                                               page-position="first"/>
>         <fo:conditional-page-master-reference master-reference="body-odd"
>                                               odd-or-even="odd"/>
>         <fo:conditional-page-master-reference
>                                               odd-or-even="even">
>           <xsl:attribute name="master-reference">
>             <xsl:choose>
>               <xsl:when test="$double.sided !=
> 0">landscape-even</xsl:when>
>               <xsl:otherwise>landscape-odd</xsl:otherwise>
>             </xsl:choose>
>           </xsl:attribute>
>         </fo:conditional-page-master-reference>
>       </fo:repeatable-page-master-alternatives>
>     </fo:page-sequence-master>
> </xsl:template>
> 
> Then I set in my Input-Docbook-XML-File the attribute role to landscape in 
> the appendix tag like this
> 
>  <appendix role="landscape">
> 
> Next step was to generate output PDF with FOP 0.95 beta under Win and 
> docbook-xsl-1.74.0. Result: Nothing. The appendix and integrated 
> informaltable are still in portrait format.
> What is wrong?
> 
> The very simplest way is to set orient=land to informaltable and this will 
> rotate on page but with overfloating the page border ... :-(
> 
>  <informaltable orient="land">
> 
> Next step is using the PSMI from here 
> http://www.cranesoftwrights.com/resources/psmi/index.htm. This changed
> last 
> in 2003. Couldn't this included in the Docbook-XSL-Stylesheet?
> 
> Any suggestions?
> 
> Thanks.
> Best Regards,
> Lee
> 
> 
> 
>       __________________________________________________________
> Gesendet von Yahoo! Mail.
> Dem pfiffigeren Posteingang.
> http://de.overview.mail.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe <at> lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help <at> lists.oasis-open.org
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe <at> lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help <at> lists.oasis-open.org
> 
> 
> 

--

-- 
View this message in context: http://www.nabble.com/Rotate-Region-Body-for-Landscape-Pages-tp18260338p18274560.html
Sent from the docbook apps mailing list archive at Nabble.com.

Gmane