Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support broken glosslist in HTML #433

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

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 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.
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