inc

The inc function generates a Template script that post-includes a document in the result document. The post-included text appears as is in the result document.

This function must be called in the text mode of a Template script and be used inside the @ ( ) construction.

 @( inc (post_include_document; path_to_the_post_include_document))

The result of this function is of type TEXT: the post-include statement itself. The construction @( ) places this text in the result document.

This function has no effect on the AiaDocXML and HTML output.

The function has two parameters.

  • post_include_document, type TEXT. This is the name of the document to be post-included. Add the document extension. Also, you can set the document with its complete path in this parameter and leave the second parameter empty.
  • path_to_the_post_include_document, type TEXT. This is the path to the document to be post-included. This is either an UNC path or a path relative to the path set with KCM Core Administrator. The path setting can be left empty if the path where the document can be found is exactly this configured path.