(dsssl) Admonition graphics

Subject: (dsssl) Admonition graphics
From: Dan Richter <daniel.richter@xxxxxxxxx>
Date: Wed, 30 Apr 2003 13:45:48 +0200
Hi everyone.

I have successfully added graphics using MediaObject in both print and HTML, and I have successfully defined my own admonition graphics in HTML. But when I try to add admonition graphics in print, I get a bunch of error messages. (I can't distinguish important messages from critical ones; all I know is that I get a bunch of error messages.)

My code is:

(define %admon-graphics% #t)

  (define ($admon-graphic$ #!optional (nd (current-node)))

This very image works just fine when used as an InlineMediaObject. Also note that this definition doesn't use %admon-graphics-path% or admon-graphic-default-extension, so I don't have to worry about them.

I also added the following line, hoping it would help (but it didn't):

  (define ($admon-graphic-width$ #!optional (nd (current-node)))

Can anyone tell me what's wrong?

========== Dan Richter ============== mailto:Dan@xxxxxxxxx ===========
  BOOT MAGAZINE: Do you consider yourself a celebrity?
  LINUS TORVALDS: Sometimes. ... But at the same time I don't have
        young girls coming and screaming at me and throwing their
        underwear! Which is just as well, as I'm a married man!

DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist

Current Thread