This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [docbook-apps] Re: <graphic> scaling


 

> -----Original Message-----
> From: Sam Steingold [mailto:sds@gnu.org] 
> Sent: Monday, 29 November, 2004 13:49
> To: Paul Grosso
> Cc: docbook-apps@lists.oasis-open.org
> Subject: Re: [docbook-apps] Re: <graphic> scaling
> 
> > * Paul Grosso <ctebffb@neobegrkg.pbz> [2004-11-29 14:33:41 -0500]:
> >
> >> > I want the pictures to be take 100% when that requires 
> >> _shrinking_ of
> >> > the image, but not when that requires _stretching_ it.
> >
> > XSL 1.1 is adding some properties to allow specification of
> > the desired result.  See, for example, the scale-down-to-fit
> > value of the content-height property at
> > http://www.w3.org/TR/xsl11/#content-height
> 
> yes,
> 
>         content-height=scale-down-to-fit
>         content-width=scale-down-to-fit
> 
> is precisely what I want.
> where do I put them?

Those are XSL-FO properties, so the XSL-FO stylesheet
that maps DocBook source to FO would have to set them.

But, as XSL 1.1 is only a working draft, and I am not
aware of any implementations, it doesn't make sense for
the DocBook stylesheets to emit these values yet.

So from the point of view of a DocBook author, you can't
get there from here yet.  Sorry I wasn't clearer about
that.

Until the implementation you use supports these XSL 1.1
values, unless the code suggested by Bob works for you,
I have no other good suggestions.

paul


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]