Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <mike.gerwitz@rtspecialty.com>2019-02-07 13:11:31 -0500
committerMike Gerwitz <mike.gerwitz@rtspecialty.com>2019-02-07 13:11:31 -0500
commit7862eef62ecffd6dc6fbcfbbd7fb3ee877412bc8 (patch)
tree6df07d05e8778e21cdd7f6a98df172099f635aec
parentb6cfdb422165d6b2725a5c720f7e488b81237c01 (diff)
downloadtame-7862eef62ecffd6dc6fbcfbbd7fb3ee877412bc8.tar.gz
tame-7862eef62ecffd6dc6fbcfbbd7fb3ee877412bc8.tar.bz2
tame-7862eef62ecffd6dc6fbcfbbd7fb3ee877412bc8.zip
summary: Accommodate now-missing dependency lists
The previous commit made dependency lists optional for certain symbols. The Summary Page needs to be updated to permit such a thing. The whole Summary Page needs aggressive refactoring, though, so this doesn't bother checking for `no-deps' to see if this is a bad thing. * src/current/summary.xsl (typeset-final)[preproc:sym-ref]: Permit missing symbol dependencies. (lv:param|lv:const|lv:item): Likewise.
-rw-r--r--src/current/summary.xsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/current/summary.xsl b/src/current/summary.xsl
index cb91992..ab36a97 100644
--- a/src/current/summary.xsl
+++ b/src/current/summary.xsl
@@ -656,7 +656,7 @@
<xsl:variable name="name" select="@name" />
- <xsl:variable name="deps" as="element( preproc:sym-dep )"
+ <xsl:variable name="deps" as="element( preproc:sym-dep )?"
select="/lv:*/preproc:sym-deps/preproc:sym-dep[
@name=$name ]" />
@@ -1579,7 +1579,7 @@
<xsl:template match="preproc:sym-ref" mode="typeset-final" priority="5">
- <xsl:param name="deps" as="element( preproc:sym-dep )"/>
+ <xsl:param name="deps" as="element( preproc:sym-dep )?"/>
<xsl:variable name="name" select="@name" />
<xsl:variable name="tex" select="