<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jan 2, 2012, at 3:23 PM, Marco van de Voort wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>In our previous episode, <a href="mailto:michael.vancanneyt@wisa.be">michael.vancanneyt@wisa.be</a> said:<br><blockquote type="cite"><blockquote type="cite">the same directory as the .xml file is and from where the chm file is<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">generated from.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">All relevant files and scripts are in SVN.<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">CHM ? This is for Marco.<br></blockquote><br>I don't think it differs from html. Some questions that come to mind:<br><br>Upon reading, my first guess would be that either that specification how<br>paths are transformed is murky (and it just "happens" to work with latex),<br>or some transformation is missing in this specific case.<br><br>Do we have pictures in fpdoc docs somewhere? (and then I don't mean pictures<br>generated by tex4ht, I mean own pictures). IIRC Lazarus lcl has some in the<br>grids descriptions.<br></div></blockquote><div><br></div><div>never been used before afaict</div><div><br></div><div><div>find . | xargs grep img</div><div>./fcl/.svn/all-wcprops:fpimgcmn.xml</div><div>./fcl/.svn/all-wcprops:/svn/lazarus/!svn/ver/23716/trunk/docs/xml/fcl/fpimgcmn.xml</div><div>./fcl/.svn/all-wcprops:fpimgcanv.xml</div><div>./fcl/.svn/all-wcprops:/svn/lazarus/!svn/ver/23716/trunk/docs/xml/fcl/fpimgcanv.xml</div><div>./fcl/.svn/entries:fpimgcmn.xml</div><div>./fcl/.svn/entries:fpimgcanv.xml</div><div>./fcl/.svn/text-base/fpimage.xml.svn-base: <var>DefaultImageClass</var> - Image Class to create when no img is given for reading</short></div><div>./fcl/.svn/text-base/fpwritebmp.xml.svn-base: <element name="TFPWriterBMP.Pack4bpp.img"></div><div>./fcl/.svn/text-base/fpwritebmp.xml.svn-base: <element name="TFPWriterBMP.Pack1bpp.img"></div><div>./fcl/fpimage.xml: <var>DefaultImageClass</var> - Image Class to create when no img is given for reading</short></div><div>./fcl/fpwritebmp.xml: <element name="TFPWriterBMP.Pack4bpp.img"></div><div>./fcl/fpwritebmp.xml: <element name="TFPWriterBMP.Pack1bpp.img"></div><div>./lcl/.svn/all-wcprops:imglist.xml</div><div>./lcl/.svn/all-wcprops:/svn/lazarus/!svn/ver/33617/trunk/docs/xml/lcl/imglist.xml</div><div>./lcl/.svn/entries:imglist.xml</div><div>./lcl/.svn/text-base/popupnotifier.xml.svn-base:<element name="TNotifierForm.imgIcon"></div><div>./lcl/interfaces/gtk/.svn/all-wcprops:gtkwsimglist.xml</div><div>./lcl/interfaces/gtk/.svn/all-wcprops:/svn/lazarus/!svn/ver/7699/trunk/docs/xml/lcl/interfaces/gtk/gtkwsimglist.xml</div><div>./lcl/interfaces/gtk/.svn/entries:gtkwsimglist.xml</div><div>./lcl/popupnotifier.xml:<element name="TNotifierForm.imgIcon"></div><div><br></div></div><blockquote type="cite"><div>What does the path of the img mean (source or destination path?)<br></div></blockquote><br></div>No idea. However if I use: <span class="Apple-style-span" style="color: rgb(146, 30, 192); font-family: Menlo; font-size: 11px; "><span style="color: #ae260f"><</span></span><span class="Apple-style-span" style="color: rgb(146, 30, 192); font-family: Menlo; font-size: 11px; "><span style="color: #000000">img file=</span></span><span class="Apple-style-span" style="color: rgb(146, 30, 192); font-family: Menlo; font-size: 11px; ">"nvwidgets.png"</span><span class="Apple-style-span" style="color: rgb(146, 30, 192); font-family: Menlo; font-size: 11px; "><span style="color: #000000"> caption=</span></span><span class="Apple-style-span" style="color: rgb(146, 30, 192); font-family: Menlo; font-size: 11px; ">"nvidia-widgets class chart"</span><span class="Apple-style-span" style="color: rgb(146, 30, 192); font-family: Menlo; font-size: 11px; "><span style="color: #ae260f">/> </span></span>in the XML file, then the HTML docs generated expect the file to be in ./images/. I would at least expect fpdoc to create the folder and copy the file from the original location. Moving the file to ./images and then generating the chm file also didn't work. On windows the expected location of the image seems to be: mk:@MSITStore:H:\other\nvidia-widgets\doc\nvwidgets.chm::/images/images/nvwidgets.png (this is the message after I have moved the .png to ./images/)<div><br></div><div>Regards, Darius</div></body></html>