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 @@
<name>
Dense Matrix Tools
</name>
<item>
matrix
</item>
<item
nolink=
"true"
>
<name>
Basic
_Math_
Operators
</name>
<name>
Basic
Math
Operators
</name>
<sub>
<item>
<name>
exp
</name>
...
...
@@ -167,7 +167,7 @@
</sub>
</item>
<item
nolink=
"true"
>
<name>
Linear
_
Algebra
</name>
<name>
Linear
Algebra
</name>
<sub>
<item>
<name>
inv
</name>
...
...
@@ -290,7 +290,7 @@
</sub>
</item>
<item
nolink=
"true"
>
<name>
Sub
_Matrix_
Expressions
</name>
<name>
Sub
Matrix
Expressions
</name>
<sub>
<item>
<name>
range
</name>
...
...
@@ -400,7 +400,7 @@
</sub>
</item>
<item
nolink=
"true"
>
<name>
Other
_
Utilities
</name>
<name>
Other
Utilities
</name>
<sub>
<item>
<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 @@
<xsl:variable
name=
"gray"
>
#E3E3E3
</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)
div.entire_page_header {
width:62.5em;
height:59px;
text-align: left;
margin-top: 0.4em;
margin-left: auto;
...
...
@@ -298,6 +298,43 @@ function BigToggle(node)
margin-right: auto;
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>
<xsl:if
test=
"$is_chm != 'true'"
>
<script>
<!-- Google Analytics -->
...
...
@@ -430,6 +467,11 @@ function BigToggle(node)
</xsl:apply-templates>
</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:param
name=
"file_name"
/>
...
...
@@ -452,15 +494,15 @@ function BigToggle(node)
<xsl:template
match=
"item"
>
<xsl:param
name=
"file_name"
/>
<li>
<li>
<xsl:choose>
<xsl:when
test=
"@nolink = 'true'"
>
<xsl:choose>
<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>
<xsl:apply-templates
select=
"sub"
>
<xsl:with-param
name=
"file_name"
select=
"$file_name"
/>
</xsl:apply-templates>
<a
onclick=
"Toggle(this)"
class=
"sub menu"
><img
src=
"plus.gif"
/><xsl:value-of
select=
"name"
/
></a>
<xsl:apply-templates
select=
"sub"
>
<xsl:with-param
name=
"file_name"
select=
"$file_name"
/>
</xsl:apply-templates>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates>
...
...
@@ -476,17 +518,17 @@ function BigToggle(node)
<xsl:when
test=
"link"
>
<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
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>
<xsl:apply-templates
select=
"sub"
>
<xsl:with-param
name=
"file_name"
select=
"$file_name"
/>
</xsl:apply-templates>
<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:with-param
name=
"file_name"
select=
"$file_name"
/>
</xsl:apply-templates>
</xsl:when>
<xsl:otherwise>
<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>
<xsl:apply-templates
select=
"sub"
>
<xsl:with-param
name=
"file_name"
select=
"$file_name"
/>
</xsl:apply-templates>
<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:with-param
name=
"file_name"
select=
"$file_name"
/>
</xsl:apply-templates>
</xsl:otherwise>
</xsl:choose>
</xsl:when>
...
...
@@ -494,17 +536,17 @@ function BigToggle(node)
<xsl:choose>
<xsl:when
test=
"link"
>
<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: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:choose>
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<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:choose>
</li>
...
...
@@ -549,7 +591,7 @@ function BigToggle(node)
<xsl:sort
select=
"translate(name,$lcletters, $ucletters)"
/>
<xsl:variable
name=
"checked"
select=
"@checked"
/>
<a
name =
"{name}"
>
<a
name =
"{name}"
/
>
<div
class=
"component"
>
<a
href=
"#top"
><font
size=
'2'
><center>
[top]
</center></font></a>
...
...
@@ -567,12 +609,12 @@ function BigToggle(node)
<xsl:when
test=
"spec_file/@link = 'true'"
>
<BR/>
<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:otherwise>
<BR/>
<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:choose>
</xsl:if>
...
...
@@ -631,7 +673,6 @@ function BigToggle(node)
messing up the space between these div blocks -->
<center></center>
</div>
</a>
</xsl:for-each>
</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