add support for "texte adopte" documents starting with a legistic part (#31644)
parent
9cacd6c00c
commit
bb29b505f6
|
@ -258,6 +258,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|||
the columns open and they'll get closed when the end-of-document
|
||||
processing instruction will be met.
|
||||
-->
|
||||
<xsl:when test="following-sibling::legistic_part"></xsl:when>
|
||||
<xsl:when test="following-sibling::legistic_title"></xsl:when>
|
||||
<xsl:when test="following-sibling::legistic_chapter"></xsl:when>
|
||||
<xsl:when test="following-sibling::legistic_section"></xsl:when>
|
||||
|
@ -273,6 +274,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|||
<!-- columns have been left open after <nosection/>, they must be closed
|
||||
now that the end of the document has been reached.
|
||||
-->
|
||||
<xsl:if test="//nosection/following-sibling::legistic_part"><xsl:text>\end{multicols} </xsl:text></xsl:if>
|
||||
<xsl:if test="//nosection/following-sibling::legistic_title"><xsl:text>\end{multicols} </xsl:text></xsl:if>
|
||||
<xsl:if test="//nosection/following-sibling::legistic_chapter"><xsl:text>\end{multicols} </xsl:text></xsl:if>
|
||||
<xsl:if test="//nosection/following-sibling::legistic_section"><xsl:text>\end{multicols} </xsl:text></xsl:if>
|
||||
|
|
Reference in New Issue