Skip to content

Commit

Permalink
No comment
Browse files Browse the repository at this point in the history
  • Loading branch information
glorieux-f committed Jul 6, 2023
1 parent e29a1a6 commit 9cb62e4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 30 deletions.
31 changes: 1 addition & 30 deletions tei_docx/tei_docx.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -1224,39 +1224,10 @@ ancestor::tei:p or ancestor::tei:l or parent::tei:cell
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<!-- Utile ou parasite ? -->
<!-- Better to hide in source, not relevant for -->
<xsl:template match="comment()">
<xsl:comment>
<xsl:value-of select="."/>
</xsl:comment>
<xsl:choose>
<xsl:when test="ancestor::*[text()[normalize-space(.) != '']]">
<w:r>
<w:rPr>
<w:rStyle w:val="Marquedecommentaire"/>
</w:rPr>
<w:commentReference>
<xsl:attribute name="w:id">
<xsl:call-template name="id"/>
</xsl:attribute>
</w:commentReference>
</w:r>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$lf"/>
<w:p>
<w:pPr>
<w:pStyle w:val="Marquedecommentaire"/>
</w:pPr>
<w:r>
<w:commentReference>
<xsl:attribute name="w:id">
<xsl:call-template name="id"/>
</xsl:attribute>
</w:commentReference>
</w:r>
</w:p>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:transform>
Binary file modified tei_docx/template.docx
Binary file not shown.

0 comments on commit 9cb62e4

Please sign in to comment.