class_docstr: Class to wrap the different commands of this script.
  
  All public methods of this class can be called as parameters of the
  script.
docstr: Build PDF documentation.
docstr_tok: ["Build","PDF","documentation","."]
code: def latex(self, force=False):
      """
      Build PDF documentation.
      """
      if sys.platform == "win32":
          sys.stderr.write(
              "latex build has not been tested on windows\n"
          )
      else:
          ret_code = self._sphinx_build("latex")
          os.chdir(os.path.join(BUILD_PATH, "latex"))
          if force:
              for i in range(3):
                  self._run_os(
                      "pdflatex",
                      "-interaction=nonstopmode",
                      "pandas.tex",
                  )
              raise SystemExit(
                  "You should check the file "
                  '"build/latex/pandas.pdf" for problems.'
              )
          self._run_os("make")
          return ret_code
  
imports: import argparse
  import csv
  import importlib
  import os
  import shutil
  import subprocess
  import sys
  import webbrowser
  import docutils
  import docutils.parsers.rst
label_desc: Use image node_id 9 for calling the DocBuilder obj's underlying member method code with example usage: obj.latex(force) and returns: ret_code