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: [EMAIL PROTECTED]

Reply via email to