emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Peter Davis <pfd@pfdstudio.com>
To: emacs-orgmode@gnu.org
Subject: Re: Misc. questions
Date: Wed, 05 Oct 2016 13:35:18 -0400	[thread overview]
Message-ID: <1475688918.3540248.746907257.5423D862@webmail.messagingengine.com> (raw)
In-Reply-To: <1475607776.3238953.745790809.290F05FA@webmail.messagingengine.com>

On Tue, Oct 4, 2016, at 03:02 PM, Peter Davis wrote:
> 
> 3) Still trying to find a way to get to DocBook XML (4, it turns out). I
> know the export page says to output texi (see #2 above) and then convert
> with makeinfo, but I have my doubts.  Of course, once I get texi working
> I'll be able to see for myself what information, if any, is lost.
> 

I now have a working routine for this on Windows 10, though it's not
pretty:

 1. Edit file in emacs org-mode
 2. Export to TeXInfo (texi) format
 3. Open Ubuntu/Bash window:
    a. cp ../../../mnt/c/Users/pdavis/org/filename.texi ./
    b. makeinfo --docbook filename.texi
    c. cp ./filename.xml ../../../mnt/c/Users/pdavis/org
 4. Open filename.xml in emacs and replace header with db-xml-hdr.xml
 5. Open edited filename.xml in ArborText

Tedious, but it works. I can probably find ways to automate some of it,
such as a bash shell script to copy the file, run makeinfo, substitute
the header, and copy it back.

Thanks,
-pd

-- 
  Peter Davis
  www.techcurmudgeon.com

      parent reply	other threads:[~2016-10-05 17:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-04 19:02 Misc. questions Peter Davis
2016-10-04 19:57 ` John Hendy
2016-10-04 20:26   ` Peter Davis
2016-10-04 20:50     ` Thomas S. Dye
2016-10-05 10:22   ` Colin Baxter
2016-10-04 19:58 ` Thomas S. Dye
2016-10-04 20:21 ` Stig Brautaset
2016-10-05 13:08   ` Peter Davis
2016-10-05 17:35 ` Peter Davis [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1475688918.3540248.746907257.5423D862@webmail.messagingengine.com \
    --to=pfd@pfdstudio.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).