code: def latex_only_directive(
      name,
      arguments,
      options,
      content,
      lineno,
      content_offset,
      block_text,
      state,
      state_machine,
  ):
      return run(content, latex_only, state, content_offset)
  
file_path: catboost/contrib/python/matplotlib/py2/matplotlib/sphinxext/only_directives.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import six
  from docutils.nodes import Body, Element
label_desc: Use image node_id 3 for calling a global function with example usage: latex_only_directive(name, arguments, options, content, lineno, content_offset, block_text, state, state_machine) and returns: run