Hello,

Uwe Ziegenhagen <ziegenha...@gmail.com> writes:


[...]

> These get exported to 
>
> \#+begin$_{\text{src}}$ python :results output
> print(1+2+3+4+5+6+7+8+9+11)
> \#+end$_{\text{src}}$ python

This is wrong. You ended your block with

  #+end_src python

but it should be

  #+end_src

> The whole verbatim stuff is "okay", I'd like to replace that with the
> listings package, but the 
>
> \#+begin$_{\text{src}}$ python :results output
> print(1+2+3+4+5+6+7+8+9+11)
> \#+end$_{\text{src}}$ python

> requires amsmath just for the \text command, so this is also something I
> want to change. Can anyone point me to the correct way of changing it.

Note that without \text command, you can't get subscript and superscript
to work (see `org-latex-default-packages-alist').


Regards,

-- 
Nicolas Goaziou

Reply via email to