bug-texinfo
[Top][All Lists]
Advanced

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

Re: Problem with macros in displays


From: Laurence Finston
Subject: Re: Problem with macros in displays
Date: Mon, 29 Nov 2004 20:41:11 +0100
User-agent: IMHO/0.98.3+G (Webmail for Roxen)

> 
> I'm afraid it'll be the most feasible way.
> 

It's not a problem.

> Oh, I see.  @macro reads the body with active ^^M (end-of-line char).

Aha!

> 
> But we have to preserve the end-of-lines in macro body, because many
> macros have their paremeter delimited by it.

Okay.

> As it stands, it is easiest to do it this way:
> 
> @macro foo {arg}
> ...
> @end macro
> @tex
> \gdef\foo#1{...}
> @end tex
> 
> > > Well, as far as your request ``make @macros work in @display's'' is
> > > concerned, it's hard to accomplish and I beleive it's not the right way.
> 
> First: my formulation was rather harsh, sorry.

I wasn't offended, my remark was just an attempt at humor.

> But I'm afraid it not easy to accomplish it.  The situation about @macro's
> cause much frustration.
> 

> 
> If your knowledge of plain TeX programing rusted, I'll be glad to advice.
> But for real texinfo expertise, Karl is much better then I.

I think I'll be able to muddle through, but I'll ask for help if I need it.

Thanks again for your help.

Laurence




reply via email to

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