atom feed16 messages in org.oasis-open.lists.docbook-appsRe: [docbook-apps] Bug in chunking he...
FromSent OnAttachments
Jens StavnstrupOct 23, 2003 12:58 am 
Bob StaytonOct 23, 2003 11:30 am 
Jens StavnstrupOct 23, 2003 11:35 pm 
Bob StaytonOct 27, 2003 9:53 am 
Jens StavnstrupOct 27, 2003 10:17 am 
Jirka KosekOct 27, 2003 10:31 am.bin
Jens StavnstrupOct 27, 2003 11:13 am 
Jens StavnstrupDec 9, 2003 4:48 am 
Bob StaytonDec 9, 2003 10:35 am 
Jens StavnstrupDec 9, 2003 1:27 pm 
Bob StaytonDec 9, 2003 1:47 pm 
Jens StavnstrupDec 9, 2003 2:12 pm 
Bob StaytonDec 9, 2003 2:37 pm 
Jens StavnstrupDec 10, 2003 1:08 am 
Jirka KosekDec 10, 2003 1:19 am.bin
Jens StavnstrupDec 10, 2003 1:38 am 
Subject:Re: [docbook-apps] Bug in chunking header/footer generation
From:Jens Stavnstrup (js@ddre.dk)
Date:Dec 10, 2003 1:08:35 am
List:org.oasis-open.lists.docbook-apps

Bob and Jirka,

On Tue, 9 Dec 2003, Bob Stayton wrote:

Are you absolutely sure you have version 1.4?

Yes, I do have 1.4

If you run cvs diff on html/chunk-code.xsl 1.3/1.4 you will see lines like: 236c248 < |preceding::setindex[1]

---

|preceding::setindex[$generate.index != 0][1]

321c333 < |following::setindex[1]

---

|following::setindex[$generate.index != 0][1]

In the cCVS omment for version 1.4, I failed to mention these changes. Sorry about that.

My mistake, that I did not look into the 1.4 version of chunk-code.xsl, I did take your remarks in the CVS at face value, which is also why I made the comparison between 1.2 and 1.3.

Your mail below also says you are setting generate.index to 1, which will generate the index and the link. Was that meant to be 0?

Yes and no. When I set generate.index to 0, the incorrect link is not generated, but my problem is that then the hhk file (a MS Index file) is also not generated, although I have set the htmlhelp.use.hhk to 1.

Maybe this is htmlhelp related, what do you say Jirka ?

I have replaced htmlhelp.xsl, with my own (exact copy of Jirkas, except I import my own chunk file). That chunk file is an exact copy of the html/chunk.xsl file except, that I use the cvs versions of chunk-code.xsl and chunk-common.xsl).

Can it be more complicated ?

My temporary solution is to have the index page generated (besides the htmlhelp index generated by the HTMLHelp compiler).

Regards,

Jens

----- Original Message ----- From: "Jens Stavnstrup" <js@ddre.dk> To: "Bob Stayton" <bo@sagehill.net> Cc: "Bob Stayton" <bo@sco.com>; <docb@lists.oasis-open.org> Sent: Tuesday, December 09, 2003 2:15 PM Subject: Re: [docbook-apps] Bug in chunking header/footer generation

Bob,

Yes, I am using 1.4.

I have set generate.index to 1, and htmlhelp.use.hhk to 1. I do want an Index, but do not want DocBook to generate it (except for the hhk file).

But as mentioned in my last mail. It is only in idex and not in setindex you have the a tset for the generate.index parameter. E.g.

|preceeding::index[$generate.index!= 0][1}]

where for index the similar line is

|preceeding::setindex[1]

See diff 1.2/1.3 of chunk-code.xsl

Regards,

Jens

On Tue, 9 Dec 2003, Bob Stayton wrote:

Hmm, that's strange because it works for me. Are you using version 1.4 of html/chunk-code.xsl?

Bob Stayton Sagehill Enterprises bo@sagehill.net

----- Original Message ----- From: "Jens Stavnstrup" <js@ddre.dk> To: "Bob Stayton" <bo@sagehill.net> Cc: "Bob Stayton" <bo@sco.com>; <docb@lists.oasis-open.org> Sent: Tuesday, December 09, 2003 1:31 PM Subject: Re: [docbook-apps] Bug in chunking header/footer generation

Bob,

In that case, it does not work for setindex. The similar fix you provided for index works just fine.

Regards,

Jens

On Tue, 9 Dec 2003, Bob Stayton wrote:

The fixes for setindex have been checked into CVS, so they should be in the next release.

----- Original Message ----- From: "Jens Stavnstrup" <js@ddre.dk> To: "Bob Stayton" <bo@sco.com> Cc: <docb@lists.oasis-open.org> Sent: Tuesday, December 09, 2003 4:54 AM Subject: Re: [docbook-apps] Bug in chunking header/footer generation

Bob,

I finally got around to it. And the last page do generate a (next reference) to an set indexfile even though it does not exists.

It would be nice, if this could be included in 1.62.5

Regards,

Jens

On Mon, 27 Oct 2003, Bob Stayton wrote:

Ah, yes, I didn't realize that setindex is also controlled by the generate.index parameter. I can make the same fix for Next and Previous for setindex.

But it looks to me that setindex would still appear in the TOC if generate.index=0. Have you tried that?

Bob Stayton 400 Encinal Street Publications Architect Santa Cruz, CA 95060 Technical Publications voice: (831) 427-7796 The SCO Group fax: (831) 429-1887 email: bo@sco.com

On Fri, Oct 24, 2003 at 08:38:03AM +0200, Jens Stavnstrup wrote:

Bob,

Thanks. I have not tested it yet, but what about set-index ?

Regards,

On Thu, 23 Oct 2003, Bob Stayton wrote:

On Thu, Oct 23, 2003 at 10:01:49AM +0200, Jens Stavnstrup

wrote:

In DocBook XSL 1.62.4 I observe the following behaviour,

but

suspect

this to be a bug, which have existed for a long time.

When a document contains an index. The chunk mechanism by

default

generate

a chunk (or more ??) containing this index.

When generate.index is set to 0, this index is as expected

not

generated.

However the previous section header and footer, will still

have a

"next"

reference to the non-existing index.

Yep, this is a bug. I just checked in a fixed version of html/chunk-code.xsl.

Bob Stayton 400 Encinal Street Publications Architect Santa Cruz, CA 95060 Technical Publications voice: (831) 427-7796 The SCO Group fax: (831)

429-1887

To unsubscribe from this list, send a post to

docb@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.

To unsubscribe from this list, send a post to

docb@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.

To unsubscribe from this list, send a post to

docb@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.

To unsubscribe from this list, send a post to

docb@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.

Regards,

Jens

------------------------------------------------------------------------ Jens Stavnstrup Phone : Danish Defence Research Establishment Voice : + 45 - 39 15 17 97 Ryvangs Alle 1 - P.O. Box 2715 Fax : + 45 - 39 29 15 33 DK - 2100 Copenhagen O. E-Mail (Internet) : Denmark js@ddre.dk

------------------------------------------------------------------------

To unsubscribe from this list, send a post to

docb@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.

To unsubscribe from this list, send a post to docb@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.

Regards,