From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: Docbook XML file does not exist Date: Wed, 04 May 2011 19:30:56 +0530 Message-ID: <81zkn2woo7.fsf@gmail.com> References: <818vumy5lw.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:38702) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QHcda-00056c-Lo for emacs-orgmode@gnu.org; Wed, 04 May 2011 10:01:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QHcdW-0003ox-Aj for emacs-orgmode@gnu.org; Wed, 04 May 2011 10:01:10 -0400 Received: from mail-pz0-f41.google.com ([209.85.210.41]:42485) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QHcdW-0003oo-1S for emacs-orgmode@gnu.org; Wed, 04 May 2011 10:01:06 -0400 Received: by pzk4 with SMTP id 4so724936pzk.0 for ; Wed, 04 May 2011 07:01:05 -0700 (PDT) In-Reply-To: <818vumy5lw.fsf@gmail.com> (Jambunathan K.'s message of "Wed, 04 May 2011 18:39:47 +0530") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Belpaire Cc: emacs-orgmode@gnu.org Jambunathan K writes: > Export to xml from within emacs and export to pdf from within > shell. (shell is bash within cygwin). There are two variations of shell > command that I use: > > 1. Variation 1: > #+begin_src sh > xsltproc -stringparam admon.graphics 1 --output test.fo /usr/share/sgml/docbook/xsl-stylesheets/fo/docbook.xsl test.xml > > ~/bin/fop-1.0/fop ./test.fo test.pdf > > open test.pdf > #+end_src > > 2. Variation 2: > > #+begin_src sh > dblatex test.xml > #+end_src Forgot to add this, the whole docbook to pdf could be shellified by using org-export-as-docbook-batch. Jambunathan K. --