legi2pdf: only keep column opens if followed by a legistic section (#10328)

This commit is contained in:
Frédéric Péters 2016-11-02 11:07:07 +01:00
parent 01a7bd6f00
commit 9cacd6c00c
1 changed files with 3 additions and 3 deletions

View File

@ -258,9 +258,9 @@ 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="not(following-sibling::legistic_title)"></xsl:when>
<xsl:when test="not(following-sibling::legistic_chapter)"></xsl:when>
<xsl:when test="not(following-sibling::legistic_section)"></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>
<xsl:otherwise>
<xsl:text>\end{multicols}&#10;</xsl:text>
</xsl:otherwise>