# -*- coding: utf-8; -*- #+TITLE: examplebug.org #+AUTHOR: Eric S Fraga #+EMAIL: e.fraga@ucl.ac.uk #+OPTIONS: H:3 num:nil toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:nil #+latex_header: \usepackage{tikz} * latex code block within list 1. I have a list 2. with several items 3. and then one of them includes some latex: #+begin_latex \begin{tikzpicture}[x=2cm,y=2cm] \draw [red] (0,0) -- (2,2); \end{tikzpicture} #+end_latex 4. subsequent list items start a new list 5. if we include some html #+begin_html Mixed integer programming #+end_html 6. that works fine. 7. if we include a babel code block #+begin_src octave :exports code :var x=20 3*x+5 #+end_src #+results: : 65 8. that also works just fine.