Skip to content

Commit

Permalink
mode identifiers: add orderlist-text1 exclusion
Browse files Browse the repository at this point in the history
  • Loading branch information
pglatza committed Jan 5, 2022
1 parent f5cc911 commit 72c2d44
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions xsl/evolve-hub.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -2721,8 +2721,13 @@
<xsl:matching-substring>
<xsl:choose>
<xsl:when test="$context/following-sibling::node()[1]/self::tab
and matches($context, concat($hub:orderedlist-mark-at-start-regex, '\p{L}'))
(: GI 2018-09-06: [A-Za-z] → \p{L} so that in 'o.ä.' 'o.' won’t be marked up as hub:identifier :)
and (
(: GI 2018-09-06: [A-Za-z] → \p{L} so that in 'o.ä.' 'o.' won’t be marked up as hub:identifier :)
matches($context, concat($hub:orderedlist-mark-at-start-regex, '\p{L}'))
or
(: exclude simple letter+space variant, example: 'zu 2.4:' :)
matches($context, '^\p{L}+\s')
)
or $hub:already-identified
or $no-identifier-but-simple-equation-starts">
<xsl:value-of select="." />
Expand Down

0 comments on commit 72c2d44

Please sign in to comment.