From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Davis Subject: Re: Making DocBook xml books from org mode? Date: Fri, 30 Sep 2016 11:44:09 -0400 Message-ID: <1475250249.663446.742041297.1ACDFDFD@webmail.messagingengine.com> References: <1475172280.399769.741096521.05684B25@webmail.messagingengine.com> <878tuajysi.fsf@fastmail.fm> <1475187422.3176053.741333169.0906F627@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60614) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpzz1-0007RQ-4k for emacs-orgmode@gnu.org; Fri, 30 Sep 2016 11:44:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bpzyw-0007zB-Rv for emacs-orgmode@gnu.org; Fri, 30 Sep 2016 11:44:18 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:37804) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpzyv-0007wd-Kj for emacs-orgmode@gnu.org; Fri, 30 Sep 2016 11:44:14 -0400 In-Reply-To: <1475187422.3176053.741333169.0906F627@webmail.messagingengine.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Joost Kremers Cc: emacs-orgmode@gnu.org To follow up ... On Thu, Sep 29, 2016, at 06:17 PM, Peter Davis wrote: > On Thu, Sep 29, 2016, at 03:23 PM, Joost Kremers wrote: > > > > Pandoc can convert to Docbook, so that might be an option. Note that > > Pandoc also converts *from* Org, (although it cannot handle all of Org's > > capabilities), so depending on your needs, that might be a way to go > > directly from Org to Docbook. > > > > Thank you. I did succeed in exporting from org to texi, and then > makeinfo'ing that into a DocBook xml, though a bit of hand editing was > necessary. > I did manage to get this working. I found I had to export to Pandoc instead of running pandoc from a command line with the org file as input. Otherwise, the embedded dot code I used would not link to an image, but simply contain the dot code as source. Unfortunately, in trying to export to a file, I'm getting Unable to resolve link "www.gimp.org/downloads" I don't know where this is coming from, or how to fix it. Finally, the 'Export with Pandoc' menu item only gives me two choices: [P] Markdown to buffer [p] To file I assume it's just generating Markdown, which would then have to be converted to docbook or whatever in a separate step. Any way to export to docbook directly, using Pandoc implicitly? Thanks! -pd -- Peter Davis www.techcurmudgeon.com