Re: Image Size Error and Other issues with Fop0.93
2007-08-01 21:53:08 GMT
Hi Brett,
Yes. I discovered that by going and setting the width of the image to 100% is rendering the image within page boundaries in the final print output.
I also found that if I take the screen shot of the image at the as-is size and insert it, the quality/readability of the screen is much better as opposed to resizing and inserting the image. Especially since the content width =100% is taking care of the resizing.
I am still to figure out how to apply it to images in the document via the custom stylesheet. But for now I am not gung-ho about finding it, since i am stuck with other issues. But I will always have my ear pointed to any signals coming on this mailing list.
Thanks,
Dishaa
Brett Leber <bleber+ <at> cs.cmu.edu> wrote: Dishaa,
Was your general solution for #1 (images appear bigger) to set
a
contentwidth attribute for each of your graphics?
Thanks,
Brett
On 7/18/2007 11:10 AM, Dishaa wrote:
> Thank You!
>
> The # 2 Warning message got solved the instant I began using DocBook XSL
> v 1.72.0. Since I was using v1.68 with fop 0.93, maybe I was hitting
> that message.
>
> # 3 - Solved.
>
> # 4 - No resolution. Graphics and Figure titles are getting split at the
> end of the page. I am hoping that if I fix my image scaling issue, this
> ugliness should go away.
>
> # 5 - Thank you! I corrected it to v 1.72.0!
>
> # 6 - .Gifs work as of now. Just that I had named my files Note.gif and
> Important.gif instead of note.gif and important.gif. And I though
t I had
> fixed that!
>
> Dishaa
>
> */"M.Canales.es" /* wrote:
>
> El Lunes, 16 de Julio de 2007 17:06, Dishaa
escribió:
>
> > 1. Images - The images appear bigger. I am new to XML/XSL:FO and I am
> > striving to find how to solve the image issue. Needless to say, I am
> > nowhere close to resolving it.
>
> http://xmlgraphics.apache.org/fop/0.93/graphics.html#resolution
>
> > 2. I keep hitting the WARNING: The contents
> > of row 1 are taller than they should be (there is a
> > block-progression-dimension or height constraint on the indicated
> row). Due
> > to its contents the row grows to 14400 millipoints, but the row
> shouldn't
> > get any taller than MinOptMax[min=opt=max=14000] millipoints.
> > (fo:table-row, locatio
n: 385/2553) error. I have no idea how to
> resolve
> > this.
> > 3. Jul 16, 2007 10:46:14 AM
> >
org.apache.fop.layoutmgr.table.TableContentLayoutManager
> > createElementsForRowGroup - Any idea what kind of solution this
> requires?
>
> Both are the same error. In the FO file, at line 385, column 2553,
> you will
> find the start point of the fo element that is generating that error.
>
> Without having the fo code and the xml xources that generates it is
> dificult
> to know what happens.
>
> > 4. The "Keep-together property" seems to work with admonitions,
> but again,
> > not with images. Can anyone tell me if this HAS or HAS NOT been
> fixed with
> > fop.093? This page break at the wrong places happens either if I> use the
> > customization layer I created or the docbook.xsl stylesheet that
> is part of
> > Serna's distribution.
>
> I
use only the admonitions graphics, but in
>
> http://xmlgraphics.apache.org/fop/compliance.html
>
> say that keep-toghetther.* and keep-with-next.* work on all
> block-level FO
> elemments. And keep-with-previous.* work in all block elemments
> except list-
> and table-related FO blocks. Thus it should work if placed in the
> proper fo
> tag.
>
> > 5. Another major issue is: When I use the default
> > docbook.xsl which is part of Serna's stylesheet distribution, the
> > Fop1.extension for PDF bookmarks works well. When I use the
> customization
> > layer, the bookmarks do not appear. There is obviosuly something
>
wrong with
> > this customization layer.
>
> >
> >
>
href="/home/dganapathy/Files/stylesheets/docbook-xsl-1.68.1/fo/docbook.xsl"
> >/>
>
> Fix the DocBook-XSL version in your customization layout.
>
> > 6. The graphics are still not appearing in both
> > cases for admonitions.
>
> Try using the .png ones, they work fine to me.
>
>
> --
> Manuel Canales Esparcia
> Usuario de LFS nº2886: http://www.linuxfromscratch.org
> LFS en castellano: http://www.escomposlinux.org/lfs-es
> http://www.lfs-es.info
> TLDP-ES: http://es.tldp.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
>
>
>
>
> *
> Dishaa
> Ganapathy*
> Princeton, NJ
> Tel: 678-925-2072|Email: dishaag <at> yahoo.com
> /"The real voyage of discovery consists not in seeking new landscapes,
> but in having new eyes." - Marcel Proust/
>
---------------------------------------------------------------------
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
<at> yahoo.com> <at> macana-es.com>
Building a website is a piece of cake.
Yahoo! Small Business gives you all the tools to get online.
RSS Feed