On 07/26/2017 12:42 PM, Niels Grundtvig Nielsen wrote:
Thanks for the quick response; let's continue the discussion 'face to face' rather than in the group …You explain that <glossref href="ONE.dita" keys="key_ONE"/> is strictly equivalent to: <topicref href="ONE.dita" keys="key_ONE" linking="none" print="no" toc="no" search="no"/> Read as such, I would hope that setting the print attribute in the glossref to yes would resolve the problem; but as you will already know, it doesn't.
I've retested <glossref> elements and it appears that you need to add not only print="yes", but also linking="normal" to a <glossref> element to make it really usable:
--- <glossref href="abs.dita" keys="abs" linking="normal" print="yes"/> --- <glossref> default attribute value linking="none" means: "A topic cannot be linked to or link to other topics."See http://docs.oasis-open.org/dita/dita/v1.3/errata01/os/complete/part2-tech-content/langRef/technicalContent/glossref.html
When this is done, what follows: --- <xref keyref="abs"/> <term keyref="cde"/> <abbreviated-form keyref="abs"/> --- behave as specified by DITA 1.3. (Sample DITA files attached to this email.)As explained in our doc (http://www.xmlmind.com/ditac/_distrib/doc/manual/limitations.html), the simplest is to avoid using <glossref> elements (which seem to have a *faulty* *design*) and to stick to <topicref> elements.
---PS: Except for a few announces, we never post to the "dita-users" Yahoo group because this group seems to be dedicated to the DITA-OT and to oXygen Editor/Author, the market leader of DITA editors. XMLmind DITA Converter is our in-house cleanroom design and as such, has no relationship whatsoever with the DITA-OT.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN"
"map.dtd">
<map>
<title>Tests glossref</title>
<topicref href="ch1.dita"/>
<topichead navtitle="Glossary">
<glossref href="cde.dita" keys="cde" linking="normal" print="yes"/>
<glossref href="abs.dita" keys="abs" linking="normal" print="yes"/>
</topichead>
</map>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN"
"topic.dtd">
<topic id="ch1">
<title>First chapter</title>
<body>
<p>First chapter.</p>
<ul>
<li>First item.</li>
<li>Test: <xref keyref="abs"/>.</li>
<li><term>Required SACS codes</term> are defined by the <term
keyref="cde"/>. Test: <abbreviated-form keyref="abs"/>. They are the
minimum set of SACS codes that your district <i>must</i> use to report
accounting detail. All required SACS codes are available in Galaxy
Web.</li>
</ul>
</body>
</topic>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glossentry PUBLIC "-//OASIS//DTD DITA Glossary Entry//EN"
"glossentry.dtd">
<glossentry id="abs">
<glossterm>Anti-lock Braking System</glossterm>
<glossBody>
<glossSurfaceForm>Anti-lock Braking System (ABS)</glossSurfaceForm>
<glossAlt>
<glossAcronym>ABS</glossAcronym>
</glossAlt>
</glossBody>
</glossentry>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glossentry PUBLIC "-//OASIS//DTD DITA Glossary Entry//EN"
"glossentry.dtd">
<glossentry id="cde">
<glossterm>California Department of Education</glossterm>
<glossBody>
<glossSurfaceForm>California Department of Education
(CDE)</glossSurfaceForm>
<glossAlt>
<glossAcronym>CDE</glossAcronym>
</glossAlt>
</glossBody>
</glossentry>
tglossref.pdf
Description: Adobe PDF document
-- XMLmind DITA Converter Support List [email protected] http://www.xmlmind.com/mailman/listinfo/ditac-support

