Re: INCLUDE directive stopped working

2001-05-30 16:44:23
(courtesy cc to mhonarc list since my response may be useful to others)

On May 30, 2001 at 14:52, pegmgr(_at_)peg(_dot_)com wrote:


Something like the above is not supported.  The INCLUDE resource
is for including MHonArc *resource definitions* from another file.
It is not a general include-file-here.  Also, MHonArc does not
support nested resource definitions.  For example, IdxPgBegin treats
is content as document markup to print on index pages.  The only
processing done on the data is resource variable expansion.

To the desired effect you want, you can do something like the following:


And in pgbegin.mrc, you have the following:

        ... page begin markup here ...

In sum, your included resource files contain resource variable definitions
that you can then reference in page layout resources.  For readable,
you can put all of your includes at the top of the main resource file
and then just reference the resource variables they define where needed.

Hope this helps,


<Prev in Thread] Current Thread [Next in Thread>