On Mar 13, 2009, at 3:05 AM, Baoqiu Cui wrote:

Baoqiu Cui <cbao...@yahoo.com> writes:

Dale Smith <da...@vxitech.com> 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 <literal> 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.

This is already in org-exp.el and should work:

#+DOCBOOK: dockbookcode

and

#+BEGIN_DOCBOOK
docbookcode
docbookcode
docbookcode
#+END_DOCBOOK

Also I have just pushed changes to org-mtags.el (contributed package).
If you load it, muse-like tags will be understood by Org as well,
and you can write:

<literal style=docbook> dockbookcode </literal>

- Carsten



_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to