Re: [O] Converting AsciiDoc to org-mode, preserving index entries

2018-02-20 Thread Diego Zamboni
Hi John, Thanks - it would be indeed a one-time conversion. I may end up going this route, but I thought there should be a proper way of doing it :) Best, --Diego On Tue, Feb 20, 2018 at 1:25 AM, John Kitchin wrote: > If it is a one-time conversion, it might be worthwhile just replacing the >

Re: [O] Converting AsciiDoc to org-mode, preserving index entries

2018-02-19 Thread John Kitchin
If it is a one-time conversion, it might be worthwhile just replacing the index terms with something temporary, getting to the org-file, and then putting them back in the right way. For example, you could replace each term with a uuid, and keep a list that maps the uuid to the term. Then the uuid w

[O] Converting AsciiDoc to org-mode, preserving index entries

2018-02-19 Thread Diego Zamboni
Hi, I have a large document (a book) written in AsciiDoc, and I’ve been thinking of converting it to org-mode, which I find eminently more readable. The method I’ve come up with is: 1. AsciiDoc -> Docbook using asciidoc or asciidoctor 2. Docbook -> org using pandoc The conversion seems to work