Search the web
Sign In
New User? Sign Up
dita-users · DITA users group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Image scale attribute - correct treatment in html outputs   Message List  
Reply | Forward Message #11701 of 16204 |
Re: Image scale attribute - correct treatment in html outputs

--- In dita-users@yahoogroups.com, "rogerhadley" <roger.hadley@...> wrote:
> So is it true then that Open Toolkit 1.4 does not support the image
> scale attribute? I haven't been able to find this stated clearly
> anywhere.

I'm certain that for XHTML, DITA-OT thinks it supports @scale. There
are lots of references to it in the XSLT. But I have a suspicion that
the implementation is wrong, that @scale only has an effect if @height
and/or @width are present. That would seem to contradict the spec
(though it might be where the DITA 1.2 spec is headed).

@scale on other elements (fig, table, pre, lines) seems to invoke an
XSLT template that does nothing.

Clearly there is a bug or a missing feature in DITA-OT here somewhere.
My advice is to come up with a simple test case showing the bug, and
post it in a bug report on the SourceForge page for DITA-OT.





Thu Sep 18, 2008 5:30 am

deborah_arie...
Offline Offline
Send Email Send Email

Forward
Message #11701 of 16204 |
Expand Messages Author Sort by Date

I'm just wondering if anyone has any insight into the correct use of the scale attribute for images? We are generating html output and have run into an issue...
Richard Simms
richard_simms
Offline Send Email
Sep 9, 2008
4:05 pm

Hi, Richard, ... Your quote from the spec says that the scale attribute is *ignored* if height and/or width have values - so I don't really see how you've ...
Edgar D' Souza
ed_dsouza_yc
Offline Send Email
Sep 10, 2008
6:15 am

So is it true then that Open Toolkit 1.4 does not support the image scale attribute? I haven't been able to find this stated clearly anywhere. Is there any way...
rogerhadley
Offline Send Email
Sep 17, 2008
6:33 pm

... Frankly, I haven't investigated XHTML output; our primary concern is getting PDF output to the level at which we get it from most other tools. As far as...
Edgar D' Souza
ed_dsouza_yc
Offline Send Email
Sep 18, 2008
4:31 am

... I'm certain that for XHTML, DITA-OT thinks it supports @scale. There are lots of references to it in the XSLT. But I have a suspicion that the...
Deborah Pickett
deborah_arie...
Offline Send Email
Sep 18, 2008
5:30 am

... Having run into the same problem, I am reopening this discussion... After a simple test I came to the conclusion that it is sufficient to set either width...
Giancarlo Luxardo
gluxardo
Offline Send Email
Dec 6, 2008
10:03 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help