<a href="http://www.omgubuntu.co.uk/2010/01/ubuntu-help-centre-to-get-major.html">http://www.omgubuntu.co.uk/2010/01/ubuntu-help-centre-to-get-major.html</a><br><br><div class="gmail_quote">On Thu, Jan 21, 2010 at 10:39 AM, Shaun McCance <span dir="ltr"><<a href="mailto:shaunm@gnome.org">shaunm@gnome.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Wed, 2010-01-20 at 13:21 -0600, Thomas R. Jones wrote:<br>
> On Wed, 2010-01-20 at 16:04 +0000, Phil Bull wrote:<br>
> > Hi guys,<br>
> ><br>
> > I think that now is a good time to talk about whether we should migrate<br>
> > over to Mallard this release cycle. <snip><br>
> ><br>
> I would like to present my view of this topic. I can see that the<br>
> original intention to reduce complexity and aid in the further<br>
> development of documentation for Ubuntu and its derivatives. To this<br>
> end, I think it is a great action by members of the doc team to develop<br>
> this custom project. However I have some serious reservations:<br>
><br>
> 1. Docbook is THE standard in documentation. Plain and simple. Why? Due<br>
> to the fact that it is very very good at what it does. Don't believe me?<br>
> Look at every documentation effort currently active. The facts are that<br>
> Docbook is a giant among men in documentation source development.<br>
<br>
</div>DocBook is certainly *a* standard for producing *manuals*. And<br>
if you want to produce a manual, sure, use DocBook. Mallard is<br>
expressly not designed to produced manuals.<br>
<br>
But it is not *the* standard. A lot of publishing houses only<br>
accept a TeX variant. Plenty require Microsoft Word documents.<br>
The number of entrenched document formats is staggering.<br>
<br>
For topic-oriented help, which is what Mallard does, the closest<br>
thing there is to *the* standard is not DocBook. It's DITA. In<br>
fact, this was a big talking point at the Writing Open Source<br>
conference last year.<br>
<div class="im"><br>
> With this in mind, do we really want to fork from that power? Do we want<br>
> to regulate our abilities to accommodate and coexist with the hundreds<br>
> or thousands of other projects out there? I don't. I get the feel of an<br>
> end-user buying into a small, proprietary application with it's custom<br>
> language and limited technical support. Why would I purchase a database<br>
> from company A, even though it's much cheaper and seems easier on the<br>
> surface; when I can buy from company B that is THE standard in database<br>
> throughout the world and provides a complex interface but has thousands<br>
> or millions of technical support at any given time?<br>
><br>
> I wouldn't.<br>
<br>
</div>I really don't mean to sound snide or anything, but isn't that<br>
an argument against using Ubuntu, since Windows is considered<br>
by most to be THE standard?<br>
<div class="im"><br>
> 2. Docbook complexity. I agree. Docbook is daunting. But only to those<br>
> that do not know the language. I am one of a select few(i think) that<br>
> know and understand Docbook. I have used it for many, many years. It is<br>
> a powerhouse ----- a big complex one.<br>
<br>
</div>I don't know what kinds of contributors the Ubuntu documentation<br>
team gets, but in Gnome, we very rarely get professional tech<br>
writers. It's hard enough trying to teach people how to write<br>
well. Asking them to learn DocBook first doesn't help.<br>
<div class="im"><br>
> I can see that Docbook must require a steep learning curve. But it does<br>
> not have to. The complexity of Docbook can be maintained through the use<br>
> of a driver file. This is presented in the Docbook community time and<br>
> time again.<br>
><br>
> Docbook is what it is ---- a documentation language. Documentation of<br>
> all kinds can be developed. Articles, Books, Help Files, Man Pages<br>
> etc... But not all of these must be supported. With the use of a driver;<br>
> some or almost all of these can be unsupported. Don't need anything else<br>
> but the article functionality? Remove it from the declaration! Simple.<br>
> Don't need elements that provide for programming language documentation<br>
> ---- remove them.<br>
><br>
> Each and every element(and subsequently their child elements) can be<br>
> removed with the quick development of a driver file. It sources the<br>
> complex Dcobook sources, redeclares the needed elements, removes the<br>
> elements not needed, and presents to the user a valid Docbook resource<br>
> just as any other resource in the world.<br>
<br>
</div>There is actually a standard upstream Simplified DocBook. And<br>
there are any number of others. Novell has one, as you mention.<br>
And I know that O'Reilly at least used to maintain their own.<br>
These customizations are a great way to ensure consistency and<br>
compatibility with your tool chain.<br>
<br>
But unless you're going to write extensive documentation to teach<br>
people to use your customization, without learning all of DocBook<br>
first, they don't help new users. If learning your customization<br>
involves first learning DocBook and then learning what not to use,<br>
you've only made things harder.<br>
<div class="im"><br>
> Why change that?<br>
><br>
> Technically, Docbook utilized with a driver is no longer Docbook. From<br>
> our perspective, it is our Docbook. Name it Candoc(Canonical Doc) or<br>
> ubuntudoc(obvious) and release it to the world for others to use. Just<br>
> as Novell has done with Novdoc. Let our work help those around us ---<br>
> dare I say that is what the word "Ubuntu" means.<br>
><br>
> 3. Industry compliance and compatibility. If we choose to fork from the<br>
> Docbook resources, we will have to alter and accommodate existing and<br>
> new standards at every turn. Docbook already implements the following<br>
> XML standards:<br>
> Xlink<br>
<br>
</div>XLink is incapable of expressing Mallard's internal linking system.<br>
It could, in theory, be used for external links. But that makes<br>
things marginally more difficult for people to learn and write.<br>
<br>
I don't see any concrete, real-world benefits to using it.<br>
<br>
> XPointer<br>
> XInclude<br>
<br>
XInclude isn't supported by DocBook. It's supported by your XML<br>
parser. And yes, I use XInclude with XPointer for Mallard all<br>
the time.<br>
<br>
> EBNF<br>
<br>
Just because there's not a structured environment for doing EBNF<br>
doesn't mean you can't still write them. Put them in code blocks.<br>
Frankly, I find EBNF to be easier to write than DocBook's model<br>
of EBNF.<br>
<br>
And when was the last time you put EBNF in user help?<br>
<br>
> MathML<br>
<br>
You can embed MathML in a Mallard document. Your tool chain will<br>
have to support it, of course. And our current tool chain doesn't<br>
support DocBook with MathML.<br>
<br>
I spent a few years working heavily on MathML-related stuff with<br>
my previous employer. My name is in the acknowledgments of the<br>
only MathML book in existence. So it pains me to say this: MathML<br>
is nowhere near as relevant as it could have been.<br>
<br>
> HTML/XHTML Forms<br>
<br>
You have forms in your help files? But yes, you can embed form<br>
elements, or anything else defined in an XML namespace. If your<br>
tool chain supports it.<br>
<br>
> SVG<br>
<br>
You can embed SVG in a Mallard document, if you really want to.<br>
I think it's more likely you'll just want to reference an SVG<br>
file as an image. Same thing about tool chain support.<br>
<br>
> XSLT<br>
> CSS<br>
<br>
DocBook doesn't support XSLT. XSLT supports DocBook, just like<br>
it supports any other XML vocabulary. Same thing for CSS.<br>
<div class="im"><br>
> Which standards will Mallard support?<br>
<br>
</div>The ones that make sense. I've actually been talking to Liam<br>
Quin, who works for the W3C, about exactly this.<br>
<div class="im"><br>
> 4. Custom content. The initial reason the mailing list was discussing<br>
> this project was due to the presentation that derivatives of Ubuntu do<br>
> not necessarily need ALL the documentation sources. Some may not apply.<br>
> As in Gnome-oriented derivatives do not need(or probably want) the<br>
> Docbook sources related to KDE.<br>
><br>
> Docbook already presents this. I realize that most of the documentation<br>
> may not realize this; so i present it now. Docbook can be utilized to<br>
> include custom sources from a very modular structure via the following<br>
> constructs:<br>
><br>
> 4a. A whole Docbook resource:<br>
> <xi:include href="path/to/source/file/source-docbook.xml"<br>
> xmlns:xi="<a href="http://www.w3.org/2001/XInclude" target="_blank">http://www.w3.org/2001/XInclude</a>" /><br>
<br>
</div>[snip some XInclude examples]<br>
<br>
The thing with using XInclude is that if you want to include more<br>
material, you have to add an XInclude directive to the original<br>
file. The same thing would apply for adding an entry to a topic<br>
map in DITA. Mallard is the only format, to my knowledge, that<br>
lets you add topics without patching anything. And that's really<br>
the big idea.<br>
<div class="im"><br>
> Finally, I am very comfortable with Docbook. Maybe I am a OLD hand at this documentation<br>
> game at a tender age of 34; but I feel that if it isn't broken ---- don't fix it. No one can<br>
> say that Docbook is broken. Only that they don't understand it. My 2 cents.<br>
<br>
</div>I understand DocBook. I've been working with it for over eight<br>
years. I've written entire DocBook tool chains. I really do<br>
know what I'm talking about.<br>
<br>
And it's not about being broken. It's about serving our needs<br>
well. You use different tools for different jobs. For this<br>
job, DocBook is not the right tool.<br>
<div class="im"><br>
<br>
--<br>
Shaun McCance<br>
<a href="http://syllogist.net/" target="_blank">http://syllogist.net/</a><br>
<br>
<br>
--<br>
</div><div><div></div><div class="h5">ubuntu-doc mailing list<br>
<a href="mailto:ubuntu-doc@lists.ubuntu.com">ubuntu-doc@lists.ubuntu.com</a><br>
<a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-doc" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-doc</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Benjamin Humphrey<br><br>Ubuntu Manual Project Leader<br>Dunedin, New Zealand<br><br><a href="https://wiki.ubuntu.com/ubuntu-manual">https://wiki.ubuntu.com/ubuntu-manual</a><br>
<a href="http://www.interesting.co.nz">www.interesting.co.nz</a><br><a href="http://www.benjaminhumphreyphotography.com">www.benjaminhumphreyphotography.com</a><br><br>