From: SourceForge.net <no...@so...> - 2007-12-07 18:58:11
|
Bugs item #1846393, was opened at 2007-12-07 10:48 Message generated for change (Comment added) made by dmroot You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=1846393&group_id=21935 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: XSL Group: output: print/FO/PDF Status: Open Resolution: None Priority: 5 Private: No Submitted By: badger (dmroot) Assigned to: Nobody/Anonymous (nobody) Summary: fo/profile-docbook.xsl ignores img.src.pathf Initial Comment: docbook version 1.73.2 xalan parser 2.7 fop .94 Image file are located just fine using fo/docbook.xsl and the appropriate img.src.path setting however, profile-docbook.xsl does not locate the images. I hacked a fix by modifying the graphics.xsl process.image template to skip the call to the mediaobject.filename template and grab the value from the fileref attribute. For example: xsl:template name="process.image" ... xsl:variable name="filename" ... xsl:value-of select="@fileref" ... Not a very satisfying solution but it did fix the problem. It would appear that profile mode does something different someplace in the mediaobject.filename process. ---------------------------------------------------------------------- >Comment By: badger (dmroot) Date: 2007-12-07 10:58 Message: Logged In: YES user_id=1954749 Originator: YES I should note that the hack is not a generalized workaround for this problem. It's a very specific change to solve my particular problem. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=1846393&group_id=21935 |