[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Block level specification for tex code html export method
From: |
Andreas Leha |
Subject: |
Re: [O] Block level specification for tex code html export method |
Date: |
Fri, 04 Sep 2015 14:42:51 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (darwin) |
Nicolas Goaziou <address@hidden> writes:
> Andreas Leha <address@hidden> writes:
>
>> Seems to work fine!
>>
>> Just note, that it works for me only after exporting
>> (when tested under emacs -Q).
>
> `org-export-current-backend' is set when exporting a document, much like
> `backend'.
>
The same protection as in the previous version seems to take effect
here:
(defmacro by-backend (&rest body)
`(case (if (boundp 'org-export-current-backend) org-export-current-backend
nil) ,@body))
Are there any issues with this?
>> What about including that into org?
>
> Wrong namespace. It should be prefixed with "org".
>
Easy to fix.
> Also, it might be better to include it directly in :file directive
> handling if that is its sole purpose.
Could you elaborate why that might be better? Including it as a macro
like this has the up-side to be more general.n
I think that also other header arguments would benefit from such a
(org-)by-backend switch.
In former versions (pre-dating the handling of *.tikz 'images' by
ox-latex) of the tikz code in this thread, for example, the :results
argument needed to be set according to the backend as well
Regards,
Andreas
- Re: [O] Block level specification for tex code html export method, (continued)
- Re: [O] Block level specification for tex code html export method, Eric S Fraga, 2015/09/03
- Re: [O] Block level specification for tex code html export method, Andreas Leha, 2015/09/03
- Re: [O] Block level specification for tex code html export method, Nicolas Goaziou, 2015/09/03
- Re: [O] Block level specification for tex code html export method, Eric S Fraga, 2015/09/04
- Re: [O] Block level specification for tex code html export method, Haochen Xie, 2015/09/04
- Re: [O] Block level specification for tex code html export method, Eric S Fraga, 2015/09/04
- Re: [O] Block level specification for tex code html export method, Alan Schmitt, 2015/09/04
- Re: [O] Block level specification for tex code html export method, Andreas Leha, 2015/09/04
- Re: [O] Block level specification for tex code html export method, Nicolas Goaziou, 2015/09/04
- Re: [O] Block level specification for tex code html export method,
Andreas Leha <=
- Re: [O] Block level specification for tex code html export method, Nicolas Goaziou, 2015/09/05