Skip to content

Support broken glosslist in HTML#433

Open
tomschr wants to merge 3 commits intomainfrom
bugfix/432-glosslist
Open

Support broken glosslist in HTML#433
tomschr wants to merge 3 commits intomainfrom
bugfix/432-glosslist

Conversation

@tomschr
Copy link
Collaborator

@tomschr tomschr commented Mar 16, 2021

This PR fixes #432 and implements:

  1. CSS rules for glosslist and children to use the same appearance like variablelist
  2. an additional template rule to allow @linkend inside glossseealso

The second item was an outcome of my accident. Not really sure if we should support that (that's why there are two separate commits). I think the impact would be minimal, but it could improve usability.

As a proof-of-concept, I've added both, glosslist and variablelist, to compare each other. If I use the modified CSS, I get:

issue-432

@tomschr tomschr added the format-html html, xhtml, html5, webhelp, jsp support label Mar 16, 2021
@tomschr tomschr requested a review from a user March 16, 2021 16:53
@tomschr tomschr self-assigned this Mar 16, 2021
@tomschr tomschr force-pushed the bugfix/432-glosslist branch from 4857162 to 4215b1c Compare March 16, 2021 16:54
@tomschr tomschr force-pushed the bugfix/432-glosslist branch from 4215b1c to 7588360 Compare July 26, 2022 12:29
@tomschr tomschr added cat-enhancement Enhancements styles-2013 "suse2013", "suse2013-ns", "daps2013", "daps2013-ns", "opensuse2013", "opensuse2013-ns" styles styles-2021 "suse2021-ns" styles styles-2022 "suse2022-ns" styles labels Nov 24, 2022
tomschr and others added 3 commits November 24, 2022 07:25
Add CSS rules for glosslist to mimick appearance of variablelist
I run into the problem of useing <glossseealso linkend="..."/>
instead of <glossseealso otherterm="..."/>.

As we are so get used to linkend in xref, I think it is
natural to support this in <glossseealso> too.

Although the commit contains several lines, the only change
in comparison to the original template rule is this:

  <xsl:variable name="otherterm" select="(@otherterm|@linkend)[1]"/>

The rest is like the original template rule.
@tomschr tomschr force-pushed the bugfix/432-glosslist branch from 7588360 to 2164718 Compare November 24, 2022 06:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cat-enhancement Enhancements format-html html, xhtml, html5, webhelp, jsp support styles-2013 "suse2013", "suse2013-ns", "daps2013", "daps2013-ns", "opensuse2013", "opensuse2013-ns" styles styles-2021 "suse2021-ns" styles styles-2022 "suse2022-ns" styles

Projects

None yet

Development

Successfully merging this pull request may close these issues.

glosslist broken in HTML

1 participant