Re: Appending path to a filename resolved via entity ref

Subject: Re: Appending path to a filename resolved via entity ref
From: MARK.WROTH@xxxxxxxxxxx (Wroth, Mark)
Date: Fri, 30 Jul 1999 07:56:17 -0700
This is not quite an answer to your question, and I'm not completely sure it
will work, but Pomade has some facilities that appear to be relevant to
this.  I haven't tried to use them, but they may be worth looking at.

----
Date: Thu, 29 Jul 1999 13:24:20 +0300
From: "joseph, Gershon" <Gershon_joseph@xxxxxxxxxxxxx>
Subject: Appending path to a filename resolved via entity ref

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


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


Current Thread