|Subject:||Re: [O] Org mode and "shunt" exporters?|
|Date:||Thu, 12 Dec 2013 12:22:38 -0500|
I see from your other thread that you are looking in to this idea of
John Kitchin <address@hidden> writes:
> that sounds like an interesting approach. xml seems like what you
> really want, since looking at the parsetree there is a lot of
> information (e.g. attributes, properties, etc...) that would be tricky
> to generate a fully representative json scheme.
dumping to JSON. That's great! If you want a tester of your JSON
exporter I'd be very happy to give it a try. If it means I can abandon
my own stumbling around, that would make me even happier.
But, I am still slowly messing with this myself. I plan to next follow
Nicolas's suggestion of simply removing the :parent parameter to get
over the hurdle that the circular object caused me. I think if the
overall structure of the parse tree is preserved in the JSON then
parentage can be restored when it is read back.
I've also thought a bit about schema issues. Regardless of how an "org
schema" might be represented, it would be best if it could be generated
>From org instead of hand crafted. This would need a kind of a "meta
export" feature. I've not yet checked to see if there is some facility
in org to exploit to do this. Maybe someone knows?
In the past I've expressed schema descriptions for JSON data in JSON
itself. Internet searches now show this is not a novel approach so I
think there is some fruit to be found pursuing this direction. Or, I
may just be trying too hard to avoid XML....
> * (1) DocBook export, available in previous Org-mode versions, has not
> This page suggests at the bottom you could export to texinfo, and
> convert that to docbook:
> currently been ported to the new exporter, however the newThanks. I did try this but makeinfo failed on the texinfo file that was
> ox-texinfo backend can generate DocBook format. Once file.texi is
> created via ox-texinfo, simply execute:
> makeinfo --docbook file.texi
produced. I didn't pursue it enough to figure out why or if I was doing
|[Prev in Thread]||Current Thread||[Next in Thread]|