From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9541 invoked by alias); 23 Sep 2008 07:20:30 -0000 Received: (qmail 9531 invoked by uid 22791); 23 Sep 2008 07:20:29 -0000 X-Spam-Check-By: sourceware.org Received: from qb-out-1314.google.com (HELO qb-out-1314.google.com) (72.14.204.168) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 23 Sep 2008 07:19:54 +0000 Received: by qb-out-1314.google.com with SMTP id e19so1280445qbe.0 for ; Tue, 23 Sep 2008 00:19:52 -0700 (PDT) Received: by 10.67.32.18 with SMTP id k18mr397542ugj.26.1222154391831; Tue, 23 Sep 2008 00:19:51 -0700 (PDT) Received: by 10.66.219.7 with HTTP; Tue, 23 Sep 2008 00:19:51 -0700 (PDT) Message-ID: Date: Tue, 23 Sep 2008 07:20:00 -0000 From: "Yang SongXiang" To: docbook-tools-discuss@sourceware.org Subject: How to generate index? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-IsSubscribed: yes Mailing-List: contact docbook-tools-discuss-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: docbook-tools-discuss-owner@sourceware.org X-SW-Source: 2008/txt/msg00001.txt.bz2 Hi, All, When I use docbook2pdf, I found it can process Index successfully. My sample file is: Title sampel file Keyword .... ... When I use docbook2pdf, the pdf didn't record the "Keyword" in Index. When I use FOP, it can successfully index the "keyword". Could anyone know how to generate index-ed item for docbook2pdf? Thanks. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12705 invoked by alias); 23 Sep 2008 09:02:07 -0000 Received: (qmail 12697 invoked by uid 22791); 23 Sep 2008 09:02:06 -0000 X-Spam-Check-By: sourceware.org Received: from smtp-116-tuesday.nerim.net (HELO maiev.nerim.net) (62.4.16.116) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 23 Sep 2008 09:01:27 +0000 Received: from ebischoff.pck.nerim.net (ebischoff.pck.nerim.net [213.41.243.33]) by maiev.nerim.net (Postfix) with ESMTP id E3A2EB92A9; Tue, 23 Sep 2008 11:01:23 +0200 (CEST) From: =?iso-8859-1?q?=C9ric_Bischoff?= To: docbook-tools-discuss@sourceware.org Subject: Re: How to generate index? Date: Tue, 23 Sep 2008 09:02:00 -0000 User-Agent: KMail/1.9.9 Cc: "Yang SongXiang" References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200809231105.44294.ebischoff@nerim.net> X-IsSubscribed: yes Mailing-List: contact docbook-tools-discuss-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: docbook-tools-discuss-owner@sourceware.org X-SW-Source: 2008/txt/msg00002.txt.bz2 Le Tuesday 23 September 2008 09:19:51 Yang SongXiang, vous avez =E9crit=A0: > Hi, All, > > When I use docbook2pdf, I found it can process Index successfully. > My sample file is: > Title > sampel file > Keyword > .... > ... > > > > When I use docbook2pdf, the pdf didn't record the "Keyword" in Index. > When I use FOP, it can successfully index the "keyword". > > Could anyone know how to generate index-ed item for docbook2pdf? Check the version of the style sheets it uses. Also, I have too little time to continue maintaining the docbook tools. Any= =20 volunteer to take the project ? --=20 =C9ric Biscchoff - ^H^H zut ! ^H^H ^Q ^[ .. :w :q :wq :wq! ^d X^? exit X Q ^C ^c ^? :quitbye CtrlAltDel ~~q :~q logout save/quit :!QUIT ^[zz ^[ZZZZZZ ^H man vi ^@ ^L ^[c ^# ^E ^X ^I ^T ? help helpquit ^D ^d man help ^C exit ?Quit ?q CtrlShftDel "Au sec From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7015 invoked by alias); 17 Oct 2008 05:50:32 -0000 Received: (qmail 7006 invoked by uid 22791); 17 Oct 2008 05:50:31 -0000 X-Spam-Check-By: sourceware.org Received: from fg-out-1718.google.com (HELO fg-out-1718.google.com) (72.14.220.157) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 17 Oct 2008 05:49:42 +0000 Received: by fg-out-1718.google.com with SMTP id e12so310170fga.0 for ; Thu, 16 Oct 2008 22:49:39 -0700 (PDT) Received: by 10.181.50.7 with SMTP id c7mr974755bkk.100.1224222578577; Thu, 16 Oct 2008 22:49:38 -0700 (PDT) Received: by 10.181.7.15 with HTTP; Thu, 16 Oct 2008 22:49:38 -0700 (PDT) Message-ID: Date: Fri, 17 Oct 2008 05:50:00 -0000 From: "Yang SongXiang" To: docbook-tools-discuss@sourceware.org Subject: Re: How to generate index? Cc: "=?ISO-8859-1?Q?=C9ric_Bischoff?=" In-Reply-To: <200809241442.47715.ebischoff@nerim.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200809231105.44294.ebischoff@nerim.net> <200809241442.47715.ebischoff@nerim.net> X-IsSubscribed: yes Mailing-List: contact docbook-tools-discuss-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: docbook-tools-discuss-owner@sourceware.org X-SW-Source: 2008/txt/msg00003.txt.bz2 All, 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(http://www.fifi.org/doc/docbook-dsssl-doc/indexing.html) 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: .... ]> .... <--- add this at the end --> &myidx; 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) ./collateindex.pl -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 -Scord