Examples of how to use DocTo
When converting to a PDF by Default Word Headings are used for the bookmarks in the PDF. You can if you wish use other options
This is the command line to change the bookmark source to WordBookmarks
docto -WD -f 'c:\path\Document.doc' -o 'c:\path\Document.pdf' -t wdFormatPDF --bookmarksource WordBookmarks
or easier to read
docto -WD
-f 'c:\path\Document.doc'
-o 'c:\path\Document.pdf'
-t wdFormatPDF
--bookmarksource WordBookmarks
-WD
: This is a conversion using Microsoft Word. This is not required but makes it easier to read-f
: The File or directory to be converted-o
: The Output File or Directory where you would like the converted file to be written to.-T
: The file format type that is being converted to-bookmarksource
: Where to get Bookmarks from for PDF. This parameter is only relevant for PDF files.You might find some of the following commands also interesting.
DocTo source on Github| Index of Examples | Download Latest Release