I have the following line at the start of an org file to configure it to use listings for code blocks.
#+name: setup-listings
#+begin_src emacs-lisp :results silent :export none
(setq org-latex-listings 't)
(require 'ox-latex)
(add-to-list 'org-latex-packages-alist '("" "listings"))
(add-to-list 'org-latex-packages-alist '("" "color"))
#+end_src
#+call: setup-listings()
When I export this to a latex document the listings package gets set up correctly. But this block is also put in the latex document. What do I need to do so that this one specific block is not included into the output?
export
->exports
. Note the "s".