(dsssl) polymorphic em

Subject: (dsssl) polymorphic em
From: Trent Shipley <tcshipley@xxxxxxxxxxxxx>
Date: Mon, 1 Oct 2001 17:12:17 -0700
The style sheet indicated below has an annoying definition for "em" units.

;; DSSSL style sheet for TEI-Lite print output
;;
;; Started 1996.07.27
;; This version 1996.12.10; V1.0
;;
;; Richard Light


(define-unit em *bf-size*)
(define *bf-size* 12pt)

Suppose I change context from the base context to epigraph that
has a font-size of 10pt.  Now an em should be 10pts.

em's are a constant.  They should be relative to current context.

How do I effectively produce this?

(define-proportional-unit em current-context-fontsize)

So that a procedure MAKE-DOUBLE-INDENTED-PARAGRAPH can be written once
and used for both a blockquote in upright base-font and for epigraph
in italic (- base-font 2pt).

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

Current Thread