This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: typography in dbprint.dsl


me, 20:08 09.03.2002:
>(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]

Pretty bad idea to redefine $charseq$'s rendering since it is used for many 
elements, not just uppercase-words (as I see in dbinline.dsl). So I defined 
in dbprint.dsl (and reference it in dbinline.dsl, line 116 for acronyms):

(define ($charseq-smaller$ #!optional (sosofo (process-children)))
   (make sequence
     font-size: (* (inherited-font-size) 0.975)
     sosofo))


>Now it gives some 'feedback' to use <acronym>. *g*


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]