[texhax] [pstricks] multicol updated -- now columns aren't balanced!

Hubert Lam hubert at lamfamily.info
Fri Jun 20 14:03:13 CEST 2014


Hi all,

Sent bug report around an hour ago, and already received a reply! Thanks to all who helped out

This has to be the fastest bug fix provided:

Am 20.06.2014 13:31, schrieb hubert at lamfamily.info:
> Description of bug:
> To fix, either:
>
> * remove color package, or
> * remove minipage around the multicols environment.

fix will be provided shortly, at the moment you can do the following:

\usepackage{etoolbox}
\makeatletter
\patchcmd\endmulticols
     {\if at boxedmulticols\color at endgroup}
     {\if at boxedmulticols\remove at discardable@items\color at endgroup}
     {\typeout{Success}}{\FAIL}
\makeatother

frank

________________________________________
From: PSTricks <pstricks-bounces at tug.org> on behalf of Hubert Lam <hubert at lamfamily.info>
Sent: Friday, 20 June 2014 9:21 PM
To: Lars Madsen; Graphics with PSTricks; Dan Luecking; texhax at tug.org
Subject: Re: [pstricks] [texhax] multicol updated -- now        columns aren't  balanced!

I have to say, without the "minipage" environment around the multicols, the columns are actually balanced. However, I need the minipage there as I normally have a "\psdblframebox" around the entire minipage.

Thanks all who have replied! :) If you do find a fix, please post here so I (and perhaps others) can use the workaround.

Hubert

-----Original Message-----
From: Lars Madsen [mailto:daleif at imf.au.dk]
Sent: Friday, June 20, 2014 7:00 PM
To: Hubert Lam; Graphics with PSTricks; Dan Luecking; texhax at tug.org
Subject: RE: [texhax] [pstricks] multicol updated -- now columns aren't balanced!

I think you should report this a a bug on http://latex-project.org/

Both color.sty and multicol.sty was changed in april 2014.

But interestingly the color.sty difference between color.sty from TL2014 and TL2014 is only


<           [2014/04/23 v1.1a Standard LaTeX Color (DPC)]
---
>           [2005/11/14 v1.0j Standard LaTeX Color (DPC)]
98,104d97
< \def\nopagecolor{%
<   \@ifundefined{no at page@color}{%
<     \PackageInfo{color}{\string\nopagecolor\space is not supported}%
<   }{%
<     \no at page@color
<   }%
< }

thus \nopagecolor was added in 2014.





/Lars Madsen
Institut for Matematik / Department of Mathematics Aarhus Universitet / Aarhus University Mere info: http://au.dk/daleif@imf / More information: http://au.dk/en/daleif@imf


________________________________________
From: texhax [texhax-bounces at tug.org] on behalf of Hubert Lam [hubert at lamfamily.info]
Sent: 20 June 2014 10:38
To: Graphics with PSTricks; Dan Luecking; texhax at tug.org
Subject: Re: [texhax] [pstricks] multicol updated -- now columns        aren't  balanced!

Thanks Herbert! :)

Is there a fix for this? It seems that it's strange for this to suddenly show up?

(Was color updated recently?)

Hubert

-----Original Message-----
From: PSTricks [mailto:pstricks-bounces at tug.org] On Behalf Of Herbert Voss
Sent: Friday, June 20, 2014 3:36 PM
To: Graphics with PSTricks; Dan Luecking; texhax at tug.org
Subject: Re: [pstricks] [texhax] multicol updated -- now columns aren't balanced!

Am 20.06.2014 04:25, schrieb Hubert Lam:
> OK, found the culprit behind the problem: *pstricks* itself!

No! The problem is the package color which is loaded by xcolor which is loaded by pstricks.sty

Replace \usepackage{pstricks}  with
\usepackage{color} and you'll see.

Herbert


> This is the output before including PSTricks:
>
> [pastedImage.png]
>
> This is the output after including PSTricks package:
>
> [pastedImage.png]
>
> Minimal example:
>
> \documentclass{article}
> \usepackage{multicol}
> \usepackage{pstricks}
> \usepackage{pifont}
> \begin{document}
>
> \begin{minipage}{0.975\linewidth}
> \paragraph{Class}  (please \ding{52})\\ \begin{multicols}{2}
> \begin{itemize} \item[$\bigcirc$] 12M3A -- Mr Zuber \item[$\bigcirc$]
> 12M3B -- Mr Berry \item[$\bigcirc$] 12M3C -- Mr Lowe \columnbreak
> \item[$\bigcirc$] 12M4A -- Ms Ziaziaris \item[$\bigcirc$] 12M4B -- Mr
> Lam \item[$\bigcirc$] 12M4C -- Mr Ireland \end{itemize}
> \end{multicols} \end{minipage} \end{document}
>
> For the PSTricks mailing list: the columns used to be balanced -- but
> I updated my installation of MiKTeX 2.9 the latest PSTricks produces
> the uneven columns.
>
>
>
> uh oh!
>
> Thanks
>
> Hubert
>
> ________________________________________
> From: texhax <texhax-bounces at tug.org> on behalf of Dan Luecking
> <dluecking at sbcglobal.net>
> Sent: Friday, 20 June 2014 2:51 AM
> To: texhax at tug.org
> Subject: Re: [texhax] multicol updated -- now columns aren't balanced!
>
> On Thu Jun 19 2014 at 00:27:15 CEST, Hubert Lam
> <mailto:texhax%40tug.org?Subject=Re%3A%20%5Btexhax%5D%20multicol%20upd
> ated%20--%20now%20columns%20aren%27t%20balanced%21&In-Reply-To=%3C1403
> 130428306.81712%40lamfamily.info%3E>hubert
> at lamfamily.info
> wrote:
>
>>The two columns of teacher's names used to be balanced:
>
> [example omitted]
>
> Your example is incomplete. There should be a \begin{minipage} to
> balance the \end{minipage}. The preamble is also missing, so we have
> no way of telling if you have changed some important parameters.
>
> I get nicely balanced columns with the following minimal file.
> Only this was added to the code:
>         ... \\
>      \begin{minipage}{\textwidth}
> plus a preamble just sufficient to guarantee that it compiles.
> My version of multicol is 1.8e.
>
> %======================
> \documentclass{article}
> \usepackage{multicol}
> \usepackage{pifont}
> \begin{document}
>
> \paragraph{Class}  (please \ding{52})\\ \begin{minipage}{\textwidth}
> \begin{multicols}{2} \begin{itemize} \item[$\bigcirc$] 12M3A -- Mr
> Zuber \item[$\bigcirc$] 12M3B -- Mr Berry \item[$\bigcirc$] 12M3C --
> Mr Lowe \columnbreak \item[$\bigcirc$] 12M4A -- Ms Ziaziaris
> \item[$\bigcirc$] 12M4B -- Mr Lam \item[$\bigcirc$] 12M4C -- Mr
> Ireland \end{itemize} \end{multicols} \end{minipage}
>
> \end{document}
> %===============
>
>
> Regards,
> Dan
>
> Daniel H. Luecking
> Department of Mathematical Sciences
> Fayetteville, Arkansas
> http://www-cs-faculty.stanford.edu/~knuth/iaq.html
>
>
> _______________________________________________
> TeX FAQ: http://www.tex.ac.uk/faq
> Mailing list archives: http://tug.org/pipermail/texhax/ More links:
> http://tug.org/begin.html
>
> Automated subscription management:
> http://tug.org/mailman/listinfo/texhax
> Human mailing list managers: postmaster at tug.org
>
>
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
> archive: http://www.tug.org/pipermail/pstricks/
>


_______________________________________________
PSTricks mailing list
PSTricks at tug.org
http://tug.org/mailman/listinfo/pstricks
archive: http://www.tug.org/pipermail/pstricks/


_______________________________________________
TeX FAQ: http://www.tex.ac.uk/faq
Mailing list archives: http://tug.org/pipermail/texhax/ More links: http://tug.org/begin.html

Automated subscription management: http://tug.org/mailman/listinfo/texhax
Human mailing list managers: postmaster at tug.org




_______________________________________________
PSTricks mailing list
PSTricks at tug.org
http://tug.org/mailman/listinfo/pstricks
archive: http://www.tug.org/pipermail/pstricks/




More information about the texhax mailing list