Appending path to a filename resolved via entity ref

Subject: Appending path to a filename resolved via entity ref
From: "joseph, Gershon" <Gershon_joseph@xxxxxxxxxxxxx>
Date: Thu, 29 Jul 1999 13:24:20 +0300
And now for my next question...

Our other SGML applications have some way of setting the path to graphics
files. Graphics entities are therefore declared with system IDs containing
only the filename, without the path.

How can I tell Jade where to look for graphics? I checked the Jade
documentation, and there isn't a switch for this.

I tried many variations on the following theme, none of which produces the
desired result of <path><filename>.

(element (fig graphic)
	(make external-graphic
		space-before: (* 2 *bodySpaceBefore*)
		space-after: (* 2 *bodySpaceBefore*)
		display?: #t
		scale: 1 
		display-alignment: 'start
		entity-system-id: (string-append
			"figures\\"
			(entity-generated-system-id (attribute-string
"file")))))

Jade cannot resolve the path and filename.

I prefer not putting the path explicitly in the entity declarations, as this
makes maintenance hard.

Thanks in advance for the assistance,

Gershon.


Gershon Leib Joseph
DOCUMENTATION TECHNOLOGIES MANAGER
Comverse Network Systems
Tel: +972-3-645-2001
Fax: +972-3-645-4088
email: gershon_joseph@xxxxxxxxxxxxx


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


Current Thread