bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: @{ and @} in @deffn


From: Eli Zaretskii
Subject: Re: @{ and @} in @deffn
Date: Tue, 20 Mar 2001 10:48:55 +0200 (IST)

On Mon, 19 Mar 2001, Werner LEMBERG wrote:

> > > > Did you try "@deffn{Escape \@@@{}"?
> > > 
> > > Yes.  I get something like
> > > 
> > >   stdin:6278: Missing `}' in @def arg.
> > >   stdin:6279: Unmatched }.
> > > 
> > > while using texi2dvi.  So it fails.
> > 
> > Do you have problems in texi2dvi or in makeinfo (or both)?
> 
> In makeinfo (and consequently in texi2dvi).

Okay, I'll look into this and see what can be done.  Thanks for
reporting.

> Looking into tex2dvi (v. 0.43 coming with the texinfo 4.0
> distribution), I see that texi2dvi is the problem -- the comment says
> 
>   # A sed script that preprocesses Texinfo sources in order to keep
>   # the iftex sections only.
> 
> Consequently, line numbers are incorrect if an error occurs.

Yes, it would seem so.

> > > What about replacing the macro lines with comment lines instead of
> > > removing them completely?
> > 
> > What for?  What's wrong with the current modus operandi?
> 
> I suggest that texi2dvi's `comment_iftex_sed' sed script doesn't
> remove `ifinfo' sections but just comment out to have correct line
> numbers.

Sorry, I thought you were talking about "makeinfo -E".



reply via email to

[Prev in Thread] Current Thread [Next in Thread]