<programs>

The <programs> tag is a document-level configuration element inside <docinfo>. It sets default options for <program> listings, such as the default language or whether download links are shown.

Individual <program> elements can still override these defaults when needed.

Syntax

Attributes

Attributes for <programs>
AttributeRequired?Values
compiler-args = "…"optionalstring​
download = "…"optional"yes"​"no"​
interpreter-args = "…"optionalstring​
language = "…"optionalstring​
linenumbers = "…"optional"yes"​"no"​
linker-args = "…"optionalstring​
timeout = "…"optionalstring​

Children

This tag must be empty (i.e., no children or text allowed).

Parents

This element may appear as an immediate child of the following elements: <defaults>

Examples