Skip to content

Commit 1ccfcbe

Browse files
Forward declare html params in assembly for pruning
1 parent 58eaee9 commit 1ccfcbe

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

xsl/pretext-assembly.xsl

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

358+
<!-- see pretext-html for full version of these params -->
359+
<xsl:param name="subtree" select="''"/>
360+
<xsl:param name="html.quick-dirty" select="''"/>
358361
<xsl:variable name="pruning-tree-rtf">
359362
<xsl:choose>
360-
<xsl:when test="$subtree != '' and $b-quick-dirty">
363+
<xsl:when test="$subtree != '' and $html.quick-dirty != ''">
361364
<xsl:apply-templates select="$version" mode="pruning">
362365
<xsl:with-param name="target-node" select="//*[@id=$subtree]"/>
363366
</xsl:apply-templates>

0 commit comments

Comments
 (0)