Page 1 of 1

Image in publication PDF WEB or EPUB

Posted: Mon Jan 06, 2014 12:31 pm
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

Re: Image in publication PDF WEB or EPUB

Posted: Mon Jan 06, 2014 4:26 pm
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

Re: Image in publication PDF WEB or EPUB

Posted: Mon Jan 06, 2014 6:13 pm
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

Re: Image in publication PDF WEB or EPUB

Posted: Tue Jan 07, 2014 1:29 pm
by sorin_ristache
Hi,

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


Regards,
Sorin