OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: DOCBOOK-APPS: Does "measurement-to-length" works bad?


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







[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC