uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörn Kottmann <kottm...@gmail.com>
Subject Re: Images in the tools docbook
Date Mon, 11 Oct 2010 11:17:10 GMT
  The images are scaled nicely now in both versions, thanks to Marshalls
tip to use the width param instead of the scale param.

I scanned trough the pdf and added width="5.7in" to all images
which didn't fit on the page. Not sure if that is a robust approach
because every second (every right page when printed as a book?) page
is shifted a little to the right. Which means an image on the left page
can be wider than an image on a right page, trough inserting
a new page somewhere left pages might become right pages, or
the content is just shifted down a little.

Should I then add the with param to all images which are potential
to wide for a right page ?


On 10/9/10 12:58 AM, Marshall Schor wrote:
>   I see that the cde chapter (which has lots of screen shots) uses a
> width="5.7in" etc. kind of param.  I don't recall if I somehow scaled things
> first...
> I do remember having to do some trial and error experimenting to find some
> approach that worked.  If you get stuck, post again, with a pointer to a sample,
> and I can have a go at trying to get it to scale properly.
> -Marshall
> On 10/7/2010 8:52 AM, Jörn Kottmann wrote:
>>   Hi all,
>> I am trying to embed a larger image which is a screen shot
>> of the Cas Editor window into the Cas Editor
>> documentation inside the tools docbook.
>> In the html version the image is too small, and in the pdf versions
>> its to big. Is there a trick how to scale it nicely in both
>> versions ?
>> Here is the piece of xml which embeds the image:
>> <screenshot>
>> <mediaobject>
>> <imageobject>
>> <imagedata scale="65" format="PNG"
>>                 fileref="&imgroot;CasEditor.png" />
>> </imageobject>
>> </mediaobject>
>> </screenshot>
>> Jörn

View raw message