From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Davis Subject: Making DocBook xml books from org mode? Date: Thu, 29 Sep 2016 14:04:40 -0400 Message-ID: <1475172280.399769.741096521.05684B25@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]:51946) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpfhR-0001Yv-Q5 for emacs-orgmode@gnu.org; Thu, 29 Sep 2016 14:04:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bpfhN-0007JZ-J8 for emacs-orgmode@gnu.org; Thu, 29 Sep 2016 14:04:48 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:40247) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpfhM-0007GN-An for emacs-orgmode@gnu.org; Thu, 29 Sep 2016 14:04:45 -0400 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: emacs-orgmode@gnu.org I've started a new position in which I have to create and maintain a large set of documents in DocBook xml format. For new books, I'd really like to use org mode, since a) I'm already familiar with it, b) I love it, and c) I believe it does (or can be made to do) nearly everything I need. However, after Googling around the org-mode/DocBook space, I'm left with some questions. 1. I'm going to be creating books, as opposed to articles. My org-header looks like this: #+STARTUP: showeverything logdone #+OPTIONS: H:5 num:t \n:nil @:t ::t |:t ^:nil -:t f:t *:t <:t #+LaTeX_CLASS: koma-article #+LaTeX_HEADER: \usepackage{listings} #+LATEX_HEADER: \setlength{\parskip}{2ex plus 4pt minus 2pt} #+LATEX_HEADER: \setlength{\parindent}{0pt} #+LATEX_HEADER: \renewcommand{\baselinestretch}{1.0} #+LATEX_HEADER: \setlength{\topsep}{-10pt} #+LATEX_HEADER: \setlength{\partopsep}{0pt} #+LaTeX_HEADER: \usepackage{xcolor} #+LaTeX_HEADER: \lstset{ #+LaTeX_HEADER: basicstyle=\ttfamily, #+LaTeX_HEADER: breaklines=true, #+LaTeX_HEADER: prebreak=\mbox{\ensuremath{\color{red}\hookleftarrow}}, #+LaTeX_HEADER: postbreak=\raisebox{0ex}[0ex][0ex]{\ensuremath{\color{red}\hookrightarrow\space}}, #+LaTeX_HEADER: columns=fullflexible, #+LaTeX_HEADER: keepspaces=true #+LaTeX_HEADER: } #+LaTeX_CLASS_OPTIONS: [book,letterpaper,times,12pt,listings-bw,microtype] but the PDFs I'm getting still look like articles. (I copied the above from some examples posted on this list a while ago. Thanks!) 2. Are there any advantages to considering MarkDown or AsciiDoc as opposed to org markup? (Again, my familiarity with org is a strong incentive here, but I'm willing to consider other options.) 3. The direct route from org to DocBook xml seems to be missing. From what I gather, I can get there somehow via texi (but I don't even have that in org currently), or perhaps export to HTML and then convert that to db xml. Am I missing something? Is there some other route I should consider? 4. [LONGSHOT] Is there any way to /import/ docbook xml into org mode? Thank you very much. -pd -- Peter Davis www.techcurmudgeon.com