[ http://jira.codehaus.org/browse/DOXIA-99?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_101013 ]
Lukas Theussl commented on DOXIA-99: ------------------------------------ The reason why apt doesn't specify the figure extension is that aptconvert can produce output in several formats that do not always support the same figure types (eg latex only supports eps which is not at all supported by html). When a certain format is not found, the apt processor itself tries to convert one of the existing formats. Doxia cannot do that of course. I'd suggest to add something to the Sink API: {code} String getFigureExtensions(); {code} or similar, which could return a list of supported graphics formats. The sink then has to check which files exist before writing the result. > Figures require extension in APT and they should not > ---------------------------------------------------- > > Key: DOXIA-99 > URL: http://jira.codehaus.org/browse/DOXIA-99 > Project: doxia > Issue Type: Bug > Affects Versions: 1.0-alpha-5, 1.0-alpha-6, 1.0-alpha-7, 1.0-alpha-8 > Reporter: Greg Luck > Assignee: Jason van Zyl > > Figures require extension in APT and they should not. > For example, http://ehcache.sourceforge.net/nameandlogo.html shows a broken > image. The APT for this page is: > [images/ehcache_logo] > Now, if I change it to [images/ehcache_logo.gif] it works. However this > breaks aptconvert. The reason is that it is illegal in APT to specify the > figure extension. I use aptconvert to create a pdf and single HTML page. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira