docname
If name is specified, sets the document name to that value. The document name affects the name of the output file.
.docname {My document}
Content copied to clipboard
If it's unset, the current name of the document is returned.
The current document name is .docname
Content copied to clipboard
Return
the current document name if name is unset, nothing otherwise