Hi Francesco,
The code snippet below *is* exporting however for LaTeX code blocks the
default results type is :results latex, try setting the results type
to :results scalar and you should see the expected export behavior.
Best -- Eric
e.g.
#+begin_src latex :results scalar
Hi,
LaTeX code blocks are ignored when exporting to HTML or PDF.
The following Org example:
--8---cut here---start-8---
#+TITLE: Test export LaTeX
#+BABEL: :exports code
#+begin_src latex
\documentclass{article}
#+end_src
--8---cut