Image in publication PDF WEB or EPUB

Post here questions and problems related to editing and publishing DITA content.
Le Basque
Posts: 147
Joined: Sat Oct 19, 2013 8:21 am

Image in publication PDF WEB or EPUB

Post by Le Basque »

Hi,

Have you an example of use, ditaval file for use with various image format to PDF or EPUB or WEB?

or another solution

Thank you
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Image in publication PDF WEB or EPUB

Post by sorin_ristache »

Hi,

Do you want to include different versions or formats of the same image in different output formats (PDF, EPUB, etc)? If yes, why is this necessary? I think this can be avoided by using the same image file for all the output formats. If the image looks different in one of the output formats usually it can be edited for looking the same in all outputs, for example by changing the internal resolution of the image stored in the image file.

If you really need to include different formats of the same image in different output formats you should do the following for each image that needs different formats, following the example from the video demo about DITA profiling:
  • have one <image> or <fig> element for each image format in the DITA XML topic file,
  • add a profiling attribute on each <image> or <fig> element in the DITA XML topic file, to set the output format that will include that <image> or <fig> element,
  • set a different DITAVAL file (that selects only one value of the profiling attribute in each DITA XML topic file) for each output format in the DITA transformation.

Regards,
Sorin
Le Basque
Posts: 147
Joined: Sat Oct 19, 2013 8:21 am

Re: Image in publication PDF WEB or EPUB

Post by Le Basque »

Hi,
The image to be published in a PDF greater than publishing to HTML or EPUB size

This is the same picture, but to publish a different size, what is the best method?

Thank you for help
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Image in publication PDF WEB or EPUB

Post by sorin_ristache »

Hi,

Please try these tips from the Oxygen User Manual. They were created exactly for your problem.


Regards,
Sorin
Post Reply