OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: DOCBOOK-APPS: Comments on 1.50.1-EXP, please!


Norman Walsh <ndw@nwalsh.com> writes:

> Has anyone tried 1.50.1-EXP? Can you comment on the relative filenames
> issues (if there are any)?

I've included a test document that produces some
probably-not-expected-behavior results.

Putting a dir pseudo-attribute after the root/document element seems
to mess things up. It breaks links on the TOC, and remaining "child"
chunks of the root don't get written to the directory specified in the
root dbhtml dir PI unless they also contain dbhtml filename/dir PIs.
If they don't, they just get written to the current directory.

Actually, I think the same goes for any child chunks -- unless they
contain a dbhtml filename/dir PI, they get written to the current
directory instead of to whatever the chunk directory specified on
their parent might be.

I don't think these are problems new to 1.50.0-EXP -- I think previous
releases did things the same way, so it's not introducing any new
problems that weren't there already.

Anyway, in spite of those existing problems, with 1.50.0-EXP, the
links between documents themselves -- the thing the release was meant
to fixed -- now seem to work correctly.

This is all with Saxon 6.5.2

  --Mike



<?xml version='1.0'?>
<!DOCTYPE book
  PUBLIC "-//OASIS//DTD DocBook XML V4.2CR1//EN"
  "/usr/share/xml/docbook/dtd/4.2CR1/docbookx.dtd"
 >

<book>
  <?dbhtml filename="index.html" dir="html"?>
  <title>dbhtml dir try</title>
  <preface id="preface">
    <?dbhtml filename="preface.html" dir="preface"?>
    <title>Preface</title>
    <para>see <xref linkend="chapter1"/> for the actual content of the
      book</para>
    <section id="preface.section1">
      <title>Section 1</title>
      <para>prefatory info</para>
    </section>
    <section id="preface.section2">
      <title>Section 2</title>
      <para>this is just to check what happens to a chunk with a
        "parent" dbhtml dir PI, but no dbhtml dir PI of its own </para>
      <para>see <xref linkend="chapter1"/> for the actual content of the
        book</para>
    </section>
  </preface>
  <chapter id="chapter1">
    <?dbhtml filename="chapter1.html" dir="chapter1"?>
    <title>Chapter One</title>
    <para>check <xref linkend="preface.section2"/> of the <xref
        linkend="preface"/> for prefatory
      info</para>
  </chapter>
  <chapter id="chapter2">
    <title>Chapter Two</title>
    <para>This is just here to see if what happens to a chunk with no
      dbhtml PI and with/withou a "parent" dbhtml PI and to check a
      x-ref to the <xref linkend="preface"/>.</para>
  </chapter>
</book>


-- 
Michael Smith, Tokyo, Japan    http://sideshowbarker.net
&#x30DE;&#x30A4;&#x30AF;

They moved the Great Pyramid to destroy its geometric alignment. All books were 
altered to conceal the TRUTH about harmonic reality totality physics. They 
altered the Bible to hide the COSMIC TRUTH about electro-time law. 

                               http://www.logopoeia.com/wisdom/





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC