[Tex/LaTex] What are the finishing touches you put to a document

best practicesbig-listtypographyworkflow

I'm curious about the finishing touches that people put to LaTeX documents. Are there any canonical or special things that people do in finalizing a document?

What I do:

  • Careful proofreading of the document (which I think is the single most important thing to do when finalizing a document).
  • Read through the source file to remove unnecessary stuff and document code by commenting.
  • Read through the .log file and look for warnings, overfull boxes and such.
  • Check the placement of figures.
  • Remove trailing spaces with a tool in gedit (it is made via sed 's/[[:blank:]]*$//').
  • Rename the generated file, like the pdf, to represent it being a final version.
  • Since I use git I usually tag the final version and commit the final pdf.
  • I also sometimes pdfopt my document.

Best Answer

  • Document all manual layout corrections in comments at the top of the document (\looseness, \newpage, \break, etc)
  • put a last-changed-on comment at the top as well
  • make a backup
  • if you are planning long time storage: document what TeX distribution you used, and the macro versions. LaTeX has a \listfiles command for the macro versions I think, but you also may need to remember the executable's version and possibly font and hyphenation patterns file versions.