docbook-apps

  • 1.  Re: [docbook-apps] XREF text/label issue

    Posted 09-03-2010 18:12
    Hi Dean,
    I can't duplicate you problem. I just tried a small customization that imports 1.75.2 and sets the params you listed, and I get xrefs to sections showing as:

    Section 1.2, "Section Title"

    So it seems to work in the base stylesheets, and I cannot tell what is going wrong on your system. Are you using xrefstyle attributes in your xrefs?

    Bob Stayton
    Sagehill Enterprises
    bobs@sagehill.net





  • 2.  Re: [docbook-apps] XREF text/label issue

    Posted 09-03-2010 18:54
    Bob,
    I'm using just the simple xrefs with linkends pointing to IDs. That's what is so strange.

    OK I just did some testing with clean 1.75.2 and it works as advertised with and without my customization. I had done some updates to the 1.75.2 from the subversion that seems to have broken some of the labeling. So maybe I need to try the new release candidate first before I try to dig out the updates to 1.75.2.

    More later...

    Dean


    In a message dated 09/03/10 11:12:03 Pacific Daylight Time, bobs@sagehill.net writes:
    Hi Dean,
    I can't duplicate you problem. I just tried a small customization that imports 1.75.2 and sets the params you listed, and I get xrefs to sections showing as:

    Section 1.2, "Section Title"

    So it seems to work in the base stylesheets, and I cannot tell what is going wrong on your system. Are you using xrefstyle attributes in your xrefs?

    Bob Stayton
    Sagehill Enterprises
    bobs@sagehill.net





  • 3.  Re: [docbook-apps] XREF text/label issue

    Posted 09-03-2010 19:04
    On Fri, Sep 3, 2010 at 11:54 AM, deannelson <deannelson@aol.com> wrote:
    > So maybe I need
    > to try the new release candidate first before I try to dig out the updates
    > to 1.75.2.

    DocBook-XSL 1.76.0 should be released in a few hours, if you'd like to
    use that for *testing* (it's not a production-quality release).



  • 4.  Re: [docbook-apps] XREF text/label issue

    Posted 09-03-2010 21:08
    If its anything like the snapshot I just tested, I'm sure it will be fine.

    Thanks!
    Dean



    In a message dated 09/03/10 12:26:18 Pacific Daylight Time, abdelazer@gmail.com writes:
    On Fri, Sep 3, 2010 at 11:54 AM, deannelson <deannelson@aol.com> wrote:
    > So maybe I need
    > to try the new release candidate first before I try to dig out the updates
    > to 1.75.2.

    DocBook-XSL 1.76.0 should be released in a few hours, if you'd like to
    use that for *testing* (it's not a production-quality release).


  • 5.  Re: [docbook-apps] XREF text/label issue

    Posted 09-03-2010 19:16
    Ok, I tested this with the snapshot for 27-Aug-10 and it did not work right. So the issue appears to be in the repository stylesheets.

    The symptoms are that there are no number labeling at all except for the TOC.

    Can anyone confirm this?

    Here is the xml and style sheet:
    ---------------



    <chapter>



    <para>Check number 2 calibration using the <emphasis role="bold">froggy</emphasis>
    procedures. See <xref linkend="TCL-sys"/>. </para>






    <para>This system is used to verify calibration and provides a completely independent check
    of force measurement calibration. The Tension Calibration System is traceable to the U.S.
    National Institute of Standards and Technology. Needed to perform the calibration are two
    wood-faced steel paddles for insertion into the clamps, a tension load cell with steel pins
    for attachment to the paddles and a readout (TCL).</para>

    </chapter>
    -----------------------------

    Customization XSL
    -----------------------------

    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
    xmlns:fo="http://www.w3.org/1999/XSL/Format">


    <xsl:import href="../../doctools/docbook-xsl-1.75.2/fo/docbook.xsl"/>

    <xsl:param name="xref.with.number.and.title">1</xsl:param>
    <xsl:param name="section.label.includes.component.label">1</xsl:param>
    <xsl:param name="section.autolabel">1</xsl:param>
    <xsl:param name="section.autolabel.max.depth">10</xsl:param>
    <xsl:param name="chapter.autolabel">1</xsl:param>
    <xsl:param name="generate.section.toc.level">2</xsl:param>
    <xsl:param name="toc.max.depth" select="6"></xsl:param>

    <xsl:param name="label.from.part" select="1"></xsl:param>
    <xsl:param name="component.label.includes.part.label" select="1"></xsl:param>
    </xsl:stylesheet>




    In a message dated 09/03/10 11:56:21 Pacific Daylight Time, deannelson writes:
    Bob,
    I'm using just the simple xrefs with linkends pointing to IDs. That's what is so strange.

    OK I just did some testing with clean 1.75.2 and it works as advertised with and without my customization. I had done some updates to the 1.75.2 from the subversion that seems to have broken some of the labeling. So maybe I need to try the new release candidate first before I try to dig out the updates to 1.75.2.

    More later...

    Dean


    In a message dated 09/03/10 11:12:03 Pacific Daylight Time, bobs@sagehill.net writes:
    Hi Dean,
    I can't duplicate you problem. I just tried a small customization that imports 1.75.2 and sets the params you listed, and I get xrefs to sections showing as:

    Section 1.2, "Section Title"

    So it seems to work in the base stylesheets, and I cannot tell what is going wrong on your system. Are you using xrefstyle attributes in your xrefs?

    Bob Stayton
    Sagehill Enterprises
    bobs@sagehill.net





  • 6.  Re: [docbook-apps] XREF text/label issue

    Posted 09-04-2010 03:20
    I confirm that :

    1) sections are not numbered ;
    2) generated text for XREF's : no "..." surrounding text (no << ... >> in French) ; number followed by a point, not a comma. Example : Figure 1.4. Les classes

    --
    Christophe HARO
    Christophe.HARO@free.fr
    ----------------------------

    ----- "deannelson" <deannelson@aol.com> a écrit :

    > Ok, I tested this with the snapshot for 27-Aug-10 and it did not work
    > right. So the issue appears to be in the repository stylesheets.
    >
    > The symptoms are that there are no number labeling at all except for
    > the TOC.
    >
    > Can anyone confirm this?
    >
    > Here is the xml and style sheet:
    > ---------------
    >
    > > http://www.docbook.org/xml/4.5/docbookx.dtd ">
    >
    > <chapter>
    >

    >
    >
    > <para>Check number 2 calibration using the <emphasis
    > role="bold">froggy</emphasis>
    > procedures. See <xref linkend="TCL-sys"/>. </para>
    >

    >
    >

    >
    >
    >
    > <para>This system is used to verify calibration and provides a
    > completely independent check
    > of force measurement calibration. The Tension Calibration System is
    > traceable to the U.S.
    > National Institute of Standards and Technology. Needed to perform the
    > calibration are two
    > wood-faced steel paddles for insertion into the clamps, a tension load
    > cell with steel pins
    > for attachment to the paddles and a readout (TCL).</para>
    >

    > </chapter>
    > -----------------------------
    >
    > Customization XSL
    > -----------------------------
    >
    > <xsl:stylesheet xmlns:xsl=" http://www.w3.org/1999/XSL/Transform "
    > version="1.0"
    > xmlns:fo=" http://www.w3.org/1999/XSL/Format ">
    >
    >
    > <xsl:import href="../../doctools/docbook-xsl-1.75.2/fo/docbook.xsl"/>
    >
    > <xsl:param name="xref.with.number.and.title">1</xsl:param>
    > <xsl:param name="section.label.includes.component.label">1</xsl:param>
    > <xsl:param name="section.autolabel">1</xsl:param>
    > <xsl:param name="section.autolabel.max.depth">10</xsl:param>
    > <xsl:param name="chapter.autolabel">1</xsl:param>
    > <xsl:param name="generate.section.toc.level">2</xsl:param>
    > <xsl:param name="toc.max.depth" select="6"></xsl:param>
    >
    > <xsl:param name="label.from.part" select="1"></xsl:param>
    > <xsl:param name="component.label.includes.part.label"
    > select="1"></xsl:param>
    > </xsl:stylesheet>
    >
    >
    >
    >
    > In a message dated 09/03/10 11:56:21 Pacific Daylight Time, deannelson
    > writes:
    >
    >
    >
    > Bob,
    > I'm using just the simple xrefs with linkends pointing to IDs. That's
    > what is so strange.
    >
    > OK I just did some testing with clean 1.75.2 and it works as
    > advertised with and without my customization. I had done some updates
    > to the 1.75.2 from the subversion that seems to have broken some of
    > the labeling. So maybe I need to try the new release candidate first
    > before I try to dig out the updates to 1.75.2.
    >
    > More later...
    >
    > Dean
    >
    >
    > In a message dated 09/03/10 11:12:03 Pacific Daylight Time,
    > bobs@sagehill.net writes:
    >
    >
    >
    > Hi Dean,
    > I can't duplicate you problem. I just tried a small customization that
    > imports 1.75.2 and sets the params you listed, and I get xrefs to
    > sections showing as:
    >
    > Section 1.2, "Section Title"
    >
    > So it seems to work in the base stylesheets, and I cannot tell what is
    > going wrong on your system. Are you using xrefstyle attributes in your
    > xrefs?
    >
    > Bob Stayton
    > Sagehill Enterprises
    > bobs@sagehill.net
    >
    >
    >
    >
    >


  • 7.  Re: [docbook-apps] XREF text/label issue

    Posted 09-04-2010 05:56
    Thanks Chrisophe! It looks like it works in 1.75.2 but not in 1.76.0.
    Dean



    In a message dated 09/03/10 20:20:32 Pacific Daylight Time, christophe.haro@free.fr writes:
    I confirm that :

    1) sections are not numbered ;
    2) generated text for XREF's : no "..." surrounding text (no << ... >> in French) ; number followed by a point, not a comma. Example : Figure 1.4. Les classes

    --
    Christophe HARO
    Christophe.HARO@free.fr
    ----------------------------

    ----- "deannelson" <deannelson@aol.com> a écrit :

    > Ok, I tested this with the snapshot for 27-Aug-10 and it did not work
    > right. So the issue appears to be in the repository stylesheets.
    >
    > The symptoms are that there are no number labeling at all except for
    > the TOC.
    >
    > Can anyone confirm this?
    >
    > Here is the xml and style sheet:
    > ---------------
    >
    > > http://www.docbook.org/xml/4.5/docbookx.dtd ">
    >
    > <chapter>
    >

    >
    >
    > <para>Check number 2 calibration using the <emphasis
    > role="bold">froggy</emphasis>
    > procedures. See <xref linkend="TCL-sys"/>. </para>
    >

    >
    >

    >
    >
    >
    > <para>This system is used to verify calibration and provides a
    > completely independent check
    > of force measurement calibration. The Tension Calibration System is
    > traceable to the U.S.
    > National Institute of Standards and Technology. Needed to perform the
    > calibration are two
    > wood-faced steel paddles for insertion into the clamps, a tension load
    > cell with steel pins
    > for attachment to the paddles and a readout (TCL).</para>
    >

    > </chapter>
    > -----------------------------
    >
    > Customization XSL
    > -----------------------------
    >
    > <xsl:stylesheet xmlns:xsl=" http://www.w3.org/1999/XSL/Transform "
    > version="1.0"
    > xmlns:fo=" http://www.w3.org/1999/XSL/Format ">
    >
    >
    > <xsl:import href="../../doctools/docbook-xsl-1.75.2/fo/docbook.xsl"/>
    >
    > <xsl:param name="xref.with.number.and.title">1</xsl:param>
    > <xsl:param name="section.label.includes.component.label">1</xsl:param>
    > <xsl:param name="section.autolabel">1</xsl:param>
    > <xsl:param name="section.autolabel.max.depth">10</xsl:param>
    > <xsl:param name="chapter.autolabel">1</xsl:param>
    > <xsl:param name="generate.section.toc.level">2</xsl:param>
    > <xsl:param name="toc.max.depth" select="6"></xsl:param>
    >
    > <xsl:param name="label.from.part" select="1"></xsl:param>
    > <xsl:param name="component.label.includes.part.label"
    > select="1"></xsl:param>
    > </xsl:stylesheet>
    >
    >
    >
    >
    > In a message dated 09/03/10 11:56:21 Pacific Daylight Time, deannelson
    > writes:
    >
    >
    >
    > Bob,
    > I'm using just the simple xrefs with linkends pointing to IDs. That's
    > what is so strange.
    >
    > OK I just did some testing with clean 1.75.2 and it works as
    > advertised with and without my customization. I had done some updates
    > to the 1.75.2 from the subversion that seems to have broken some of
    > the labeling. So maybe I need to try the new release candidate first
    > before I try to dig out the updates to 1.75.2.
    >
    > More later...
    >
    > Dean
    >
    >
    > In a message dated 09/03/10 11:12:03 Pacific Daylight Time,
    > bobs@sagehill.net writes:
    >
    >
    >
    > Hi Dean,
    > I can't duplicate you problem. I just tried a small customization that
    > imports 1.75.2 and sets the params you listed, and I get xrefs to
    > sections showing as:
    >
    > Section 1.2, "Section Title"
    >
    > So it seems to work in the base stylesheets, and I cannot tell what is
    > going wrong on your system. Are you using xrefstyle attributes in your
    > xrefs?
    >
    > Bob Stayton
    > Sagehill Enterprises
    > bobs@sagehill.net
    >
    >
    >
    >
    >