Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#1293 Wrong Indendation when using glosslist with glossseealso

output: manpages
open
nobody
XSL (1066)
5
2013-02-24
2013-02-24
Thomas Schraitle
No

Consider the following structure inside an refentry (typical manpage element):

<refsect1 id="defs">
<title>Definitions</title>
<glosslist>
<glossentry id="def.customization">
<glossterm>Customizations</glossterm>
<glossdef>
<para>Bla bla bla...</para>
<glossseealso otherterm="def.foo-xslt"/>
<glossseealso otherterm="def.book-xslt"/>
</glossdef>
</glossentry>
<!-- ... -->
</glosslist>
</refsect1>

The above structure is not untypical; it's a glossary definitions which refers to other entries. However, this creates two errors unfortunately:

1) The glossseealso element is not correctly resolved. You get something like this:

Customizations
Bla bla bla... FOO-Stylesheets, Bookspecific Stylesheets.RE

I would have expected to get a linebreak between the first para and the list of all glossseealso elements, similar to HTML. Furthermore, there is the artifact ".RE" which is literally printed and the missing "See also" text.

2) The more disturbing problem ist, that every glossseealso element creates an indendation for the _following_ glossary definition. For example, if the next entry would have also a glossseealso element, it would automatically indented like this:

Customizations
Bla bla bla... FOO-Stylesheets, Bookspecific Stylesheets.RE

Foo
Bla bla bla...

Bar
Bla bla...

Discussion