Problem Pubication PDF Note

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

Problem Pubication PDF Note

Post by Le Basque »

Hi,

I have a tag notes

Code: Select all

<note class="- topic/note " type="important">
When i use author image is associated with the note
When i generate PDF Image is not found ?

What is the problem ?

Thank you
Le Basque
Posts: 147
Joined: Sat Oct 19, 2013 8:21 am

Re: Problem Pubication PDF Note

Post by Le Basque »

I found localisation file is no good in customization

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

Re: Problem Pubication PDF Note

Post by sorin_ristache »

Le Basque wrote: When i use author image is associated with the note
When i generate PDF Image is not found ?
Do you use the default DITA PDF transform that comes in the Oxygen kit or did you set any parameter value in your DITA PDF transform? If you set any parameter please post here what parameters you set. Did you set a customization directory which is not located in the Oxygen DITA-OT directory?

You have to make sure that the PNG image paths are correct in the XML file for your language from the cfg/common/vars directory. For example by default (no customization in the DITA PDF transform) these files are DITA-OT/plugins/org.dita.pdf2/cfg/common/vars/en.xml file for English, the DITA-OT/plugins/org.dita.pdf2/cfg/common/vars/fr.xml file for French, etc. and they already contain the correct paths for all PNG images: note.png, warning.png, important.png, tip.png, danger.png, etc. as you can see by running the default DITA Map PDF transform.


Regards,
Sorin
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Problem Pubication PDF Note

Post by sorin_ristache »

Le Basque wrote:I found localisation file is no good in customization
Can you give an example? Did you try to use a localized string and it did not work? What string did you try to localize, for what language, and how did you test it in the DITA PDF transform?


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

Re: Problem Pubication PDF Note

Post by Le Basque »

I was mistaken in locating the file, now it's OK
Post Reply