some text @math{b_l @ldots b_h} some more text

Use \ldots instead of @ldots, etc.  makeinfo does not recognize all the
hundreds of math commands.

    `::' is a reserved keyword in C++ and I would like to index this keyword.
    Is there a way to avoid this warning?

Yes, use makeinfo --no-warn.  But the index entry won't work in the Info
readers, that's why the warning is there in the first place.  This is a
bad restriction, but no fix is at hand.

    where toto.texi is created from toto.cpp by just running
    sed -e 's/{/@{/' -e 's/}/@}/'

You could use @verbatiminclude toto.texi and not have to do the sed stuff.

    Is there an @example environment that will wrap around lines that
    are too long?

Doing line breaking in code examples would be wrong; the result would
often be erroneous.

As long as you're using sed anyway, maybe you could kludge this if you
really need by:
1) using @quotation
2) giving  -e s/^/@t{/' -e 's/$/}' to sed to typeset each line in the
   typewriter font.
2) giving  -e 's/$/@*/'  to sed to force a line break after every input line.

I didn't try it.  For what it's worth ...

~karl


_______________________________________________
Help-texinfo mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-texinfo

Reply via email to