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] displaying full-page graphics inside a chapter?


Hi Robert,
I'm not clear on what you mean by "full-page". Do you mean for the graphic to extend into the page margins to the edge of the paper, or just take up the full width of the text area within the margins? When you say "push the image over to where a paragraph should begin" suggests that you have the 'body.start.indent' param set and your content is indented (except for titles). If you want the graphic's left edge to start at the left margin like the titles, then put it inside an informalfigure and add a pgwide="1" attribute to that element.

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net

--------------------------------------------------
From: "Robert Nagle" <idiotprogrammer@gmail.com>
Sent: Tuesday, July 23, 2013 8:52 PM
To: <docbook-apps@lists.oasis-open.org>
Subject: [docbook-apps] displaying full-page graphics inside a chapter?

I am producing a Docbook 5.0 technical book using XEP.

I created this nice graphic, but when I stuck it into a
SCREENSHOT.mediaobject, the resulting PDF reproduces it flush right on
the PDF.

Here is how I call the graphic

<imageobject role="fo">
                       <imagedata
fileref="fo-images/content-rules-graphic1.jpg" align="left"
contentwidth="11cm"/>
                   </imageobject>

The graphic itself ooks fine and centered.

Here are my customizations:

<xsl:param name="page.width">15.6cm</xsl:param>
   <xsl:param name="page.margin.inner">1.91cm</xsl:param>
<xsl:param name="page.margin.outer">1.27cm</xsl:param>

These margin dimensions look fine for the rest of my graphics. But the
graphic which is giving me problems is a full-page graphic. For the
rest of the book, the graphics follow the margins of the body text.
But in this case it wouldn't make sense to push the image over to
where a paragraph would begin.

Does anyone have a solution for  modifying default margins for a
single graphic inside a chapter? Or general suggestions? Thanks.

Robert Nagle
www.robertnagle.info

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org





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