ok, thanks.

Nicolas Goaziou writes:

> Hello,
>
> John Kitchin <jkitc...@andrew.cmu.edu> writes:
>
>> How does one use the info in a filter?
>>
>> e.g.
>>
>> in (defun my-block-filter (data backend info))
>>
>> data is the transcoded block string, and I want to add something to it
>> based on say the type of block, name and header of the corresponding
>> block. Is it possible to get to that from the info? Or is this a case
>> where it is easier to make a custom backend with a function like:
>>
>> (defun sb-format (sb contents info)) that builds up the output string?
>
> Purpose for INFO in filters is to give access to export options. You
> cannot have easily access to the element being exported.
>
> Another option is to use a parse tree filter, or as you suggest,
> a custom back-end.
>
> Regards,


--
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu

Reply via email to