On 03/19/2015 01:02 AM, Rowland McDonnell wrote:
> Peter Flynn <
pe...@silmaril.ie> wrote:
>> Rowland McDonnell wrote:
[...]
>>> Well, yes - the idea is that the second \columnbreak starts a new page.
>>
>> Ah. Multicol doesn't do that: it only starts a new page when the height
>> of the quantity of material accumulated (set to the fractional width
>> implied by the number of columns) and divided by the number of columns
>> (so as to make it equivalent to full-out setting) exceeds the value set
>> for triggering the output routine. Exactly like TeX does for normal
>> pages.
>
> Well, yes; and like normal (La)TeX, the multicols package has provision
> for ending a page/column early. In conventional LaTeX, using a \newpage
> finishes the current page early - or the current column, after a
> \twocolumn declaration.
Right. But twocolumn works radically differently from the multicol
package. As you say, the multicol documentation states:
>> The \pagebreak command (which works with the two-column option of
>> LATEX) is of no use here since it would end the collection phase of
>> multicols and thus all columns on that page.
>
> Yes, but sometimes a document requires that a page (or column) be ended
> early. It just so happens that at the moment, I'm producing a document
> that's largely a list of enumerated items and what with one thing and
> another, it's best if no item extends past a column break.
OK, that's always a problem, from the days of metal type. Sometimes you
just have to go with ragged-bottom pages, with more white-space than a
subeditor would normally permit.
>> If you want to end the page prematurely, I think you need to
>> \end{multicols} and then \clearpage\begin{multicols}{2}
>
> Ah! I hadn't thought of trying that. I just have: even that idea
> doesn't fix the problem I met with the latest released version of
> multicol.sty.
You do need to remove the extra \columnbreak. Can you post an example file?
> Frank Mittelbach suggested that \newpage should work okay without
> displaying the bug I met: alas, it does not.
Hmm. My experience is that Frank is almost always right :-)
> The solution to my problem was provided by Frank Mittelbach, who fixed a
> bug inside multicol.sty on Wednesday and very kindly sent me the updated
> version to try out and it works perfectly.
Aha :-)
> Now, the superfluity of \columbreak commands in my document do not cause
> LaTeX to roll over and die.
>
> The version of multicol.sty I've got is not for release: Frank
> Mittelbach's going to check the package over and maybe make some other
> changes before he does that. I have it from the horse's mouth that this
> won't be before the weekend.
But good news. Thanks for finding the bug.
///Peter