Everything2
Near Matches
Ignore Exact
Full Text
Everything2

DocBook

created by sdanic

(thing) by sdanic (11.2 mon) (print)   ?   (I like it!) Tue Mar 14 2000 at 8:19:31

Popular SGML/XML document type definition (DTD) for creating large documents. Typically this applies to books and scientific journal articles. The specification has recently been used to create all sorts of Linux Documentation

There aren't many visual docbook editors available. XMetal and ArborText are the only things that come close. Jade is a DSSS utility used to render docbook documents.


(thing) by funnytoes (5.9 y) (print)   ?   (I like it!) 1 C! Sat Feb 24 2001 at 18:41:04

Some useful resources for DocBook:
http://docbook.org/
The latest version of "DocBook - The Definitive Guide", the online version of the O'Reilly book of the same name. Essential reading if you plan to hack around with DocBook.

http://www.oasis-open.org/docbook/xml/index.html
The XML DTD for DocBook. As of now, the latest version is 4.1.2.

http://www.nwalsh.com/docbook/xsl/
XSL stylesheets to allow your XML DocBook mark up to be rendered by an XML-aware user agent (such as Gecko or Internet Explorer).

Once you're armed with the above three, writing a DocBook document is this easy:

<?xml version="1.0" standalone="no"?>
<?XML:stylesheet type="text/xsl" href=".../docbook/xhtml/docbook.xsl"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" ".../docbkx412/DOCBOOKX.DTD">
<book>
<bookinfo>
<title>My First Book</title>
<author><firstname>Funny</firstname><surname>Toes</surname></author>
<copyright><year>2001</year><holder>Funnytoes</holder></copyright>
</bookinfo>
<chapter>
<title>The main bit</title>
<programlisting>
10 PRINT "HELLO WORLD"
20 GOTO 10
</programlisting>
</chapter>
</book>

Remembering to replace the "..." in the pathnames with the locations you stored the files, of course.

There's also a simplified DocBook XML DTD (http://www.nwalsh.com/docbook/simple/index.html) for situations where the full-blown DTD is over-weight. Currently it uses the full DocBook XSL Stylesheet referenced above but the author plans to produce an equally lightweight version to complement the DTD. There's a rather cute online summary (http://www.nwalsh.com/docbook/simple/sdocbook/) that lets you browse the DTD, too.


printable version
chaos

ArborText jade Red Hat Standard Time Things that I learned from reading erotic stories involving latex
Oasis February 24, 2001 procmail electronic book
Jon Bosak DTD TeX Trainspotting
latex Amaya XML O'Reilly
DSSSL linux documentation project distribution Ogenki desu ka
Document Type Definition Skinny Puppy Metafont WYSIAYG
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
Drink up!
History
Goo Goo Dolls
What it means to live "in the city" when you live in New Orleans
American Movie
Madeleine L'Engle
Oligarchical Collectivism
E2 is unfriendly to New Order
February 29
Skunked
Jessica Lynch
A Song in Itself
Rosa Parks
Antarctica
New Writeups
Madara
One Winged Angel(fiction)
Tom Rook
Talk is cheap(poetry)
shaogo
Adelle Davis(person)
Aerobe
race car g sfjsgsd(poetry)
Binah
Dream Log: July 5, 2008(dream)
StrawberryFrog
Forgotten things in space(idea)
antigravpussy
velvet revolution fairy tale(idea)
Heitah
Nerve agent VX(thing)
Pavlovna
shite(idea)
wonton
Days and nights come together in a slow falling down(fiction)
Pavlovna
wee(idea)
katherine
root log: July 2008(log)
Madara
There’s nothing like a trail of blood to find your way back home(fiction)
Heitah
After sneeze(idea)
froggy7384
Why we smoke(personal)
This page courtesy of The Everything Development Company