[XeTeX] Possible psclip incompatibility in TeXLive-2013?

Herbert Schulz herbs at wideopenwest.com
Fri Aug 23 13:57:55 CEST 2013

On Aug 22, 2013, at 9:17 PM, "Lammert, Richard" <richard.lammert at ctsfw.edu> wrote:

> PS: Just after sending the message, I looked at the PDFs again. The text appears to be in the 2013 PDF, simply not visible. I can cut and paste from the PDF and see the invisible text.
> Richard
> On Thu, Aug 22, 2013 at 10:15 PM, Lammert, Richard <richard.lammert at ctsfw.edu> wrote:
> Hi,
> The following minimal example used to work (back through TeXLive-2009), but currently doesn't. In the current TeXLive-2013, the entire rest of the page is "swallowed" following the psclip statement:
> \documentclass{memoir}
> \usepackage[no-math]{fontspec}
> \usepackage{pstricks}
> \usepackage{lipsum}
> \usepackage{wrapfig}
> \listfiles
> \begin{document}
> \emph{Reading the tables}: the letter(s) on the left give(s) the \emph{first} part of the 
> \begin{wrapfigure}[18]{l}{0.5\textwidth}
>   \begin{pspicture}(0,0)(5.5,6.8)
>      \begin{psclip}
>        {\psline(0,0)(0.5,0.5)(1.0,0)(1.5,0.5)(2.0,0)(2.5,0.5)(3.0,0)(3.5,0.5)(4.0,0)(4.5,0.5)(5,0)(5.5,0.5)(5.5,6.8)(0,6.8)(0,0)}%
>      \end{psclip}
>   \end{pspicture}
> \end{wrapfigure}
> \lipsum[1-5]
> \end{document}
> *** end of example
> Attached are PDFs produced by TeXLive-2012 and TeXLive-2013. The problem does not appear to be in the memoir class, since the same thing happens with "book" and "article." Commenting out the psclip environment produces the page normally. wrapfig is 2003/01/31 (v 3.6) in both cases. The problem, then, seems to me to be somewhere between xetex, fontspec, and pstricks. The versions of these files are as follows:
> TeXLive-2012:
>   XeTeX, Version 3.1415926-2.4-0.9998 (TeX Live 2012)
>   fontspec.sty    2013/03/16 v2.3a
>   pstricks.sty    2013/04/05 v0.54
>   pstricks.tex    2013/04/05 v2.40
> TeXLive-2013:
>   XeTeX, Version 3.1415926-2.5-0.9999.3 (TeX Live 2013)
>   fontspec.sty    2013/05/20 v2.3c
>   pstricks.sty    2013/05/22 v0.57
>   pstricks.tex    2013/07/09 v2.45
> (Full file lists are attached if I have narrowed the field of suspects incorrectly.)
> Environment: Mac OS X 10.7.5 running on an iMac 2011.
> Any idea on what is causing the problem, and how to solve it?
> Thanks!
> Richard Lammert


Just tried it with a fully updated TeX Live 2013 (I am on a Mac and use TeX Live Utility) and didn't seem to have a problem. The complete file list is

*File List*
  memoir.cls    2013/05/30 v3.7b configurable book, report, article document cl
   ifpdf.sty    2011/01/30 v2.3 Provides the ifpdf switch (HO)
  ifetex.sty    2011/12/15 v1.2 ifetex
 ifxetex.sty    2010/09/12 v0.6 Provides ifxetex conditional
ifluatex.sty    2010/03/01 v1.3 Provides the ifluatex switch (HO)
    etex.sty    1998/03/26 v2.0 eTeX basic definition package (PEB)
   mem10.clo    2008/01/30 v0.3 memoir class 10pt size option
mempatch.sty    2009/07/24 v6.0f Patches for memoir class v1.6180339
fontspec.sty    2013/05/20 v2.3c Font selection for XeLaTeX and LuaLaTeX
   expl3.sty    2013/07/28 v4582 L3 Experimental code bundle wrapper
 l3names.sty    2012/12/07 v4346 L3 Namespace for primitives
l3bootstrap.sty    2013/07/28 v4581 L3 Experimental bootstrap code
l3basics.sty    2013/07/28 v4581 L3 Basic definitions
 l3expan.sty    2013/07/24 v4565 L3 Argument expansion
    l3tl.sty    2013/07/28 v4581 L3 Token lists
   l3seq.sty    2013/07/28 v4581 L3 Sequences and stacks
   l3int.sty    2013/07/28 v4581 L3 Integers
 l3quark.sty    2013/07/21 v4564 L3 Quarks
   l3prg.sty    2013/07/28 v4581 L3 Control structures
 l3clist.sty    2013/07/28 v4581 L3 Comma separated lists
 l3token.sty    2013/07/28 v4581 L3 Experimental token manipulation
  l3prop.sty    2013/07/28 v4581 L3 Property lists
   l3msg.sty    2013/07/28 v4581 L3 Messages
  l3file.sty    2013/07/28 v4581 L3 File and I/O operations
  l3skip.sty    2013/07/28 v4581 L3 Dimensions and skips
  l3keys.sty    2013/07/28 v4581 L3 Experimental key-value interfaces
    l3fp.sty    2013/07/09 v4521 L3 Floating points
   l3box.sty    2013/07/28 v4581 L3 Experimental boxes
l3coffins.sty    2012/09/09 v4212 L3 Coffin code layer
 l3color.sty    2012/08/29 v4156 L3 Experimental color support
l3luatex.sty    2013/07/28 v4581 L3 Experimental LuaTeX-specific functions
l3candidates.sty    2013/07/24 v4576 L3 Experimental additions to l3kernel
  xparse.sty    2013/07/28 v4582 L3 Experimental document command parser
fontspec-patches.sty    2013/05/20 v2.3c Font selection for XeLaTeX and LuaLaTe
fixltx2e.sty    2008/08/10 v1.1mf fixes to LaTeX
fontspec-xetex.sty    2013/05/20 v2.3c Font selection for XeLaTeX and LuaLaTeX
  eu1enc.def    2010/05/27 v0.1h Experimental Unicode font encodings
  eu1lmr.fd    2009/10/30 v1.6 Font defs for Latin Modern
xunicode.sty    2011/09/09 v0.981 provides access to latin accents and many oth
er characters in Unicode lower plane
 eu1lmss.fd    2009/10/30 v1.6 Font defs for Latin Modern
graphicx.sty    1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
  keyval.sty    1999/03/16 v1.13 key=value parser (DPC)
graphics.sty    2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
    trig.sty    1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg    2010/04/23 v1.9 graphics configuration of TeX Live
   xetex.def    2013/04/29 v0.96 LaTeX color/graphics driver for XeTeX (RRM/JK)

pstricks.sty    2013/05/22 v0.57 LaTeX wrapper for `PSTricks' (RN,HV)
pstricks.tex    2013/08/20 v2.46 `PSTricks' (tvz,hv)
pst-xkey.tex    2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)
 xkeyval.sty    2012/10/14 v2.6b package option processing (HA)
 xkeyval.tex    2012/10/14 v2.6b key=value parser (HA)
  pst-fp.tex    2013/08/20 v2.46 `PST-fp' (hv)
  xcolor.sty    2007/01/21 v2.11 LaTeX color extensions (UK)
   color.cfg    2007/01/18 v1.5 color configuration of teTeX/TeXLive
  lipsum.sty    2011/04/14 v1.2 150 paragraphs of Lorem Ipsum dummy text
 wrapfig.sty    2003/01/31  v 3.6
   t3cmr.fd    2001/12/31 TIPA font definitions

-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.tex
Type: application/octet-stream
Size: 607 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20130823/a9ea9b65/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.pdf
Type: application/pdf
Size: 13678 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20130823/a9ea9b65/attachment.pdf>
-------------- next part --------------

I assume what I'm seeing is correct.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)

More information about the XeTeX mailing list