From mboxrd@z Thu Jan 1 00:00:00 1970 From: Baoqiu Cui Subject: Re: DocBook exporter code (version 1.0) Date: Thu, 12 Mar 2009 20:12:56 -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 1Lhxpm-0007pD-En for emacs-orgmode@gnu.org; Thu, 12 Mar 2009 23:13:18 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lhxph-0007ob-Ae for emacs-orgmode@gnu.org; Thu, 12 Mar 2009 23:13:17 -0400 Received: from [199.232.76.173] (port=43272 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lhxph-0007oW-72 for emacs-orgmode@gnu.org; Thu, 12 Mar 2009 23:13:13 -0400 Received: from main.gmane.org ([80.91.229.2]:41199 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 1Lhxpg-0003jg-TO for emacs-orgmode@gnu.org; Thu, 12 Mar 2009 23:13:13 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Lhxpf-0007qz-H8 for emacs-orgmode@gnu.org; Fri, 13 Mar 2009 03:13:11 +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 ; Fri, 13 Mar 2009 03:13:11 +0000 Received: from cbaoqiu by nat-dip6.cfw-a-gci.corp.yahoo.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Mar 2009 03:13:11 +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 Baoqiu Cui writes: >> Dale Smith writes: >> >>> Somthing that muse has that I'd really like to see in org is some way >>> to insert raw docbook into the exported output. The LaTeX exporter >>> already has a feature like this. Muse-mode uses the tag. >>> >>> In the past, I've used this for inserting a programming instruction >>> that cauaes a page-break. I'm sure there could be many many uses. >>> >>> Any ideas or suggestions? Something I've missed? >> >> This may require adding a markup like "#+BEGIN DOCBOOK" ... "#+END >> DOCBOOK", which is some external change that makes Org less lightweight. >> (LaTeX is a little different, because LaTeX fragments do not need a >> markup in Org-mode.) Don't know how Carsten and other people think. > > Oh, I just noticed that #+BEGIN_LaTeX ... #+END_LaTeX already exists. > Then maybe it is OK to add #+BEGIN_DOCBOOK ... #+END_DOCBOOK. Hi Dale, Actually the following markups are already supported when I added the block quote and verse support (I totally forgot about this). We just need to *externalize* these two constructs: ------------------------------------------------------------------------ #+DOCBOOK: Literal DocBook code for export #+BEGIN_DOCBOOK All lines between these markers are exported literally. #+END_DOCBOOK ------------------------------------------------------------------------ I have updated the test file with 2 examples. You can take a quick look: http://code.google.com/p/bcui-emacs/source/browse/#svn/trunk/org-docbook Thanks, Baoqiu