emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Baoqiu Cui <cbaoqiu@yahoo.com>
Cc: Dale Smith <dales@vxitech.com>,
	org-mode mode mailinglist <emacs-orgmode@gnu.org>
Subject: Re: Re: DocBook exporter code (version 1.0)
Date: Fri, 13 Mar 2009 07:37:24 +0100	[thread overview]
Message-ID: <C95892F6-7FF7-4CCA-9BF4-8CE23209EED7@uva.nl> (raw)
In-Reply-To: <byczlfqch3d.fsf@muchbodyking-lm.corp.yahoo.com>


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

> Baoqiu Cui <cbaoqiu@yahoo.com> writes:
>
>> Dale Smith <dales@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

  parent reply	other threads:[~2009-03-13  6:37 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-08  5:10 DocBook exporter code (version 1.0) Baoqiu Cui
2009-03-08  7:22 ` Carsten Dominik
2009-03-08  9:43   ` Alex Ott
2009-03-08 13:46     ` Carsten Dominik
2009-03-09  4:46   ` Baoqiu Cui
2009-03-09  6:25     ` Carsten Dominik
2009-03-09 17:21       ` Baoqiu Cui
2009-03-12 16:02 ` Dale Smith
2009-03-13  0:26   ` Baoqiu Cui
2009-03-13  2:05     ` Baoqiu Cui
2009-03-13  3:12       ` Baoqiu Cui
2009-03-13  6:37       ` Carsten Dominik [this message]
2009-03-13 13:42         ` Dale Smith

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C95892F6-7FF7-4CCA-9BF4-8CE23209EED7@uva.nl \
    --to=dominik@science.uva.nl \
    --cc=cbaoqiu@yahoo.com \
    --cc=dales@vxitech.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).