Set custom table of contents options for a document object
toc.options(doc, ...)# S3 method for docx
toc.options(doc, list.separator, ...)
Object of class docx
further arguments passed to other methods
list separator (should be the same than in computer's regional settings)
a document object
This function is to be used if TOC cannot be built. It is occuring when list separator used when building the TOC is different from the list separator in your computer's regional settings.
See entry 302865 of Microsoft knowledge database for more information.
# NOT RUN { doc = docx( title = "title" ) doc = toc.options( doc, list.separator = "," ) # }