Hi there,

i'm writing documentation which uses macros which have At
Signs in to make them unique, like autoconf/automake
macros did.


Now I have created the documentation and found out, the
behaviour of the atsign is different, based on the context
it is used.

I have reduced my problem to the following test file.

------------- START OF FILE ----------------------------
\input texinfo @c -*-texinfo-*-
@setfilename test.info
@settitle test
@defmac {@@@@TESTMACRO@@@@} {Paras}
@end defmac
This is a chapter about macros like @@@@TESTMACRO@@@@,
which should be represented the same way.
@bye
------------- END   OF FILE ----------------------------

BTW: I'm using Texinfo 4.0

Now I have created a HTML-File out of the Texinfo file:

makeinfo --html --ifinfo test.texi
with the following result (I have cutted out the header,
which is not relevant for my problem:

------------- START OF FILE ----------------------------
1   
2   <<p>p>
3   <table width="100%">
4   <tr>
5   <td align="left"><b>@@@@TESTMACRO@@@@</b><i> Paras
6   </i></td>
7   <td align="right">Macro</td>
8   </tr>
9   </table>
10  <table width="95%" align="center">
11  <tr><td>
12  </TD></TR>
13  </TABLE>
14  This is a chapter about macros like @@TESTMACRO@@,
15  which should be represented the same way. 
16  
17  
18  </body></html>
------------- END   OF FILE ----------------------------

Like you can see, the At-Sign's whithin the Macro definition
are handled different then they are handled in normal text.
The line 14 is what I expected, but not line 5.

The line 2 shows a little problem, which is not so urgent.

Now my question is: Is this right behaviour or did I miss
something?

Next step is, if I don't use the braces around
{@@@@TESTMACRO@@@@} I get something unexpected for me.

------------- START OF FILE ----------------------------
\input texinfo @c -*-texinfo-*-
@setfilename test.info
@settitle test
@defmac @@@@TESTMACRO@@@@ {Paras}
@end defmac
This is a chapter about macros like @@@@TESTMACRO@@@@,
which should be represented the same way.
@bye
------------- END   OF FILE ----------------------------



BTW: I have removed the header which is not relevant to
this problem:
------------- START OF FILE ----------------------------

<<p>p>
<table width="100%">
<tr>
<td align="left"><b>@@@@</b><i>TESTMACRO@@ Paras
</i></td>
<td align="right">Macro</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
</TD></TR>
</TABLE>
This is a chapter about macros like @@TESTMACRO@@,
which should be represented the same way. 


</body></html>
------------- END   OF FILE ----------------------------

Now the At-Signs are handled like the macro name and not
replaced like above (@@ => @, @@@@ => @@)


May be I'm wrong, could someone explain this a little
more in deep?

Thanks in advance.


BTW: happy christmas (better late than never)
     and a happy new year.


-- 
Jabba dabba dooohhh      e-mail: [EMAIL PROTECTED]
'til next mail.        Internet: http://www.fido.de/~kama/
  Karl Heinz 7:-)       Fidonet: 2:2452/110.18
                          Voice: +49 241 962380

Reply via email to