You can control various parameters regarding callouts in the .dsl files (see Section 4.2 and Section 7.1.5). You should especially check the path to the callout images. In our case, it has to be “./images/callouts” , i.e.the images will be located in a subdirectory of the images directory, which in turn will be located inside the directory of the HTML files.
(define %callout-graphics% ;; If true, callouts are presented with graphics (e.g., reverse-video ;; circled numbers instead of "(1)", "(2)", etc.). ;; Default graphics are provided in the distribution. #t) (define %callout-graphics-path% ;; Sets the path, probably relative to the directory where the HTML ;; files are created, to the callout graphics. "./images/callouts/") (define %callout-graphics-extension% ;; REFENTRY callout-graphics-extension ;; PURP Extension for callout graphics ;; DESC ;; Sets the extension to use on callout graphics. ;; /DESC ;; AUTHOR N/A ;; /REFENTRY ".png") (define %callout-graphics-number-limit% ;; If '%callout-graphics%' is true, graphics are used to represent ;; callout numbers. The value of '%callout-graphics-number-limit%' is ;; the largest number for which a graphic exists. If the callout number ;; exceeds this limit, the default presentation "(nnn)" will always ;; be used. 10) |
Change to the myTemplate directory (we created it in Section 4.7) and extract the callouts archive:
tar -xzvf callouts.tar.gz |
This will create a subdirectory “images/callouts”, with all callouts graphics in it, in all the formats needed. Alternatively, you could copy the admonition images in the various formats into the images/callouts directory. The images contained are:
images/callouts/10.png images/callouts/1.png images/callouts/2.png images/callouts/3.png images/callouts/4.png images/callouts/5.png images/callouts/6.png images/callouts/7.png images/callouts/8.png images/callouts/9.png images/callouts/10.eps images/callouts/10.bmp images/callouts/10.pdf images/callouts/1.eps images/callouts/1.bmp images/callouts/1.pdf images/callouts/2.eps images/callouts/2.bmp images/callouts/2.pdf images/callouts/3.eps images/callouts/3.bmp images/callouts/3.pdf images/callouts/4.eps images/callouts/4.bmp images/callouts/4.pdf images/callouts/5.eps images/callouts/5.bmp images/callouts/5.pdf images/callouts/6.eps images/callouts/6.bmp images/callouts/6.pdf images/callouts/7.eps images/callouts/7.bmp images/callouts/7.pdf images/callouts/8.eps images/callouts/8.bmp images/callouts/8.pdf images/callouts/9.eps images/callouts/9.bmp images/callouts/9.pdf |
If you have only the GIF versions of the callouts, you can use the adddscr script:
cd images/callouts adddscr gif |
Instead of “gif”, you can use whatever version you happen to have (like “png”, “bmp” etc). The adddscr script will convert the format you designated into PNG first, then use the addd script to add density (see Section 4.9 and Section 7.2.2) and finally will create all the other formats with ImageMagik (see Section 3.6).
| Last updated Mon Sep 24 01:19:25 CEST 2007 | Permalink: http://www.karakas-online.de/mySGML/callouts.html | All contents © 2002-2007 Chris Karakas |