Info Node: (texinfo)@verbatiminclude

CFHT HOME texinfo: @verbatiminclude


up: Quotations and Examples next: @lisp prev: @verbatim Back to Software Index

10.6 '@verbatiminclude' FILE: Include a File Verbatim
=====================================================

You can include the exact contents of a file in the document with the
'@verbatiminclude' command:

     @verbatiminclude FILENAME

  The contents of FILENAME is printed in a verbatim environment (Note:
@verbatim).  Generally, the file is printed exactly as it is, with all
special characters and white space retained.  No indentation is added;
if you want indentation, enclose the '@verbatiminclude' within
'@example' (Note: @example).

  The name of the file is taken literally, with a single exception:
'@value{VAR}' references are expanded.  This makes it possible to
include files in other directories within a distribution, for instance:

     @verbatiminclude @value{top_srcdir}/NEWS

(You still have to get 'top_srcdir' defined in the first place.)

  For a method on printing the file contents in a smaller font size, see
the end of the previous section on '@verbatim'.


automatically generated by info2www version 1.2