Hi All,

it seems that width is more important than scaledwidth, for example,
in such case:
    image::img/picture.png["Whatever", scaledwidth="50%", width="350",
align="center"]
when generating PDF output (with a2x) the scaledwidth will be ignored.

This means that if I want to have a decent output for both PDF and
HTML I need to do something fancy.

My current solution is to use sed to remove all "contentwidth" from
docbook output for PDF version like this:
    sed -i 's/contentwidth="[0-9][0-9][0-9]" //g' my_book.xml
before xstlproc and fop are invoked.

Is there better way to do it? How do other people deal with this?
Using ifdef?

--
Regards,
Tomek Kaczanowski
http://practicalunittesting.com

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/asciidoc?hl=en.

Reply via email to