Re: Using a custom environment for a src language

2024-05-21 Thread Max Nikulin
On 20/05/2024 08:57, Rustom Mody wrote: I have my own Python environment called PYT. #+BEGIN_PYT contents #+END_PYT See `org-latex-custom-lang-environments' for #+begin_src python.

Re: Using a custom environment for a src language

2024-05-20 Thread Ihor Radchenko
Rustom Mody writes: > I have my own Python environment called PYT. > #+BEGIN_PYT > contents > #+END_PYT > generates > > \begin{PYT} > org transcoded contents > \end{PYT} > > But I dont want org transcoded contents but verbatim contents. > > Is there some way to tell org? > 1. Translate the headli

Using a custom environment for a src language

2024-05-19 Thread Rustom Mody
I have my own Python environment called PYT. #+BEGIN_PYT contents #+END_PYT generates \begin{PYT} org transcoded contents \end{PYT} But I dont want org transcoded contents but verbatim contents. Is there some way to tell org? 1. Translate the headlines as its doing 2. Leave the contents alone I