Ihor writes: > * headline > :PROPERTIES: > :ATTR_BACKEND: :export_template "\begin{myenv}\n%s\n\end{myenv}" > :ATTR_BACKEND+: "The %%s instances are replaced by the exported element" > :ATTR_BACKEND+: (concat "arbitrary sexp, the exported element is bound to: " *this*) > :ATTR_BACKEND+: babel_block_name(exported=*this*) > :ATTR_BACKEND+: "the property lines are concatenated with \" \" (space)," > :ATTR_BACKEND+: "just like the usual approach in `org-export-read-attribute'" > :END: > > #+ATTR_BACKEND: :export_template "can also work on non-headings" > Paragraph. That looks nice :-) If ypu could you do something like: #+ATTR_BACKEND: :export_template "\begin{myenv}[myopts]\n%s\n\end{myenv}" #+ATTR_BACKEND+: :export_template raw_text(exported="this") #+BEGIN_example ... #+END_example I would be able to do what I asked for some time ago :-) Thanks for the patience, /PA -- Fragen sind nicht da um beantwortet zu werden, Fragen sind da um gestellt zu werden Georg Kreisler Headaches with a Juju log: unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run a leader-deposed hook here, but we can't yet