Very promising! thanks for the quick explanation.

On Mon, May 26, 2014 at 12:26 PM, Hussein Shafie <[email protected]>wrote:

> On 05/26/2014 10:57 AM, Niels Grundtvig Nielsen wrote:
>
>> Just wondering … in my current layout for printed documentation, I use
>> an icon in the margin to identify different types of note.
>>
>
> In principle, you don't need to do this. See below.
>
>
>
>
>
>  If I wanted
>> to do the same sort of thing starting from DITA, would this be an xslt
>> tweak?
>>
>
> No. Simply pass parameter use-note-icon=yes to the DITA XSLT stylesheets.
>
> See http://www.xmlmind.com/ditac/_distrib/doc/manual/xsltParams.
> html#xsltParams__use-note-icon
>
> If you want to use your own icons:
>
> 1) Replace all the PNG icons found 
> XXE_install_dir/addon/config/dita/xsl/fo/resources/
> by your own icons.
>
> Make sure to use the same file basenames.
>
> Let's suppose you have a set of *SVG* icons. Now
> XXE_install_dir/addon/config/dita/xsl/fo/resources/ contains
> attention.svg, caution.svg, etc.
>
> 2) Pass the following parameters to DITA XSLT stylesheets:
>
> note-icon-suffix=.svg
>
> (default value: .png)
>
> note-icon-width=1cm
>
> note-icon-height=1cm
>
> (SVG being a vector format, the dimension of the icon must be explicitly
> specified. The default value is 7mm x 7mm.)
>
>
>
>
>
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to