Ihor Radchenko writes:
>> Please, revert this patch. Default environment for #+begin_example is
>> verbatim. With this patch the following PDF is generated
>>
>> \label{org9283054}
>> code
>>
>> for
>>
>> #+name: test
>> #+begin_example
>>code
>> #+end_example
>>
Max Nikulin writes:
>> Applied onto bugfix.
>> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=304f18cb7
>
> Please, revert this patch. Default environment for #+begin_example is
> verbatim. With this patch the following PDF is generated
>
> \label{org9283054}
> code
>
On 08/12/2022 18:39, Ihor Radchenko wrote:
h...@heagren.com writes:
The attached patch forces example environments to be printed thus:
,---
| \begin{example}\label{ex:foo}
| My example here
| \end{example}
`---
Applied onto bugfix.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/co
h...@heagren.com writes:
> The attached patch forces example environments to be printed thus:
>
> ,---
> | \begin{example}\label{ex:foo}
> | My example here
> | \end{example}
> `---
>
> This solves the problem.
>
> The logic/conditions for when to print a label, and how it is generated
> rem