Skip to content

Commit

Permalink
create \itshape instead of \textit if more than one para is contained…
Browse files Browse the repository at this point in the history
  • Loading branch information
polypunkt committed May 13, 2024
1 parent f888fca commit 70b2290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conf/conf.xml
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@
[ @css:font-style eq 'italic'
or ( exists(key('style', @role)[@css:font-style eq 'italic'])
and not(@css:font-style eq 'normal'))]">
<xsl:text>\textit{</xsl:text>
<xsl:value-of select="if (count(descendant::dbk:para) gt 1) then '\itshape{' else '\textit{'"/>
<xsl:next-match/>
<xsl:text>}</xsl:text>
</template>
Expand Down

0 comments on commit 70b2290

Please sign in to comment.