Skip to content

Commit

Permalink
Parameter for figure placement
Browse files Browse the repository at this point in the history
  • Loading branch information
Klaus Thoden committed Nov 20, 2018
1 parent 962cb07 commit f5ddb14
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion tei2eoatex.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

<xsl:param name="frontmatter" as="xs:boolean" required="no" select="false()"/>
<xsl:param name="contributors" as="xs:boolean" required="no" select="false()"/>
<xsl:param name="strictfigures" as="xs:boolean" required="no" select="false()"/>
<xsl:param name="verbosity" as="xs:integer" required="no" select="0"/>
<xsl:param name="parts" as="xs:boolean" required="yes"/>

Expand Down Expand Up @@ -282,7 +283,14 @@ contexts, a double replacement is performed.
<!-- need size! -->
<xsl:text>{66}</xsl:text>
<!-- place needs to be adjusted -->
<xsl:text>{ht}</xsl:text>
<xsl:choose>
<xsl:when test="$strictfigures">
<xsl:text>{H}</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>{ht}</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:template>

<xsl:template match="processing-instruction('eoa')">
Expand Down

0 comments on commit f5ddb14

Please sign in to comment.