[3400] in Athena Bugs

home help back first fref pref prev next nref lref last post

Scribe all versions, missing facecodes in Heading font

daemon@ATHENA.MIT.EDU (Dave Morrison)
Wed Oct 11 17:08:23 1989

To: bugs@ATHENA.MIT.EDU
From: Dave Morrison <drmorris@ATHENA.MIT.EDU>
Date: Wed, 11 Oct 89 17:07:56 EDT

HeadingFont does not have definitions for many FaceCodes that BodyFont
has.

The common manifestation occurs when a user tries to include an equation
in a Caption which the list of figures and list of tables cannot handle.

Another manifestation is attempting to use Greek in a HeadingFont in a
SansSerif FontFamily.

The result is an error like:

[~]:gevalt % cat > foo.mss
@MajorHeading(@g(A))
[~]:gevalt % scribe foo.mss
...
Error in G command found while processing the manuscript.
foo.mss, line 1:  @MajorHeading(@g(A))
Font HEADINGFONT does not include facecode G (Greek).
Using facecode R (if possible) instead.


The FIX:

The definitions for BodyFont and HeadingFont for all PostScript
FontFamilies look something like this:

@DefineFont(BodyFont,
        A=<Typecase "PsMathTR10">,
        I=<RawFont "TimesItalic">,
        B=<RawFont "TimesBold">,
        R=<RawFont "TimesRoman">,
        F=<RawFont "CourierBold">,
        G=<TypeCase "PsGreek">,
        Y=<TypeCase "PsPubsSerif">,
        J=<TypeCase "PsSymbol1">,
        K=<TypeCase "PsSymbol2">,
        Z=<RawFont "TimesItalic">,
        P=<RawFont "TimesBoldItalic">,
        T=<RawFont "Courier">,
        S=<RawFont "AccentTimesRoman">)
@DefineFont(HeadingFont,
        P=<RawFont "TimesBoldItalic">,
        B=<RawFont "TimesBold">,
        I=<RawFont "TimesBoldItalic">,
        R=<RawFont "TimesRoman">,
        G=<TypeCase "PsGreek">,
        S=<RawFont "AccentTimesBold">)

Define the following FaceCodes for HeadingFont:

A,F,G(for some FontFamilies), Y, J, K, Z, T

I think that a non-bold heading characacter is better than none at all.

	- Dave Morrison


home help back first fref pref prev next nref lref last post