On Mon, 27 Dec 1999, Karl Heinz Marbaise wrote:
> It seemed to me, that you don't read my mail completly ;-(
I was mostly replying to your original message, not to the one I saw
today. It seemed to me that the latter was saying the same things
I found yesterday night when I fixed the handling of your original
test case.
If I misunderstood some of your latest message, I'm sorry; I certainly
didn't do that on purpose.
> Take a look at the following:
> KM> This above works in Info very well, and like I expected, but
> KM> it does not work in HTML, cause the handling of the Arguments to
> KM> @defmac is working not like I thought (I have taken a look
> KM> into the source code, there are missing some execute_string
> KM> for HTML area, but this won't solve the complete problem
> KM> anymore).
I tried to explain why execute_string cannot be freely called in this
case: the {foo} construct defeats it.
> KM> The scanning of the arguments for @defmac and for the other
> KM> definition commands is not correct (IMHO).
If you mean that it doesn't do a full expansion of the arguments to
@defXXX, then you are right. The problem is how to do this without
hurting anything else.
> KM> The defined_name value within source code shows:
> KM> "@value{AT}" and not more. The rest will be added in later
> KM> reader loop and not as a result from scanning arguments to
> KM> @defmac.
> KM> It should be:
> KM> "@value{AT}TESTMACOR@value{AT}" This can be resolved in
> KM> HTML using execute_string ().
Sorry, I don't follow your line of reasoning here. Could you please post
an example of a Texinfo source to which you refer here?
> What do you think about the following?
> KM> The next thought I have was to suppress complete
> KM> replacement if such an argument starts with a single brace.
>
> KM> @defmac {@value{AT}TESTMACOR@value{AT}} ()
> KM> should be inserted as it is.
>
> KM> -- Macro: @value{AT}TESTMACOR@value{AT} ()
>
> KM> Might this be a acceptable way?
I'm not sure I understand what are you suggesting. Again, an example,
perhaps the same as above, will probably make it clear.
Last, but not least, did the changes I posted help to take care of at
least part of your problems? It is important for me to know whether I'm
on the right track or not.