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

WeBWorK info message #2039

Open
rbeezer opened this issue Aug 10, 2023 · 0 comments
Open

WeBWorK info message #2039

rbeezer opened this issue Aug 10, 2023 · 0 comments
Assignees

Comments

@rbeezer
Copy link
Collaborator

rbeezer commented Aug 10, 2023

Line 354 of /xsl/pretext-ww-problem-sets.xsl is (with newlines added for clarity

 HTML=>"This assignment contains exercises from ".htmlLink(qq!</xsl:text>
<xsl:apply-templates select="$document-root//frontmatter/colophon/website/url/@href" />
<xsl:text>/</xsl:text>
<xsl:apply-templates select="." mode="visible-id" />
<xsl:text>.html!,"</xsl:text>
<xsl:apply-templates select="." mode="type-name" /><xsl:text> </xsl:text><xsl:apply-templates select="." mode="number" /><xsl:text>")." of </xsl:text><xsl:apply-templates select="$document-root"  mode="title-simple" /><xsl:text>."
  • The website URL just got overhauled and I made changes here. But I think this is an unreliable way to figure out where something is really hosted? Maybe better to use the "base-url" from the publisher file (if set)?
  • The "visible-id" template is probably right, but the "containing-filename" template is where it really comes from.

So, simply suggesting this could be improved, if it is important. If it is not that important, maybe a code comment to that effect is in order so nobody else gets too excited.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants