[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] inline code and minted
From: |
Alan Schmitt |
Subject: |
Re: [O] inline code and minted |
Date: |
Fri, 05 Feb 2016 16:01:20 +0100 |
User-agent: |
Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.5 (darwin) |
On 2016-02-05 14:33, Nicolas Goaziou <address@hidden> writes:
>> I have two questions:
>> - should we support this and generate this code?
>
> Sure. Could you provide and apply a patch for that?
Yes. Here it is for review, please let me know if I can apply it.
0001-ox-latex.el-Fix-minted-inline.patch
Description: Text Data
>> - in the meantime, I created a macro that does this for latex, but it
>> does not work for html (it exports the “src_coq” string verbatim):
>> #+macro: coq @@latex:\mintinline{coq}{$1}@@@@html:src_coq[:exports
>> code]{$1}@@
>> Why is this macro wrong?
>
> Contents of an export snippet, e.g. @@html:...@@ are not evaluated by
> the back-end. IOW this is back-end code.
I see. I think I’ll just use <code> then and skip the syntax coloring
for the moment.
Thanks,
Alan
--
OpenPGP Key ID : 040D0A3B4ED2E5C7
Athmospheric CO₂ (Updated February 4, 2016, Mauna Loa Obs.): 403.08 ppm
signature.asc
Description: PGP signature