Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
98a6553b
Commit
98a6553b
authored
Jul 18, 2015
by
Davis King
Browse files
Options
Browse Files
Download
Plain Diff
merged
parents
7c8b9828
d2f8c699
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
66 additions
and
25 deletions
+66
-25
linear_algebra.xml
docs/docs/linear_algebra.xml
+4
-4
main_menu.xml
docs/docs/main_menu.xml
+0
-0
stylesheet.xsl
docs/docs/stylesheet.xsl
+62
-21
No files found.
docs/docs/linear_algebra.xml
View file @
98a6553b
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
<name>
Dense Matrix Tools
</name>
<name>
Dense Matrix Tools
</name>
<item>
matrix
</item>
<item>
matrix
</item>
<item
nolink=
"true"
>
<item
nolink=
"true"
>
<name>
Basic
_Math_
Operators
</name>
<name>
Basic
Math
Operators
</name>
<sub>
<sub>
<item>
<item>
<name>
exp
</name>
<name>
exp
</name>
...
@@ -167,7 +167,7 @@
...
@@ -167,7 +167,7 @@
</sub>
</sub>
</item>
</item>
<item
nolink=
"true"
>
<item
nolink=
"true"
>
<name>
Linear
_
Algebra
</name>
<name>
Linear
Algebra
</name>
<sub>
<sub>
<item>
<item>
<name>
inv
</name>
<name>
inv
</name>
...
@@ -290,7 +290,7 @@
...
@@ -290,7 +290,7 @@
</sub>
</sub>
</item>
</item>
<item
nolink=
"true"
>
<item
nolink=
"true"
>
<name>
Sub
_Matrix_
Expressions
</name>
<name>
Sub
Matrix
Expressions
</name>
<sub>
<sub>
<item>
<item>
<name>
range
</name>
<name>
range
</name>
...
@@ -400,7 +400,7 @@
...
@@ -400,7 +400,7 @@
</sub>
</sub>
</item>
</item>
<item
nolink=
"true"
>
<item
nolink=
"true"
>
<name>
Other
_
Utilities
</name>
<name>
Other
Utilities
</name>
<sub>
<sub>
<item>
<item>
<name>
fft
</name>
<name>
fft
</name>
...
...
docs/docs/main_menu.xml
View file @
98a6553b
This diff is collapsed.
Click to expand it.
docs/docs/stylesheet.xsl
View file @
98a6553b
...
@@ -36,7 +36,6 @@
...
@@ -36,7 +36,6 @@
<xsl:variable
name=
"gray"
>
#E3E3E3
</xsl:variable>
<xsl:variable
name=
"gray"
>
#E3E3E3
</xsl:variable>
<xsl:variable
name=
"background_color"
>
#EDF3EE
</xsl:variable>
<xsl:variable
name=
"background_color"
>
#EDF3EE
</xsl:variable>
<xsl:variable
name=
"main_width"
>
62.5em
</xsl:variable>
<!-- ************************************************************************* -->
<!-- ************************************************************************* -->
<!-- ************************************************************************* -->
<!-- ************************************************************************* -->
...
@@ -286,6 +285,7 @@ function BigToggle(node)
...
@@ -286,6 +285,7 @@ function BigToggle(node)
div.entire_page_header {
div.entire_page_header {
width:62.5em;
width:62.5em;
height:59px;
text-align: left;
text-align: left;
margin-top: 0.4em;
margin-top: 0.4em;
margin-left: auto;
margin-left: auto;
...
@@ -298,6 +298,43 @@ function BigToggle(node)
...
@@ -298,6 +298,43 @@ function BigToggle(node)
margin-right: auto;
margin-right: auto;
clear:both;
clear:both;
}
}
a {
text-decoration: none;
font-family: sans-serif;
}
a:hover{
text-decoration: underline;
}
a.menu{
white-space: nowrap;
}
a.sub{
cursor: pointer;
margin-left:-9px;
color: green;
}
#download_button {
font-weight: bold;
margin-left: auto;
margin-right: auto;
background-color: #e1ddda;
font-size: 14pt;
padding: 7px;
-moz-box-shadow: 2px 2px 9px #777777;
-webkit-box-shadow: 2px 2px 9px #777777;
box-shadow: 2px 2px 9px #777777;
border-radius: 8px;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
}
#download_button:hover {
text-decoration: none;
-moz-box-shadow: 1px 1px 9px #77a777;
-webkit-box-shadow: 1px 1px 9px #77a777;
box-shadow: 1px 1px 9px #77a777;
color: #007777;
}
</style>
</style>
<xsl:if
test=
"$is_chm != 'true'"
>
<xsl:if
test=
"$is_chm != 'true'"
>
<script>
<!-- Google Analytics -->
<script>
<!-- Google Analytics -->
...
@@ -430,6 +467,11 @@ function BigToggle(node)
...
@@ -430,6 +467,11 @@ function BigToggle(node)
</xsl:apply-templates>
</xsl:apply-templates>
</xsl:template>
</xsl:template>
<xsl:template
match=
"download_button"
>
<xsl:variable
name=
"linktext"
><xsl:apply-templates
select=
"link"
/></xsl:variable>
<a
href=
"{$linktext}"
id=
"download_button"
class=
"menu"
><xsl:value-of
select=
"name"
/></a>
</xsl:template>
<xsl:template
match=
"menu"
>
<xsl:template
match=
"menu"
>
<xsl:param
name=
"file_name"
/>
<xsl:param
name=
"file_name"
/>
...
@@ -452,15 +494,15 @@ function BigToggle(node)
...
@@ -452,15 +494,15 @@ function BigToggle(node)
<xsl:template
match=
"item"
>
<xsl:template
match=
"item"
>
<xsl:param
name=
"file_name"
/>
<xsl:param
name=
"file_name"
/>
<li>
<li>
<xsl:choose>
<xsl:choose>
<xsl:when
test=
"@nolink = 'true'"
>
<xsl:when
test=
"@nolink = 'true'"
>
<xsl:choose>
<xsl:choose>
<xsl:when
test=
"name"
>
<xsl:when
test=
"name"
>
<a
onclick=
"Toggle(this)"
style=
"cursor: pointer;margin-left:-9px"
><img
src=
"plus.gif"
/><font
color=
"green"
><u><xsl:value-of
select=
"name"
/></u></font
></a>
<a
onclick=
"Toggle(this)"
class=
"sub menu"
><img
src=
"plus.gif"
/><xsl:value-of
select=
"name"
/
></a>
<xsl:apply-templates
select=
"sub"
>
<xsl:apply-templates
select=
"sub"
>
<xsl:with-param
name=
"file_name"
select=
"$file_name"
/>
<xsl:with-param
name=
"file_name"
select=
"$file_name"
/>
</xsl:apply-templates>
</xsl:apply-templates>
</xsl:when>
</xsl:when>
<xsl:otherwise>
<xsl:otherwise>
<xsl:apply-templates>
<xsl:apply-templates>
...
@@ -476,17 +518,17 @@ function BigToggle(node)
...
@@ -476,17 +518,17 @@ function BigToggle(node)
<xsl:when
test=
"link"
>
<xsl:when
test=
"link"
>
<xsl:variable
name=
"linktext"
><xsl:apply-templates
select=
"link"
/></xsl:variable>
<xsl:variable
name=
"linktext"
><xsl:apply-templates
select=
"link"
/></xsl:variable>
<a
href=
"{$linktext}"
style=
"float:right"
><img
src=
"right.gif"
border=
"0"
/></a>
<a
href=
"{$linktext}"
style=
"float:right"
><img
src=
"right.gif"
border=
"0"
/></a>
<a
onclick=
"Toggle(this)"
style=
"cursor: pointer;margin-left:-9px"
><img
src=
"plus.gif"
border=
"0"
/><font
color=
"green"
><u><xsl:value-of
select=
"name"
/></u></font
></a>
<a
onclick=
"Toggle(this)"
class=
"sub menu"
><img
src=
"plus.gif"
border=
"0"
/><xsl:value-of
select=
"name"
/
></a>
<xsl:apply-templates
select=
"sub"
>
<xsl:apply-templates
select=
"sub"
>
<xsl:with-param
name=
"file_name"
select=
"$file_name"
/>
<xsl:with-param
name=
"file_name"
select=
"$file_name"
/>
</xsl:apply-templates>
</xsl:apply-templates>
</xsl:when>
</xsl:when>
<xsl:otherwise>
<xsl:otherwise>
<a
href=
"{$file_name}#{name}"
style=
"float:right"
><img
src=
"down.gif"
border=
"0"
/></a>
<a
href=
"{$file_name}#{name}"
style=
"float:right"
><img
src=
"down.gif"
border=
"0"
/></a>
<a
onclick=
"Toggle(this)"
style=
"cursor: pointer;"
><img
src=
"plus.gif"
border=
"0"
/><font
color=
"green"
><u><xsl:value-of
select=
"name"
/></u></font
></a>
<a
onclick=
"Toggle(this)"
class=
"sub menu"
><img
src=
"plus.gif"
border=
"0"
/><xsl:value-of
select=
"name"
/
></a>
<xsl:apply-templates
select=
"sub"
>
<xsl:apply-templates
select=
"sub"
>
<xsl:with-param
name=
"file_name"
select=
"$file_name"
/>
<xsl:with-param
name=
"file_name"
select=
"$file_name"
/>
</xsl:apply-templates>
</xsl:apply-templates>
</xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
</xsl:choose>
</xsl:when>
</xsl:when>
...
@@ -494,17 +536,17 @@ function BigToggle(node)
...
@@ -494,17 +536,17 @@ function BigToggle(node)
<xsl:choose>
<xsl:choose>
<xsl:when
test=
"link"
>
<xsl:when
test=
"link"
>
<xsl:variable
name=
"linktext"
><xsl:apply-templates
select=
"link"
/></xsl:variable>
<xsl:variable
name=
"linktext"
><xsl:apply-templates
select=
"link"
/></xsl:variable>
<a
href=
"{$linktext}"
><xsl:value-of
select=
"name"
/></a>
<a
href=
"{$linktext}"
class=
"menu"
><xsl:value-of
select=
"name"
/></a>
</xsl:when>
</xsl:when>
<xsl:otherwise>
<xsl:otherwise>
<a
href=
"{$file_name}#{name}"
><xsl:value-of
select=
"name"
/></a>
<a
href=
"{$file_name}#{name}"
class=
"menu"
><xsl:value-of
select=
"name"
/></a>
</xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
</xsl:choose>
</xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
</xsl:choose>
</xsl:when>
</xsl:when>
<xsl:otherwise>
<xsl:otherwise>
<a
href=
"{$file_name}#{.}"
><xsl:value-of
select=
"."
/></a>
<a
href=
"{$file_name}#{.}"
class=
"menu"
><xsl:value-of
select=
"."
/></a>
</xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
</xsl:choose>
</li>
</li>
...
@@ -549,7 +591,7 @@ function BigToggle(node)
...
@@ -549,7 +591,7 @@ function BigToggle(node)
<xsl:sort
select=
"translate(name,$lcletters, $ucletters)"
/>
<xsl:sort
select=
"translate(name,$lcletters, $ucletters)"
/>
<xsl:variable
name=
"checked"
select=
"@checked"
/>
<xsl:variable
name=
"checked"
select=
"@checked"
/>
<a
name =
"{name}"
>
<a
name =
"{name}"
/
>
<div
class=
"component"
>
<div
class=
"component"
>
<a
href=
"#top"
><font
size=
'2'
><center>
[top]
</center></font></a>
<a
href=
"#top"
><font
size=
'2'
><center>
[top]
</center></font></a>
...
@@ -567,12 +609,12 @@ function BigToggle(node)
...
@@ -567,12 +609,12 @@ function BigToggle(node)
<xsl:when
test=
"spec_file/@link = 'true'"
>
<xsl:when
test=
"spec_file/@link = 'true'"
>
<BR/>
<BR/>
<b><a
href=
"{spec_file}.html#{name}"
>
<b><a
href=
"{spec_file}.html#{name}"
>
<font
style=
'font-size:1.
4
em'
>
Detailed Documentation
</font></a></b>
<font
style=
'font-size:1.
6
em'
>
Detailed Documentation
</font></a></b>
</xsl:when>
</xsl:when>
<xsl:otherwise>
<xsl:otherwise>
<BR/>
<BR/>
<b><a
href=
"{spec_file}.html"
>
<b><a
href=
"{spec_file}.html"
>
<font
style=
'font-size:1.
4
em'
>
Detailed Documentation
</font></a></b>
<font
style=
'font-size:1.
6
em'
>
Detailed Documentation
</font></a></b>
</xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
</xsl:choose>
</xsl:if>
</xsl:if>
...
@@ -631,7 +673,6 @@ function BigToggle(node)
...
@@ -631,7 +673,6 @@ function BigToggle(node)
messing up the space between these div blocks -->
messing up the space between these div blocks -->
<center></center>
<center></center>
</div>
</div>
</a>
</xsl:for-each>
</xsl:for-each>
</xsl:template>
</xsl:template>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment