Description

If you put in an admonition (<note>) or a <calloutlist>) in a docbook document, the xslts output <img/> elements in the resulting html. If you use one of these constructs with a docbook docment the the moinmoin parser, then the resulting html appears with a link to upload the missing image (e.g. 1.png for the callout) as an attachment to the wiki page images/callouts (because the default path for images is images/callouts/1.png etc).

I did get the callouts to show up by creating dummy pages (images and the subpage images/callouts) and attaching the pngs to them, but there should be an easier way :-)

These paths are parameterized in the xslts. Perhaps the Docbook parser instructions should include a small customization layer that modifies these paths to someplace where the images could be found. Alternatively, the customization layer could jsut turn off callout graphics and admonition graphics.

Steps to reproduce

  1. Create a page usign the docbook parser that includes a calloutlist: http://docbook.org/tdg/en/html/programlistingco.html

Example

Details

MoinMoin Version

OS and Version

Python Version

Server Setup

Server Details

Workaround

Discussion

Plan


CategoryMoinMoinBug

MoinMoin: MoinMoinBugs/SupportDocBookImagesFromStyleSheets (last edited 2007-10-29 19:12:00 by localhost)