[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] interaction between org-latex-custom-lang-environments and name
From: |
Alan Schmitt |
Subject: |
Re: [O] interaction between org-latex-custom-lang-environments and name when exporting to latex |
Date: |
Fri, 20 Nov 2015 12:06:24 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) |
On 2015-11-20 11:41, Rasmus <address@hidden> writes:
> Alan Schmitt <address@hidden> writes:
>
>> I was wondering if someone had been able to reproduce this, and if so
>> should I file it as a bug?
>
> Sure. It's how org-latex-src-block handles custom environments (see "Case
> 2."). At the moment this is hardcoded.
>
> Perhaps the second element of org-latex-custom-lang-environments should
> allow a format string, so that an element could be something like,
>
> (emacs-lisp "\begin{common-lisp-code}[myoptions, label=%l]
> %s
> \end{common-lisp-code}")
>
> (modulus escaping).
>
> WDYT?
That would be great indeed. I see the code is not too hairy there, so
I'll try to write a patch.
Best,
Alan
--
OpenPGP Key ID : 040D0A3B4ED2E5C7
Athmospheric CO₂ (Updated November 9, 2015, Mauna Loa Obs.): 399.06 ppm
signature.asc
Description: PGP signature
- [O] interaction between org-latex-custom-lang-environments and name when exporting to latex, Alan Schmitt, 2015/11/16
- Re: [O] interaction between org-latex-custom-lang-environments and name when exporting to latex, Alan Schmitt, 2015/11/20
- Re: [O] interaction between org-latex-custom-lang-environments and name when exporting to latex, Rasmus, 2015/11/20
- Re: [O] interaction between org-latex-custom-lang-environments and name when exporting to latex,
Alan Schmitt <=
- Re: [O] interaction between org-latex-custom-lang-environments and name when exporting to latex, Alan Schmitt, 2015/11/23
- Re: [O] interaction between org-latex-custom-lang-environments and name when exporting to latex, Rasmus, 2015/11/23
- Re: [O] interaction between org-latex-custom-lang-environments and name when exporting to latex, Alan Schmitt, 2015/11/24
- Re: [O] interaction between org-latex-custom-lang-environments and name when exporting to latex, Rasmus, 2015/11/24
- Re: [O] interaction between org-latex-custom-lang-environments and name when exporting to latex, Alan Schmitt, 2015/11/25
- Re: [O] interaction between org-latex-custom-lang-environments and name when exporting to latex, Rasmus, 2015/11/25
- Re: [O] interaction between org-latex-custom-lang-environments and name when exporting to latex, Alan Schmitt, 2015/11/27
- Re: [O] interaction between org-latex-custom-lang-environments and name when exporting to latex, Rasmus, 2015/11/27
- Re: [O] interaction between org-latex-custom-lang-environments and name when exporting to latex, Alan Schmitt, 2015/11/30
- Re: [O] interaction between org-latex-custom-lang-environments and name when exporting to latex, Rasmus, 2015/11/30