docname

.docname name:{String? = null} -> Any

If name is specified, sets the document name to that value. The document name affects the name of the output file.

.docname {My document}

If it's unset, the current name of the document is returned.

The current document name is .docname

Return

the current document name if name is unset, nothing otherwise

Parameters

name
  • Optional

optional name to assign to the document

Wiki page

Document metadata