Hi,

 

Adding chunk="to-content" as suggested solved the problem.

 

Thanks,

Rodolfo

--

Rodolfo M. Raya          rmr...@maxprograms.com

Maxprograms              https://www.maxprograms.com 
<https://www.maxprograms.com/>

 

 

On 11/27/19, 12:03 PM, "Hussein Shafie" <huss...@xmlmind.com> wrote:

 

    In fact, the issue you have reported is not really a bug. Therefore 

    there will be no bug fix for this issue.

    

    Ditac simply cannot generate something usable with just this specification:

    

                 <glossarylist>

                     <topicref href="glossaries/CAT.dita"/>

                     <topicref href="glossaries/character_set.dita"/>

                     <topicref href="glossaries/SRX.dita"/>

                     <topicref href="glossaries/TMX.dita"/>

                     <topicref href="glossaries/XLIFF.dita"/>

                 </glossarylist>

    

    With the above glossarylist, ditac generates one HTML file containing 

    just a "Glossary" title and an HTML file for each <glossentry>.

    There is no link whatsoever between these HTML pages and glossary terms 

    do not appear in the TOC. This makes the glossary terms unreachable in 

    the generated Web Help (or HTMLHelp, EPUB, etc).

    

    In order to generate something usable, you must *explicitly* instruct 

    ditac to combine all glossentry files into one chunk. This is done as 

    follows:

    

                 <glossarylist chunk="to-content">

                     <topicref href="glossaries/CAT.dita"/>

                     <topicref href="glossaries/character_set.dita"/>

                     <topicref href="glossaries/SRX.dita"/>

                     <topicref href="glossaries/TMX.dita"/>

                     <topicref href="glossaries/XLIFF.dita"/>

                 </glossarylist>

    

    

    

    

    

    --> More information about chunking here: "Using the @chunk attribute",

    
http://docs.oasis-open.org/dita/dita/v1.3/errata02/os/complete/part2-tech-content/archSpec/base/chunkingdetails.html

    

    ----

    Rendering the selection

    

    The following tokens affect how the chunk values impact rendering of the 

    map or topics.

    

    * "to-content" : The selection should be rendered as a new chunk of content.

    

    When specified on a <topicref>, this means that the topics selected by 

    this <topicref> and its children will be rendered as a single chunk of 

    content.

    ----

    

    

    

    On 11/27/2019 12:32 PM, Rodolfo M. Raya wrote:

    >

    >

    > I have a bookmap that contains this:

    >

    >

    >

    > <backmatter>

    >         <booklists>

    >             <glossarylist>

    >                 <topicrefhref="glossaries/CAT.dita"/>

    >                 <topicrefhref="glossaries/character_set.dita"/>

    >                 <topicrefhref="glossaries/SRX.dita"/>

    >                 <topicrefhref="glossaries/TMX.dita"/>

    >                 <topicrefhref="glossaries/XLIFF.dita"/>

    >             </glossarylist>

    >         </booklists>

    >     </backmatter>

    >

    >

    >

    > When I set -p extended-toc boththe generated TOC contains a link to an

    > empty Glossary page when the output is Web Help 5. If the selected

    > output is PDF, a Glossary page containing all terms is generated.

    >

    >

    >

    > Check the attached images.

    >

    >

    >

    > Shouldn’t I get a glossary page from WHC too?

    >

    >

    >

    > The map and all files are available on GitHub at

    > https://github.com/rmraya/XLIFFManager/tree/master/docs

    >

    >

    >

    

--
XMLmind DITA Converter Support List
ditac-support@xmlmind.com
https://www.xmlmind.com/mailman/listinfo/ditac-support

Reply via email to