Hi Marc,

    What is the official way to get a proper '&' in texinfo?

Is the proper one bold or roman, in your eyes?

I guess it never got written down, but the idea behind the special
interpretation of & in texinfo.tex was for use in Lispish languages,
where it introduces a keyword (&rest, etc.).  So it is printed in bold
in the arg lists for @defun and the other untyped definitions.

Since C++ is a typed language, unlike Lisp, it seems like @deftypefun
and @deftypemethod are the proper things to use.  And in that case, the
& is printed in roman.

If that's what you wanted, it seems the remaining question is the extra
space.  I don't see it.  If you're not using the latest texinfo.tex,
please try that (you can get it from tug.org:tex/texinfo.tex, among many
other places).  Unless you meant makeinfo output; I didn't try running
makeinfo on it.

(No question that the whole typed vs. untyped support is suboptimal.)

Best,
Karl


Reply via email to