[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] problem with ox-pandoc export
From: |
Richard Lawrence |
Subject: |
Re: [O] problem with ox-pandoc export |
Date: |
Fri, 03 Jul 2015 09:37:38 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) |
Rasmus <address@hidden> writes:
> I don't see it as reinventing the wheel. One example, does pandoc have
> something like the ox filters?
It does; see e.g. http://pandoc.org/scripting.html
Pandoc filters are actually more powerful than Org filters in most
cases, because they are AST transformations. Pattern matching makes it
convenient and practical in Haskell to just transform the part of the
tree you're interested in. And because the Pandoc data structure has a
JSON serialization format, filters can be written in just about any
language, not just Haskell.
This is an nice system, IMHO, which has one big advantage: it is
possible to write complex filters (i.e., those that do more than just
simple string manipulation) in an output-agnostic way. Pandoc filters
can do things which are generally only possible or convenient to do in
Org by creating a derived backend, which isn't output-agnostic.
Best,
Richard
- Re: [O] problem with ox-pandoc export, (continued)
- Re: [O] problem with ox-pandoc export, Nicolas Goaziou, 2015/07/02
- Re: [O] problem with ox-pandoc export, Sebastien Vauban, 2015/07/02
- Re: [O] problem with ox-pandoc export, Rasmus, 2015/07/02
- Re: [O] problem with ox-pandoc export, Fabrice Popineau, 2015/07/02
- Re: [O] problem with ox-pandoc export, Rasmus, 2015/07/02
- Re: [O] problem with ox-pandoc export, Fabrice Popineau, 2015/07/02
- Re: [O] problem with ox-pandoc export, Rasmus, 2015/07/07
- Re: [O] problem with ox-pandoc export, Nicolas Goaziou, 2015/07/02
- Re: [O] problem with ox-pandoc export, Rasmus, 2015/07/02
- Re: [O] problem with ox-pandoc export, Nicolas Goaziou, 2015/07/03
- Re: [O] problem with ox-pandoc export,
Richard Lawrence <=
- Re: [O] problem with ox-pandoc export, Nicolas Goaziou, 2015/07/03
- Re: [O] problem with ox-pandoc export, Rasmus, 2015/07/03