On Jan 2, 2012, at 3:23 PM, Marco van de Voort wrote:

> In our previous episode, michael.vancann...@wisa.be said:
>>> the same directory as the .xml file is and from where the chm file is
>>> generated from.
>>> 
>>> All relevant files and scripts are in SVN.
>> 
>> CHM ? This is for Marco.
> 
> I don't think it differs from html. Some questions that come to mind:
> 
> Upon reading, my first guess would be that either that specification how
> paths are transformed is murky (and it just "happens" to work with latex),
> or some transformation is missing in this specific case.
> 
> Do we have pictures in fpdoc docs somewhere? (and then I don't mean pictures
> generated by tex4ht, I mean own pictures). IIRC Lazarus lcl has some in the
> grids descriptions.

never been used before afaict

find . | xargs grep img
./fcl/.svn/all-wcprops:fpimgcmn.xml
./fcl/.svn/all-wcprops:/svn/lazarus/!svn/ver/23716/trunk/docs/xml/fcl/fpimgcmn.xml
./fcl/.svn/all-wcprops:fpimgcanv.xml
./fcl/.svn/all-wcprops:/svn/lazarus/!svn/ver/23716/trunk/docs/xml/fcl/fpimgcanv.xml
./fcl/.svn/entries:fpimgcmn.xml
./fcl/.svn/entries:fpimgcanv.xml
./fcl/.svn/text-base/fpimage.xml.svn-base:          
<var>DefaultImageClass</var> - Image Class to create when no img is given for 
reading</short>
./fcl/.svn/text-base/fpwritebmp.xml.svn-base:      <element 
name="TFPWriterBMP.Pack4bpp.img">
./fcl/.svn/text-base/fpwritebmp.xml.svn-base:      <element 
name="TFPWriterBMP.Pack1bpp.img">
./fcl/fpimage.xml:          <var>DefaultImageClass</var> - Image Class to 
create when no img is given for reading</short>
./fcl/fpwritebmp.xml:      <element name="TFPWriterBMP.Pack4bpp.img">
./fcl/fpwritebmp.xml:      <element name="TFPWriterBMP.Pack1bpp.img">
./lcl/.svn/all-wcprops:imglist.xml
./lcl/.svn/all-wcprops:/svn/lazarus/!svn/ver/33617/trunk/docs/xml/lcl/imglist.xml
./lcl/.svn/entries:imglist.xml
./lcl/.svn/text-base/popupnotifier.xml.svn-base:<element 
name="TNotifierForm.imgIcon">
./lcl/interfaces/gtk/.svn/all-wcprops:gtkwsimglist.xml
./lcl/interfaces/gtk/.svn/all-wcprops:/svn/lazarus/!svn/ver/7699/trunk/docs/xml/lcl/interfaces/gtk/gtkwsimglist.xml
./lcl/interfaces/gtk/.svn/entries:gtkwsimglist.xml
./lcl/popupnotifier.xml:<element name="TNotifierForm.imgIcon">

> What does the path of the img mean (source or destination path?)

No idea. However if I use: <img file="nvwidgets.png" caption="nvidia-widgets 
class chart"/> 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/)

Regards, Darius
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to