This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Does "measurement-to-length" works bad?
- To: docbook-apps <docbook-apps at lists dot oasis-open dot org>
- Subject: DOCBOOK-APPS: Does "measurement-to-length" works bad?
- From: "Juan R. Migoya" <promo804 at hsoft dot es>
- Date: Mon, 13 Aug 2001 20:00:27 +0200
The "measurement-to-length" function in the lib/dblib.dsl file of
the Docbook DSSSL distribution works with an associative list.
It seems that the program always look for unit in uppercase (CM, MM
and so on), but the list is is lowercase (cm, mm, ...). So it always
defaults
to "1pi".
The easier workaround is to duplicate each element of the list in this
way:
(define unit-conversion-alist
;; REFENTRY
;; PURP Defines the base length of specific unit names
;; DESC
;; This list identifies the length of each unit.
;; /DESC
;; /REFENTRY
(list
'("default" 1pi)
'("mm" 1mm)
'("MM" 1mm)
'("cm" 1cm)
'("CM" 1cm)
and so on.
Hope this help.
Regards,
Juan R. Migoya
SPAIN
------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org