From mboxrd@z Thu Jan 1 00:00:00 1970 From: Baoqiu Cui Subject: Re: docbook export-special Date: Wed, 27 May 2009 11:46:10 -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 1M9O98-0002CO-4L for emacs-orgmode@gnu.org; Wed, 27 May 2009 14:46:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M9O90-00029x-Uk for emacs-orgmode@gnu.org; Wed, 27 May 2009 14:46:36 -0400 Received: from [199.232.76.173] (port=60690 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M9O90-00029u-Qz for emacs-orgmode@gnu.org; Wed, 27 May 2009 14:46:30 -0400 Received: from main.gmane.org ([80.91.229.2]:37807 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 1M9O90-0003Hp-6r for emacs-orgmode@gnu.org; Wed, 27 May 2009 14:46:30 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1M9O8u-0007ja-Pk for emacs-orgmode@gnu.org; Wed, 27 May 2009 18:46:24 +0000 Received: from fa0-1-wlan-rtr.corp.yahoo.com ([216.145.49.5]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 May 2009 18:46:24 +0000 Received: from cbaoqiu by fa0-1-wlan-rtr.corp.yahoo.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 May 2009 18:46:24 +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: > Baoqiu wrote: >> What do you mean by export-special? > > Well the latest org comes with a contributed org-special-blocks.el > [sorry I misnamed it] > >> Do you mean exporting blocks that look like the following lines? > >> #+begin_xyz >> ... >> #+end_xyz > > Yes I guess that would be what I want. Thanks for the confirmation, Rustom. Carsten and I had several email exchanges on this topic last month, and we decided to not support such special blocks in DocBook exporter (see the following email). Can you use #+BEGIN_DOCBOOK ... #+END_DOCBOOK instead to achieve what you want? Thanks, Baoqiu > From: Carsten Dominik > To: Baoqiu Cui > Cc: Carsten Dominik > Subject: Re: [Orgmode] Re: markup in environments in latex export > Date: Wed, 29 Apr 2009 21:24:27 +0200 > > Hi Baoqiu, > > thank you very much for your input. I largely agree with > your assessment. > > - Carsten > > On Apr 27, 2009, at 7:37 PM, Baoqiu Cui wrote: > > > Hi Carsten, > > > > I thought about this during the weekend, and it seemed to me that it > > is > > better to let DocBook exporter ignore such arbitrary ``#+begin_xyz > > ... #+end_xyz'' blocks. There are several reasons: > > > > 1. LaTeX and DocBook use very different tag/element names. Even if > > we > > can find equivalent elements in DocBook for ``xyz'', supporting > > such LaTeX specific markups can confuse users. > > > > 2. For many ``xyz''s that are supported in LaTeX, we may not be able > > to find equivalent elements in DocBook. There is not similar > > thing > > in DocBook to do what
...
does in HTML, > > AFAIK. > > > > 3. Supporting these blocks may open a big door for making exported > > DocBook XML files invalid. > > > > Personally I don't think it is even a good idea to support this LaTeX > > feature in Org mode. This feature may benefit a small number of > > Org+LaTeX users, in some uncommon use cases, but in general it hurts > > Org-mode's simplicity and cleanness. > > > > If I were Chris, I would not mind using real LaTeX syntax in > > > > \begin{xyz} > > ... > > \end{xyz} > > > > Thanks, > > Baoqiu