13. copyAsInclusion

Parameter syntax:

[ '[implicitElement]' ]?

Copies explicitly selected element (or implicitly selected element if the [implicitElement] option is used) to system clipboard, marking clipboard content as being a reference to an element rather than ordinary data.

CopyAsInclusion cannot be executed when the selected element is inside a reference to an element. That is, the reference itself can be copied, but not any of its descendant elements.

Example:

copyAsInclusion [implicitElement]

See also command pasteInclusionEnabled, a variant of command paste, which can be used to paste the content of the clipboard as a reference rather than as data, when special attributes have been added to the clipboard content by copyAsInclusion.

Commands copyAsInclusion (generally bound to keystroke Shift-Ctrl-C) and pasteInclusionEnabled (generally bound to keystroke Ctrl-V) are used to compose modular documents, see the corresponding tutorial section in the User's Guide.