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
06ada84a
Commit
06ada84a
authored
11 years ago
by
Goik Martin
Browse files
Options
Downloads
Patches
Plain Diff
Table of qandaset title entries
parent
40b585d6
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Doc/course.xml
+142
-128
142 additions, 128 deletions
Doc/course.xml
ws/Docbook/Extensions/Tdata/qanda.xml
+8
-2
8 additions, 2 deletions
ws/Docbook/Extensions/Tdata/qanda.xml
ws/Docbook/Extensions/Xsl/docbook2docbook.xsl
+4
-8
4 additions, 8 deletions
ws/Docbook/Extensions/Xsl/docbook2docbook.xsl
with
154 additions
and
138 deletions
Doc/course.xml
+
142
−
128
View file @
06ada84a
This diff is collapsed.
Click to expand it.
ws/Docbook/Extensions/Tdata/qanda.xml
+
8
−
2
View file @
06ada84a
...
...
@@ -46,11 +46,11 @@
<chapter
xml:id=
"chap2"
>
<title>
More questions
</title>
<qandaset>
<qandaset
xml:id=
"q2"
>
<title>
Second question
</title>
<qandadiv>
<qandaentry
xml:id=
"q2"
>
<qandaentry>
<question>
<para>
My Second question
</para>
</question>
...
...
@@ -78,5 +78,11 @@
</qandadiv>
</qandaset>
</chapter>
<appendix
xml:id=
"appendix"
>
<title>
List of exercises
</title>
<para>
See
<xref
linkend=
"q2"
/>
.
</para>
</appendix>
</part>
</book>
This diff is collapsed.
Click to expand it.
ws/Docbook/Extensions/Xsl/docbook2docbook.xsl
+
4
−
8
View file @
06ada84a
...
...
@@ -65,10 +65,9 @@
<xsl:template
match=
"db:part"
>
<xsl:copy>
<xsl:apply-templates
select=
"@* | node()"
/>
<!--
<appendix>
<title>
<xsl:text>
Solutions
exercise
s
</xsl:text>
<xsl:text>
List of
exercise
sets
</xsl:text>
<xsl:value-of
select=
"db:title"
/>
</title>
...
...
@@ -80,13 +79,11 @@
<th>
Exercise title / page
</th>
<th>
Status of completion
</th>
</tr>
<xsl:for-each select=".//db:qandaset
/db:qandadiv/db:qandaentry
">
<xsl:for-each
select=
".//db:qandaset"
>
<tr>
<td>
<xref xrefstyle="template:%n, %t">
<xsl:attribute name="linkend">
<xsl:apply-templates select="." mode="hdmIdGenerate"/>
</xsl:attribute>
<xref
xrefstyle=
"template:%n, %t"
linkend=
"{@xml:id}"
>
<xsl:copy-of
select=
"db:title/node()"
/>
</xref>
</td>
<td/>
...
...
@@ -94,7 +91,6 @@
</xsl:for-each>
</table>
</appendix>
-->
</xsl:copy>
</xsl:template>
...
...
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