Vincent van Ravesteijn wrote:
On Sat, 2008-10-25 at 11:32 -0400, rgheck wrote:
Vincent van Ravesteijn wrote:
On Sat, 2008-10-25 at 11:12 -0400, rgheck wrote:

Why isn't red colored text being painted in a footnote ?

You want it to be?
Well, if I choose to make text red (and in the LaTeX output it is), then
I expect it to be drawn with a nice red color on the screen.

OK, I see this, too. Is that also an effect of 26192 (or whatever it was)? I guess not, since everything BUT color seems to work as expected.


The problem is in stdinsets.inc:

This is defined for a footnote:
        Font
          Color               foreground
          Size                Small
          Family              Roman
          Shape               Up
          Series              Medium
          Misc                No_Emph
          Misc                No_Noun
          Misc                No_Bar
        EndFont

As a consequence, everything is painted in black, roman, up-shape text.
I don't understand why this is made this way ?
I guess, as Abdel said, the idea was that the text of a footnote shouldn't be sensitive to the surrounding text. But the LaTeX output IS sensitive to the surrounding range: If you make everything red, including the inset, you get red, including the inset. So the display should match. That said, this again works already for bold, small caps, etc, so there's something funny about how color is being handled here. And note that, in this respect, ERT acts the same way: If you make everything bold, including an ERT, then the ERT displays in bold, even though you can't modify to bold IN the ERT.

Moreover, although No_Emph is specified, you can emphasize text now and
it is shown on screen...

I don't know about No_Emph....

rh

Reply via email to