| | 159 | Although, this still doesn't support everything that docbook supports, for example in the Math documentation different images are used for print and html: |
| | 160 | |
| | 161 | {{{ |
| | 162 | [template graph[name] '''<inlinemediaobject> |
| | 163 | <imageobject role="html"> |
| | 164 | <imagedata align="center" fileref="../graphs/'''[name]'''.png"></imagedata> |
| | 165 | </imageobject> |
| | 166 | <imageobject role="print"> |
| | 167 | <imagedata align="center" fileref="../graphs/'''[name]'''.svg"></imagedata> |
| | 168 | </imageobject> |
| | 169 | </inlinemediaobject>'''] |
| | 170 | }}} |
| | 171 | |