bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: makeinfo and CSS


From: Torsten Bronger
Subject: Re: makeinfo and CSS
Date: Sat, 26 Apr 2003 01:10:10 +0200
User-agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2

Halloechen!

address@hidden (Karl Berry) writes:

>     2. Use 'inherit' instead of 'serif'.
>
> Thanks.  That seems cleaner than serif, although I think it's still not
> perfect.  If the current font happens to be bold or something when the
> @format starts, it seems the @format text is also be bold, not roman?

No, CSS implements something similar to LaTeX's NFSS: There are
font-family, -variant, -weight etc.  If you set font-family to
'inherit' the only problem could be that the context was already in
monospaced.  But according to Texinfo's standard syntax I can't
construct something where this happens.  (And if I could, it
wouldn't make much sense probably.)

> So there is no simple value meaning "go back to the default font"?
> How annoying :).

No, indeed not.  The reason for this is that an HTML element with
CSS style only knows how its parent looks like.  It doesn't know the
properties of the other ancestors.  The expression "default font" is
difficult to define within *C*SS.

Tschoe,
Torsten.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]