groff
[Top][All Lists]
Advanced

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

Re: [Groff] pdfmark macros (was poll: which macro packages are in common


From: Keith MARSHALL
Subject: Re: [Groff] pdfmark macros (was poll: which macro packages are in common use / and why)
Date: Mon, 27 Sep 2004 10:41:54 +0100

Werner Lemberg wrote:
> I wonder whether your current implementation is optimal.

I'm sure it isn't -- it is still at alpha status, after all :-)

> Wouldn't it be better to create pseudo-arrays (i.e., `foo-1',
> `foo-2', ...), passing indices to the recursive macro calls,
> instead of a very long string which has to be parsed into
> single arguments again and again?

Thanks for the tip.  I'll give some thought as to how such a
strategy might be fitted into the existing code framework.  As
you suggest, it must be more efficient to have each macro call
deal with only those page mapping arguments which it actually
needs, without having to also handle a long list which are not
needed until some later, independent call to the same macro.

I'm sure there are other ways in which this stuff could be
improved -- any further ideas/comments are welcome.

Best regards,
Keith.




reply via email to

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