You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the d4p-html5 plugin (RC26 from Nov 14, 2016) on OT 2.4.5, images aren't copied. fileset/@dir in copy-graphics.xml is empty.
I tried to resolve the issue with Radu's solution from dita4publishers/org.dita4publishers.epub#71 but with no progress. I also tried OT properties like args.input.dir likewise with no progress.
Ultimately I was able to get the images to copy by modifying $absoluteUrl in xsl:template mode="map2graphicmap:handleImageListFile" match="text()" in map2graphicMap.xsl:
I really don't see why these changes to $absoluteUrl make a difference because it looks logically equivalent to the original construction. But in the original, the value of $inputdir is missing.
Which brings me to the second part of the workaround. dita.input.dirname has to be specified on the command-line, which I don't think should be required. Furthermore a bogus directory has to be tacked on because the last segment disappears somewhere along the way. If I specify the actual location e.g. C:/users/ben/documents/documentation then it gets truncated to C:/users/ben/documents which is not correct.
So while I'm unblocked I'm not comfortable with the solution and would be interested in something tidier.
With the d4p-html5 plugin (RC26 from Nov 14, 2016) on OT 2.4.5, images aren't copied.
fileset/@dir
incopy-graphics.xml
is empty.I tried to resolve the issue with Radu's solution from dita4publishers/org.dita4publishers.epub#71 but with no progress. I also tried OT properties like args.input.dir likewise with no progress.
Ultimately I was able to get the images to copy by modifying
$absoluteUrl
inxsl:template mode="map2graphicmap:handleImageListFile" match="text()"
inmap2graphicMap.xsl
:But even so, results are inconsistent. Some maps get all their images copied, some don't.
The text was updated successfully, but these errors were encountered: