Hi,

When exporting to pdf via LaTeX, the region between the #+begin_comment and the #+end_comment does not comment out:

*** sub,sub-heading one
#+attr_latex: :options  [t]{2.8in}
#+begin_minipage
some inline shell source code
#+end_minipage
#+attr_latex: :options  [t]{1.2in}
#+begin_minipage
some more inline shell source code
#+end_minipage
#+attr_latex: :options  [t]{3.0in}
#+begin_minipage
and more inline shell source code
#+end_minipage

#+begin_comment

*** sub,sub-heading two
#+attr_latex: :options  [t]{2.8in}
#+begin_minipage
some inline shell source code
#+end_minipage
#+attr_latex: :options  [t]{1.2in}
#+begin_minipage
some more inline shell source code
#+end_minipage
#+attr_latex: :options  [t]{3.0in}
#+begin_minipage
and more inline shell source code
#+end_minipage

*** sub,sub-heading three
#+attr_latex: :options  [t]{2.8in}
#+begin_minipage
some inline shell source code
#+end_minipage
#+attr_latex: :options  [t]{1.2in}
#+begin_minipage
some more inline shell source code
#+end_minipage*** sub,sub-heading one
#+attr_latex: :options  [t]{2.8in}
#+begin_minipage
some inline shell source code
#+end_minipage
#+attr_latex: :options  [t]{1.2in}
#+begin_minipage
some more inline shell source code
#+end_minipage
#+attr_latex: :options  [t]{3.0in}
#+begin_minipage
and more inline shell source code
#+end_minipage

#+end_comment

Instead the #+begin_comment and #+end_comment lines are printed out (sort of weirdly) and everything in between as well.

If I surround the region with a \begin{comment} and \end{comment} - all is well.

Org mode version 9.1.13 (release_9.1.13-901-g638f32 @ /usr/local/share/org-mode/lisp/)
GNU Emacs 27.0.50 (build 48, x86_64-pc-linux-gnu, GTK+ Version 3.22.29) of 2018-06-29

Charlie Millar