From mboxrd@z Thu Jan 1 00:00:00 1970 From: Baoqiu Cui Subject: Re: docbook export-special Date: Thu, 28 May 2009 09:49:40 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M9inv-0004gk-WC for emacs-orgmode@gnu.org; Thu, 28 May 2009 12:50:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M9inr-0004cu-CM for emacs-orgmode@gnu.org; Thu, 28 May 2009 12:50:07 -0400 Received: from [199.232.76.173] (port=49382 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M9inr-0004cZ-3S for emacs-orgmode@gnu.org; Thu, 28 May 2009 12:50:03 -0400 Received: from main.gmane.org ([80.91.229.2]:49114 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M9inq-0002eQ-Gm for emacs-orgmode@gnu.org; Thu, 28 May 2009 12:50:02 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1M9ini-0006FI-VR for emacs-orgmode@gnu.org; Thu, 28 May 2009 16:49:55 +0000 Received: from nat-dip6.cfw-a-gci.corp.yahoo.com ([209.131.62.115]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 28 May 2009 16:49:54 +0000 Received: from cbaoqiu by nat-dip6.cfw-a-gci.corp.yahoo.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 28 May 2009 16:49:54 +0000 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Rustom Mody writes: > On Thu, May 28, 2009 at 2:30 PM, Carsten Dominik > wrote: >> >> On May 28, 2009, at 9:47 AM, Rustom Mody wrote: >> >>> Hello Baoqiu, >>> >>> Rustom Mody gmail.com> writes: >>> >>>> Baoqiu wrote: >>>> Can you use #+BEGIN_DOCBOOK ... #+END_DOCBOOK instead to achieve what >>>> you want? > > Hell! I could swear that I tried this yesterday and the content disappeared! > Today its appearing in the xml output so thats probably enough. I am very glad to know that this works for you. > I worked out the current mappings as i find them: > 1 BEGIN_QUOTE ->
> 2 BEGIN_EXAMPLE -> > 3 BEGIN_SRC lang -> > 4 BEGIN_VERSE -> > 5 BEGIN_CENTER -> something complicated Yes, the above mappings are what I use now in the exporter. BEGIN_CENTER is handled using . Have you tried something like the following? #+DOCBOOK: One line written in DocBook #+BEGIN_DOCBOOK You should know what you are doing when quoting DocBook XML code in your Org file. Invalid DocBook XML file may be generated by DocBook exporter if you are not careful! #+END_DOCBOOK Because we already have #+BEGIN_DOCBOOK ... #+END_DOCBOOK, there is no point to support many other blocks like #+begin_warning ... #+end_warning (for the above example) etc., which can really pollute Org-mode files. > It would ne nice if something like this is there at least in the > org-docbook.el sources -- The manual is long enough and need not be > lengthened with the requirements of fringe users like > Yours truly :-) I can add a little more comments in org-docbook.el, but ideally we should add important things to the manual if they are missing. What particular information do you want to see in the manual? Baoqiu