From: Sebastian Rose <sebastian_rose@gmx.de>
To: Baoqiu Cui <cbaoqiu@yahoo.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: DocBook exporter for Org-mode
Date: Tue, 03 Mar 2009 22:31:55 +0100 [thread overview]
Message-ID: <87d4cywawk.fsf@kassiopeya.MSHEIMNETZ> (raw)
In-Reply-To: <byceixejrqt.fsf@muchbodyking-lm.corp.yahoo.com> (Baoqiu Cui's message of "Tue, 03 Mar 2009 12:06:34 -0800")
Baoqiu Cui <cbaoqiu@yahoo.com> writes:
> Sebastian Rose <sebastian_rose@gmx.de> writes:
>>
>> I think we would find hundreds of xslt stylesheets on the web to
>> transform Docbook to virtually any format.
>
> Yes, this is the power and beauty of DocBook.
>
>> Will we loose the features of htmlize.el?
>> I'm not familiar with the Docbook DTD - I know it includes lots of
>> elements. How about time/date types, Programming types (string,
>> variable, class, function....)?
>
> I have not tried it, but it seems that syntax highlighting of source
> code listing can be done. See this page:
>
> http://www.sagehill.net/docbookxsl/SyntaxHighlighting.html
Does this know about the fonts and colors I use in Emacs? htmlize.el
does.
>> Wouldn't it be easier to transform the XHTML to docbook through xslt?
>> The types are not lost, since all types that emacs is aware of, are
>> exported as <span class="type">...</span>.
>
> It should be DocBook -> XHTML if we are talking about general
> publishing. DocBook has enough features, tags, and more importantly,
> much more available tools.
...and needs an editor like emacs/Org-mode because there is none :-)
but
A) Most of those tools are simply XML related. XHTML is XML.
B) We have those information the *.org file format gives us. XHTML
export can display all those.
C) Do you really want to tell a windows user to setup a complete SGML
system, just to publish to PDF or XHTML?
It's true: Docbook is more general in sense of more non-org-users
might know Docbook, than Orgs XHTML export format.
But for sure more non-org-users will understand the XHTML, than the
Docbook.
I hihgly apreciate the support of Docbook and your effort. Yet, I think
I don't want to publish XHTML through Docbook.
Right now, I have a bunch of org-files, and I get a bunch of XHTML files
as output. Nothing else. No special setup required, no xslt stylesheets,
no FO or saxon.jar in $CLASSPATH (how many users know the contents of
his $CLASSPATH ?), xsltproc, xslt stylesheets, no waiting for a
Java-Application (I prefer C/C++ Tools), no waisted disk space, no
external dependencies.
We can't force end users to use Docbook to get XHTML. Java is _not_ part
of emacs, xsltproc is not part of emacs either (most of this is true for
LaTeX).
The XHTML export _is_ part of emacs and has _no_ external
dependencies. It's results are pages displayed in every browser, even
text browsers.
Docbook is displayed correctly in some of those browsers but only in
conjunction with a stylesheet. But not enough to publish Docbook and
your done. That's why Docbook is hardly ever met in the wild. It's badly
supported by the tools for end users and as complicated to setup, use
and transform as LaTeX (but LaTeX _is_ met in a lot in the wild).
Please don't get me wrong. I really think supporting Docbook is a big
step. I suddenly would have a cool Docbook editor on all the systems I
work on! I'm always happy to see people making such efforts as you
did. And I hope, this will bring more users to emacs/Org-mode too.
Best regards,
--
Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover
Tel.: +49 (0)511 - 36 58 472
Fax: +49 (0)1805 - 233633 - 11044
mobil: +49 (0)173 - 83 93 417
Email: s.rose@emma-stil.de, sebastian_rose@gmx.de
Http: www.emma-stil.de
next prev parent reply other threads:[~2009-03-03 21:28 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-02 19:51 DocBook exporter for Org-mode Baoqiu Cui
2009-03-02 20:06 ` Baoqiu Cui
2009-03-03 15:17 ` Dale Smith
2009-03-03 16:29 ` Sebastian Rose
2009-03-03 17:08 ` Sebastian Rose
2009-03-03 20:06 ` Baoqiu Cui
2009-03-03 21:31 ` Sebastian Rose [this message]
2009-03-03 22:21 ` Baoqiu Cui
2009-03-04 7:07 ` Gour
2009-03-04 8:36 ` Baoqiu Cui
2009-03-04 16:58 ` Gour
2009-03-04 18:31 ` Baoqiu Cui
2009-03-05 10:27 ` Gour
2009-03-05 15:47 ` Sebastian Rose
2009-03-05 16:12 ` Dale Smith
2009-03-08 5:38 ` Baoqiu Cui
2009-03-05 16:09 ` Sebastian Rose
2009-03-08 8:14 ` Gour
2009-03-08 5:32 ` Baoqiu Cui
2009-03-08 8:11 ` Gour
2009-03-04 14:00 ` Matthew Lundin
2009-03-04 14:57 ` Sebastian Rose
2009-03-04 17:08 ` Gour
2009-03-04 17:05 ` Gour
2009-03-03 19:31 ` Paul R
2009-03-03 19:53 ` Baoqiu Cui
2009-03-03 20:22 ` Sebastian Rose
2009-03-03 23:02 ` Dale Smith
2009-03-03 23:07 ` Baoqiu Cui
2009-03-03 19:07 ` Baoqiu Cui
2009-03-08 5:42 ` Baoqiu Cui
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=87d4cywawk.fsf@kassiopeya.MSHEIMNETZ \
--to=sebastian_rose@gmx.de \
--cc=cbaoqiu@yahoo.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).