Glossary upper case vs. lower case

This forum is for all Flare issues not related to any of the other categories.
Post Reply
bdietz
Propeller Head
Posts: 16
Joined: Wed Oct 19, 2011 6:08 am

Glossary upper case vs. lower case

Post by bdietz »

Good afternoon,

I've got my glossary terms beginning with upper-case letters, and I have my file set up to make the first reference on a topic a popup glossary definition. That works fine, but only if the word in the topic begins with an upper-case letter. Is there any way to apply the glossary link to the word whether it's in upper or lower case?

Thank you
wclass
Propellus Maximus
Posts: 1238
Joined: Mon Feb 27, 2006 5:56 am
Location: Melbourne, Australia

Re: Glossary upper case vs. lower case

Post by wclass »

Flare glossaries are case-sensitive! This has been a problem for many years - many people have reported it (e.g. me in 2008) but still no change. You can add your name to the bug report list at:
https://www.madcapsoftware.com/feedback/bugs.aspx
Margaret Hassall - Melbourne
pajlee
Jr. Propeller Head
Posts: 2
Joined: Thu Dec 27, 2012 12:48 pm

Re: Glossary upper case vs. lower case

Post by pajlee »

Here is the deal:
We want to release a stand-alone online/printed version of our Glossary. However, because of case-sensitivity and plurals, etc. we end up with several entries for the same word. What we would like is all of the same entries grouped together with only one definition.

Does anyone know if there is any way to group the entries?

Paige Lukens-Gray
Sr. Documentation Writer
CSG International
Thomas Tregner
Propeller Head
Posts: 56
Joined: Mon Apr 05, 2010 6:51 pm
Location: Charleston
Contact:

Re: Glossary upper case vs. lower case

Post by Thomas Tregner »

You can use a transformation (XSLT) on the glossary to create a copy which includes only the first term for a definition in a glossary entry. Then you can use the copy for the stand-alone version. Here is the transformation:

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl"
>
    <xsl:output method="xml" indent="yes"/>

    <xsl:template match="@* | node()">
        <xsl:copy>
            <xsl:apply-templates select="@* | node()"/>
        </xsl:copy>
    </xsl:template>
  <xsl:template match="Terms">
    <Terms>
      <Term>
        <xsl:value-of select="Term"/>
      </Term>
    </Terms>
  </xsl:template>
</xsl:stylesheet>
Here is a link to download a free Microsoft utility to apply XML stylesheets:
http://www.microsoft.com/en-us/download ... x?id=21714

From a command line, you can run the utility to apply the stylesheet to a glossary using a command like this:
msxsl "TestGlossary.flglo" "ConvertGlossary.xslt" -o "NewGlossary.flglo"
pajlee
Jr. Propeller Head
Posts: 2
Joined: Thu Dec 27, 2012 12:48 pm

Re: Glossary upper case vs. lower case

Post by pajlee »

Thanks Thomas!!!! I will give this a try!

Paige
Post Reply