You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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-templatesselect="$document-root//frontmatter/colophon/website/url/@href" />
<xsl:text>/</xsl:text>
<xsl:apply-templatesselect="."mode="visible-id" />
<xsl:text>.html!,"</xsl:text>
<xsl:apply-templatesselect="."mode="type-name" /><xsl:text> </xsl:text><xsl:apply-templatesselect="."mode="number" /><xsl:text>")." of </xsl:text><xsl:apply-templatesselect="$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.
The text was updated successfully, but these errors were encountered:
Line 354 of
/xsl/pretext-ww-problem-sets.xsl
is (with newlines added for claritySo, 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.
The text was updated successfully, but these errors were encountered: