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] | [List Home]


Subject: Re: [docbook-apps] Duplicate TOC Enries with WebHelp DocBook


Is the source DocBook XML changing between the random occurrences of
this error? Also, are you validating the source XML?

I'm wondering why the stylesheets are trying to find the title of a
code element. It sounds like you might be trying to process invalid
DocBook XML.

Have you broken the source XML into separate files? If so, maybe
something unusual is happening you are resolving the separate files
into a complete document?

Peter

On Tue, Sep 17, 2013 at 10:08 AM, Morgan Hayward
<MorganHayward@ruggedcom.com> wrote:
> Hi all,
>
>
>
> I’m using the WebHelp stylesheets in DocBook v1.78.0 to output an HTML
> version of my manual and something strange is happening.  Occasionally,
> maybe once every three or four times I build the manual, the links in the
> TOC will appear twice.  For instance:
>
>
>
> ·      Preface
>
> ·      Introduction
>
> ·      Installing the Device
>
> ·      Communication Ports
>
> ·      Technical Specifications
>
> ·      Dimension Drawings
>
> ·      Certification
>
> ·      Preface
>
> ·      Introduction
>
> ·      Installing the Device
>
> ·      Communication Ports
>
> ·      Technical Specifications
>
> ·      Dimension Drawings
>
> ·      Certification
>
>
>
> This problem seems to only appear when I get the following messages from
> DocBook during the build process:
>
>
>
> No template for "/code" (or any of its leaves) exists in the context named
> "title" in the "en" localization.
>
> Request for title of element with no title: code
>
> Writing ./Alerts.html for section(Alerts)
>
> .
>
> .
>
> .
>
> Writing ./Mounting_Device.html for section(Mounting_Device)
>
> Warning: multiple "IDs" for constraint linkend:
> Installing_Removing_Power_Supplies.
>
> Warning: multiple "IDs" for constraint linkend: Connecting_AC_Power.
>
> Warning: multiple "IDs" for constraint linkend: Connecting_DC_Power.
>
>
>
> With respect to the first error message, I have no
> templates/variables/parameters in my customization layer named “code”.  Nor
> can I find this word in the DocBook stylesheets.  The second error is
> unclear to me.  None of my IDs are repeated in the source XML, nor am I
> including the same XML twice (which would cause an ID conflict).
>
>
>
> Has anyone seen messages like this before?  Know what they mean or what
> causes them?  Are these related to the problem with the TOC?  Any assistance
> will be appreciated.  Again, this appears to happen randomly.  Perhaps it is
> related to resources available at the time…?
>
>
>
> Regards,
>
> Morgan
>
>


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