Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GoikLectures
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Goik Martin
GoikLectures
Commits
bca69293
Commit
bca69293
authored
7 years ago
by
Goik Martin
Browse files
Options
Downloads
Patches
Plain Diff
Linking slides to webhelp
parent
9649da86
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ws/Docbook/CustomLayer/slide/slideHdm.xsl
+7
-50
7 additions, 50 deletions
ws/Docbook/CustomLayer/slide/slideHdm.xsl
with
7 additions
and
50 deletions
ws/Docbook/CustomLayer/slide/slideHdm.xsl
+
7
−
50
View file @
bca69293
...
...
@@ -53,7 +53,6 @@
<body>
<!-- Wrap the entire slide show in a div using the "reveal" class. -->
<p>
Back to
<a
href=
"{$rootId}.html"
>
lecture notes
</a></p>
<div
class=
"reveal"
>
<!-- Wrap all slides in a single "slides" class -->
<div
class=
"slides"
>
...
...
@@ -110,7 +109,14 @@
<xsl:otherwise><xsl:value-of
select=
"generate-id(.)"
/></xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<xsl:apply-templates
select=
"."
/>
<a
style=
"font-size: 50%"
>
<xsl:attribute
name=
"href"
>
<xsl:call-template
name=
"href.target.uri"
/>
</xsl:attribute>
<xsl:text>
Back
</xsl:text>
</a>
</section>
</xsl:template>
...
...
@@ -137,55 +143,6 @@
</xsl:attribute>
</img>
</xsl:template>
<!-- <xsl:template match="d:section">
<xsl:param name="titleset"/>
<xsl:variable name="extendedTitleset" select="$titleset|d:title"/>
<section id="{@xml:id}">
<xsl:call-template name="titleNavigation">
<xsl:with-param name="titleset" select="$extendedTitleset"/>
</xsl:call-template>
<xsl:apply-templates select="*[not(self::d:section | self::d:title)]"/>
</section>
<xsl:apply-templates select="d:section">
<xsl:with-param name="titleset" select="$extendedTitleset"/>
</xsl:apply-templates>
</xsl:template>
<xsl:template name="titleNavigation">
<xsl:param name="titleset"/>
<h4>
<xsl:for-each select="$titleset[1]">
<a href="#{parent::*/@xml:id}">
<!-\- <xsl:value-of select="."/> -\->
<xsl:text>Top</xsl:text><!-\- Overall title is likely too long -\->
</a>
</xsl:for-each>
<xsl:for-each select="$titleset[1 < position() and position() < last()]">
<xsl:text> > </xsl:text>
<a href="#{parent::*/@xml:id}">
<xsl:value-of select="."/>
</a>
</xsl:for-each>
<xsl:for-each select="$titleset[1 < position() and position() = last()]">
<xsl:text> > </xsl:text>
<xsl:value-of select="."/>
</xsl:for-each>
</h4>
</xsl:template>
<xsl:template match="d:title">
<h4>
<xsl:value-of select="."/>
</h4>
</xsl:template>
-->
</xsl:stylesheet>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment