> > Sorry to say, but *I* don't expect this. I expect _italic_
> > fixed-width font.
>
> Ah, so you want the text inside @samp to be in italics as well? I
> didn't realize that. (I guess you want @i{@code{foo}} to typeset
> "foo" in italic fixed font also, right?)
Hmm, not really. I only want a consistent solution for the parameter
together with the quotes around it.
> In any case, I think the current effect of @samp inside @i is also
> useful: by not typesetting the text inside @samp in italics, it
> preserves its visual appearance, so e.g. a name of a variable or a
> function mentioned elsewhere in the text looks the same.
But the quotes...
> > The basic question is: Should @samp be stronger than @i?
>
> I don't know whether it was meant to be that way, but it is my
> impression that currently Texinfo consistently behaves as if _any_
> inner markup overrides the outer ones. For example, @code{something
> @var{foo}} typesets "foo" as if @code were not there. In other
> words, texinfo.tex doesn't merge the different typefaces that are in
> effect; instead, it uses the most recently specified one. Perhaps
> that is what TeX does if you specify a fixed-width font inside
> italics?
Yes, it does, and I welcome this behaviour. However, the current
implementation for DVI output is typographically bad.
Please look closely at the attached DVI file -- I've used LaTeX to
demonstrate the various possibilities.
Werner
zzz.dvi