Skip to content

Commit 3a4ebfd

Browse files
Forward declare html params in assembly for pruning
1 parent 5936279 commit 3a4ebfd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

xsl/pretext-assembly.xsl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,9 +387,12 @@ along with PreTeXt. If not, see <http://www.gnu.org/licenses/>.
387387
<xsl:variable name="version-docinfo" select="$version-root/docinfo"/>
388388
<xsl:variable name="version-document-root" select="$version-root/*[not(self::docinfo)]"/>
389389

390+
<!-- see pretext-html for full version of these params -->
391+
<xsl:param name="subtree" select="''"/>
392+
<xsl:param name="html.quick-dirty" select="''"/>
390393
<xsl:variable name="pruning-tree-rtf">
391394
<xsl:choose>
392-
<xsl:when test="$subtree != '' and $b-quick-dirty">
395+
<xsl:when test="$subtree != '' and $html.quick-dirty != ''">
393396
<xsl:apply-templates select="$version" mode="pruning">
394397
<xsl:with-param name="target-node" select="//*[@id=$subtree]"/>
395398
</xsl:apply-templates>

0 commit comments

Comments
 (0)