public inbox for
 help / color / mirror / Atom feed
From: "Yang SongXiang" <>
Cc: "Éric Bischoff" <>
Subject: Re: How to generate index?
Date: Fri, 17 Oct 2008 05:50:00 -0000	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>


With days try, I'd figure out how to generate the index page for DSL,
by using docbook2pdf. Though Norman Walsh had wrote a
document( for
this topic, but it's too old(it's1998 year) for newcomer try on
current Linux system, and furthermore, he only covered sgm, no XML
covered, which is widely used by today's docbook..

I summarized the steps here:

1) Create a blank xml file(named as myidx.xml) here by typing $touch myidx.xml
2) Make the myidx.xml as entity of your docbook XML file:
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [
<!ENTITY myidx SYSTEM "myidx.xml">

<--- add this at the end -->

3) Generate the HTML.index by typing $docbook2html -o tmp -V
html-index your_src.xml

4) Get the generated HTML.index by typing $cp tmp/HTML.index .

5) ./ -o myidx HTML.index

6) Now, you type $docbook2pdf your_src.xml
to generate the index page.

Thanks for Bischoff 's help and answering my question here.

Best Regards

      parent reply	other threads:[~2008-10-17  5:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-23  7:20 Yang SongXiang
2008-09-23  9:02 ` Éric Bischoff
     [not found]   ` <>
     [not found]     ` <>
2008-10-17  5:50       ` Yang SongXiang [this message]

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:

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

  git send-email \ \ \ \ \

* 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.
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).