m4-discuss
[Top][All Lists]
Advanced

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

Re: m4: Unable to include file --urgent help required


From: Gary V. Vaughan
Subject: Re: m4: Unable to include file --urgent help required
Date: Sun, 8 Jul 2007 12:08:23 -0400

On Jul 2, 2007, at 6:11 AM, Pratibha Chelekar wrote:
I could finally get rid of "can't open file" error message. Now getting
below error message.

m4:ZF01.m4:common.m4:17 bad macro name
define([[
<TABLE>
<TR><TH>Stationery:</TH><TD></TD></TR>
<TR><TH>Inserts:</TH><TD></TD></TR>
<TR><TH>Letter owner:</TH><TD></TD></TR>
<TR><TH>Designer:</TH><TD></TD></TR>
<TR><TH>Last modified:</TH><TD></TD></TR>
<TR><TH>Version:</TH><TD></TD></TR>
<TR><TH>Manual(M) or Automatic(A):</TH><TD></TD></TR>
<TR><TH>Postage class:</TH><TD></TD></TR>
</TABLE>
]][[
<TABLE>
<TR><TH>Stationery:</TH><TD>$1</TD></TR>
<TR><TH>Inserts:</TH><TD>$2</TD></TR>
<TR><TH>Letter owner:</TH><TD>$3</TD></TR>
<TR><TH>Designer:</TH><TD>$4</TD></TR>
<TR><TH>Last modified:</TH><TD>$5</TD></TR>
<TR><TH>Version:</TH><TD>$6</TD></TR>
<TR><TH>Manual(M) or Automatic(A):</TH><TD>$7</TD></TR>
<TR><TH>Postage class:</TH><TD>$8</TD></TR>
</TABLE>
]])

Assuming you have quotes set to square brackets, you are calling define
with a single argument here:

  define([[first_half_of_macro_name]][[second_half_of_macro_name]])

Creates a macro called:

  first_half_of_macro_namesecond_half_of_macro_name

With no expansion (no second argument).

define([[_AX3101P_HEADER]][[ <DIV CLASS="header"><TABLE> <TR> <TD
CLASS="left">Your account number<BR><SPAN
CLASS="bal">ACC_DISTRICT_ID</SPAN> <SPAN
CLASS="fixed">accountNumber</SPAN><BR><BR>Customer reference
number<BR><SPAN
CLASS="fixed">owningCustomerNode-&gt;id</SPAN><BR><BR>Date<BR><SPAN
CLASS="bal">LETTDTCH</SPAN> </TD> <TD> <SPAN
CLASS="fixed">addressName</SPAN><BR> <SPAN
CLASS="fixed">address1</SPAN><BR> <SPAN
CLASS="fixed">address2</SPAN><BR> <SPAN
CLASS="fixed">address3</SPAN><BR> <SPAN
CLASS="fixed">address4</SPAN><BR> <SPAN CLASS="fixed">address5</SPAN>
</TD> </TR> </TABLE></DIV>]])
Stationery mismatch in letter ZF01.

Any idea why am I getting stationary mismatch error? Let me know if you
need any more information.

There is no string 'Stationery mismatch' (note bad spelling!) in the sources for GNU m4. Either you are picking up another vendor m4, or it is a system
error due to your calling environment.

Cheers,
        Gary
--
  ())_.              Email me: address@hidden
  ( '/           Read my blog: http://blog.azazil.net
  / )=         ...and my book: http://sources.redhat.com/autobook
`(_~)_      Join my AGLOCO Network: http://www.agloco.com/r/BBBS7912




Attachment: PGP.sig
Description: This is a digitally signed message part


reply via email to

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