

#if ("$!latex.block.getParameter('scope')" == 'local')
  \etocsettocstyle{}{}
  \localtableofcontents##
#else
  \etocsettocstyle{}{}
  \tableofcontents##
#end