Glossary List in BookMap

Post here questions and problems related to editing and publishing DITA content.
davdup
Posts: 22
Joined: Wed May 29, 2019 5:43 pm

Glossary List in BookMap

Post by davdup »

Hi,
I would like to use a glossary (mainly for the abbreviated forms) in both my WebHelp and PDF output.
I added a glossarylist to my backmatter in the bookmap, like this:

Code: Select all

    <backmatter>
        <booklists>
            <indexlist/>
            <glossarylist>
                <topicref keys="COG" href="glossary/glossaryCOG.dita"/>
                <topicref keys="NI" href="glossary/glossaryNormandInstaller.dita"/>
                <topicref keys="OS" href="glossary/glossaryOS.dita"/>
                <topicref keys="OBS" href="glossary/glossaryOBS.dita"/></glossarylist>
        </booklists>
    </backmatter>
Everything works fine for the pdf output (a glossary is added at the end of the pdf). But for the Webhelp output I get a top level menu for each glossentry (that appear in the top menu bar) as well as one tile for each entry (I use the Oxygen (tiles) template as a base for my webhelp).
How can I prevent this behaviour?

Thanks for the help!

David
julien_lacour
Posts: 498
Joined: Wed Oct 16, 2019 3:47 pm

Re: Glossary List in BookMap

Post by julien_lacour »

Hello,

You can hide entries from the WebHelp menu by setting some metadata on the topicref:

Code: Select all

<backmatter>
        <booklists>
            <indexlist/>
            <glossarylist>
                <topicref keys="COG" href="glossary/glossaryCOG.dita">
                    <topicmeta>
                        <data name="wh-menu">
                            <data name="hide" value="yes"/>
                        </data>
                    </topicmeta>
                </topicref>
                <topicref keys="NI" href="glossary/glossaryNormandInstaller.dita">
                    <topicmeta>
                        <data name="wh-menu">
                            <data name="hide" value="yes"/>
                        </data>
                    </topicmeta>
                </topicref>
                <topicref keys="OS" href="glossary/glossaryOS.dita">
                    <topicmeta>
                        <data name="wh-menu">
                            <data name="hide" value="yes"/>
                        </data>
                    </topicmeta>
                </topicref>
                <topicref keys="OBS" href="glossary/glossaryOBS.dita">
                    <topicmeta>
                        <data name="wh-menu">
                            <data name="hide" value="yes"/>
                        </data>
                    </topicmeta>
                </topicref>
            </glossarylist>
        </booklists>
    </backmatter>
Regards,
Julien
davdup
Posts: 22
Joined: Wed May 29, 2019 5:43 pm

Re: Glossary List in BookMap

Post by davdup »

Great! Thank you very much! And about the tiles on the index page of the WebHelp output I think I get my answer here: https://www.oxygenxml.com/doc/versions/ ... tiles.html
Last edited by davdup on Wed Dec 13, 2023 5:52 pm, edited 2 times in total.
Post Reply