[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] lisp/ox-latex.el: put labels inside example blocks
From: |
Ihor Radchenko |
Subject: |
Re: [PATCH] lisp/ox-latex.el: put labels inside example blocks |
Date: |
Thu, 08 Dec 2022 11:39:38 +0000 |
hugo@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
> remain unchanged.
>
> Hope this is helpful for someone else too!
Thanks!
Applied onto bugfix.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=304f18cb7
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>