add support for "texte adopte" documents starting with a legistic part (#31644)

This commit is contained in:
Frédéric Péters 2019-03-22 10:45:10 +01:00
parent 9cacd6c00c
commit bb29b505f6
1 changed files with 2 additions and 0 deletions

View File

@ -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}&#10;</xsl:text></xsl:if>
<xsl:if test="//nosection/following-sibling::legistic_title"><xsl:text>\end{multicols}&#10;</xsl:text></xsl:if>
<xsl:if test="//nosection/following-sibling::legistic_chapter"><xsl:text>\end{multicols}&#10;</xsl:text></xsl:if>
<xsl:if test="//nosection/following-sibling::legistic_section"><xsl:text>\end{multicols}&#10;</xsl:text></xsl:if>