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: typography in dbprint.dsl


(1) In docbook-dsssl-1.76 italic monospace and strong monospace do not 
inherit verbatim-size-factor. Parts of my new dbprint.dsl [see below].

(2) Good typography is to typeset acronyms a little bit smaller than 
normal, e.g. 9.5pt instead of 10pt is a good font-size for acronyms not to 
catch the eye too much. (I'm not talking about Small Caps here ;)
So I inserted "font-size: ..." in the "(define $charseq$" area. [see below 
below]
Now it gives some 'feedback' to use <acronym>. *g*


Is this something you might add in an update?

Regards, david



;(1)
(define ($mono-seq$ #!optional (sosofo (process-children)))
   (let ((%factor% (if %verbatim-size-factor%
		      %verbatim-size-factor%
		      1.0)))
     (make sequence
       font-family-name: %mono-font-family%
       font-size: (* (inherited-font-size) %factor%)
       sosofo)))

(define ($italic-mono-seq$ #!optional (sosofo (process-children)))
   (let ((%factor% (if %verbatim-size-factor%
		      %verbatim-size-factor%
		      1.0)))
	  (make sequence
	    font-family-name: %mono-font-family%
	    font-size: (* (inherited-font-size) %factor%)
	    font-posture: 'italic
	    sosofo)))

(define ($bold-mono-seq$ #!optional (sosofo (process-children)))
   (let ((%factor% (if %verbatim-size-factor%
		      %verbatim-size-factor%
		      1.0)))
	  (make sequence
	    font-family-name: %mono-font-family%
	    font-size: (* (inherited-font-size) %factor%)
	    font-weight: 'bold
	    sosofo)))



;(2)
;acronyms should be sth like half a point smaller to not stand out
(define ($charseq$ #!optional (sosofo (process-children)))
   (make sequence
     font-size: (* (inherited-font-size) 0.975)
     sosofo))



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


Powered by eList eXpress LLC