> From: Akim Demaille <[EMAIL PROTECTED]>
> Date: 09 Jun 2000 14:01:03 +0200
> 
> @c A simple macro for optional variables.
> @macro ovar{varname}
> @r{[}@var{\varname\}@r{]}
> @end macro
[snip]
> which results in 
> 
> | 
> |      AC_CONFIG_FOOS(TAG..., [COMMANDS], [INIT-CMDS])
> | 
> 
> with makeinfo, and
> 
> |       
> |      AC_CONFIG_FOOS(tag..., [ commands]
> |      , [ init-cmds]
> |      )
> |
> 
> with TeX :(  Line breaking problems, and unwanted spaces after the
> `['.

The first thing to try when a macro doesn't work correctly in TeX is
to run the Texinfo source through "makeinfo -E" and then submit the
result to TeX.

The support for macros in texinfo.tex is not as powerful and full as
in makeinfo, because the syntax which was invented for macros really
cannot work well with TeX.  In fact, we should be grateful that macros
at all work with texinfo.tex.

Btw, IIRC, texi2dvi automatically passes the source through makeinfo -E,
doesn't it?  Or did you work around texi2dvi?

Reply via email to