Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Settings for manual addition of list of contributors
  • Loading branch information
kthoden committed Jan 20, 2020
1 parent 8fcfc0a commit b76cd09
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/stylesheets/tei2eoatex.xsl
Expand Up @@ -10,6 +10,7 @@
<xsl:param name="frontmatter" as="xs:boolean" required="no" select="false()"/>
<xsl:param name="frontmattermanual" as="xs:boolean" required="no" select="false()"/>
<xsl:param name="contributors" as="xs:boolean" required="no" select="false()"/>
<xsl:param name="contributorsmanual" as="xs:boolean" required="no" select="false()"/>
<xsl:param name="strictfloats" as="xs:boolean" required="no" select="false()"/>
<xsl:param name="indentfloats" as="xs:boolean" required="no" select="false()"/>
<xsl:param name="extranewpage" as="xs:boolean" required="no" select="false()"/>
Expand Down Expand Up @@ -128,8 +129,15 @@ contexts, a double replacement is performed.
<xsl:choose>
<xsl:when test="$contributors">
<xsl:text>&#x000a;\EOAchapternonumber{List of Contributors}{List of Contributors}&#x000a;</xsl:text>
<xsl:text>\input{texfiles/contributors.tex}&#x000a;&#x000a;</xsl:text>
<xsl:call-template name="writecontributors"/>
<xsl:choose>
<xsl:when test="$contributorsmanual">
<xsl:text>\input{texfiles/contributors-manual.tex}&#x000a;&#x000a;</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>\input{texfiles/contributors.tex}&#x000a;&#x000a;</xsl:text>
<xsl:call-template name="writecontributors"/>
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="eoa:debug(1, 'Not writing list of contributors.', '')" />
Expand Down

0 comments on commit b76cd09

Please sign in to comment.