This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

AW: [docbook-apps] simg:getWidth and relative pathnames


hi,

i tested it with a xml containing filerefs to images using abs. paths and rel. paths.
with relative paths simg:getWidth returns the second given parameter, with absoilute paths it works fine.

mfg,
	sebastian

-----Ursprüngliche Nachricht-----
Von: Bob Stayton [mailto:bobs@sagehill.net]
Gesendet: Donnerstag, 5. August 2004 20:51
An: Sebastian Fey; Docbook-Apps (E-Mail)
Betreff: Re: [docbook-apps] simg:getWidth and relative pathnames


In my testing simg:getWidth works with relative pathnames too.  What leads
you to believe it only works with absolute pathnames?

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Sebastian Fey" <fey@parsytec.de>
To: "Docbook-Apps (E-Mail)" <docbook-apps@lists.oasis-open.org>
Sent: Wednesday, August 04, 2004 6:51 AM
Subject: [docbook-apps] simg:getWidth and relative pathnames


Hi,


i want to use simg:getWidth to find out the intrinsic width of images (used
as terms in a variablelist). but it seems like simg:getWidth only works with
absolute pathnames.
i use relative pathnames with my images (they are stored in a subfolder of
the folder containing the .xml)

is there a way to find out the folder the .xml is contained in?

thx in advance,
Sebastian Fey




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]