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

[mgp-users 00704] %include directive



Etienne Grossmann writes:
 >   Hello,
 > 
 >   when, I put in a page an %include "overlay.1.mgp", I get the error
 > 
 > undefined directive 32 at page 6 line 0:
 > 	0x8250470:  include "overlay.1.mgp"
 > 
 >   Would anyone know it there's any way to include mgp pages? (like a
 > #include or \input{})
 > 
 >   Cheers,
 > 
 >   Etienne
 > 

From the SYNTAX file (/usr/share/doc/mgp/SYNTAX)
----------------------
placement restriction for directives:
		.mgprc		preamble	main pages
		---		---		---
%vfcap		okay		x		okay
%tfdir		okay		x		okay
%tfont0		okay		x		okay
%default	x		okay		x
%tab		x		okay		x
%deffont	x		okay		x
%include	x		okay		x       <<<<<<<<<<<<<<
others		x		x		okay
----------------------

The %include directive is allowed only in the preamble.

-- 
    At\'e breve

Pedro Quaresma
Departamento de Matem\'atica
Faculdade de Ci\^encias e Tecnologia
Universidade de Coimbra
P-3000 COIMBRA, PORTUGAL
e-mail: pedro@mat.uc.pt
url: http://www.mat.uc.pt/~pedro/
phone: 351+ 239 791 181