Skip to content

Commit

Permalink
Fix for wendellpiez#41
Browse files Browse the repository at this point in the history
Reverted titlefont and textfont to be generic font names. Define them as params to set them from transformation scenarios if necessary.
  • Loading branch information
raducoravu authored Sep 23, 2020
1 parent bdc21b8 commit 2d98b10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/xslt/jats-xslfo.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -231,10 +231,10 @@ CHANGES TO NLM JATS v3.0 stylesheet (wap) v1.0 (2009-12-08)
<xsl:variable name="mainindent" select="'5pc'"/>

<!-- Font used for Section titles and the like. -->
<xsl:variable name="titlefont">Helvetica, Arial Unicode MS, Tahoma, Batang, SimSun</xsl:variable>
<xsl:param name="titlefont">sans-serif</xsl:param>

<!-- Font used for normal paragraph text. -->
<xsl:variable name="textfont">Times New Roman, Times, Arial Unicode MS, Tahoma, Batang, SimSun</xsl:variable>
<xsl:param name="textfont">serif</xsl:param>

<!-- Font size for for normal paragraph text and the like. -->
<xsl:variable name="textsize" select="'10pt'"/>
Expand Down

0 comments on commit 2d98b10

Please sign in to comment.