document vs typesetting

document

noun
  • Any material substance on which the information is represented by writing. 

  • An object conveying information by whatever means, capable of being indexed alongside other similar objects. 

  • An original or official paper used as the basis, proof, or support of anything else, including any writing, book, or other instrument conveying information pertinent to such proof or support. 

  • A file that contains text. 

verb
  • To furnish with documents or papers necessary to establish facts or give information. 

  • To record in documents. 

typesetting

noun
  • The setting or composition of written material into type. 

How often have the words document and typesetting occurred in a corpus of books? (source: Google Ngram Viewer )