Go to the first, previous, next, last section, table of contents.


HEADER

This macro defines a text body that is to be written at the very start of the output. The text body starts on the line following the macro and continues up to a line starting with a %% sequence (that is not a comment line) or the end of the file. A text body will have user macros fully expanded and equate macros substituted for evaluation later on. Note that user macros cannot be used at the start of a line within a text body as they will conflict with the predefined macros. Note also that because % is used as a macro identifier flag in a text body any other % should be escaped by using the \% sequence. This is not normally a problem since a % symbol has to be escaped for LaTeX anyway. The program fragment below is an example of this macro. The # character should also be escaped in a text body in the same way as this can flag the start of an equate.

%%HEADER
\documentstyle[a4]{article}
\begin{document}

If no HEADER is defined a default header is generated which is the name of each field in the master database file separated by the first character in the value of DELIM. This behaviour can be stopped by creating an empty HEADER definition or by creating a RECORD definition (empty or otherwise).

Note that the GPPHEADER and TEXHEADER predefined macros which the above replaces are deprecated and should not be used.


Go to the first, previous, next, last section, table of contents.