[pstricks] PStricks + LuaTex + fontspec does not work?
stefano franchi
stefano.franchi at gmail.com
Fri Feb 18 03:50:57 CET 2011
I am trying out PST-gannt on one of the examples files from the
manual, with fontspec font selection added and compiled with lualatex
-shell-escape. It does not work. Here is the sample file:
\documentclass[letterpaper,10pt]{memoir}
\usepackage{pst-gantt}
\usepackage{auto-pst-pdf}
\usepackage{fontspec}
\setsansfont{Myriad Pro}
\setmainfont{Minion Pro}
\listfiles
\begin{document}
\begin{postscript}
\newpsstyle{Important}{fillstyle=solid,fillcolor=red}
\newpsstyle{NotImportant}{fillstyle=vlines}
\psrotateleft{%
\begin{PstGanttChart}[unit=2,TaskOutsideLabelMaxSize=1,ChartShowIntervals]{5}{7}
\PstGanttTask[TaskOutsideLabel={Task 1}]{0}{3}
\PstGanttTask[TaskOutsideLabel={Task 2},TaskUnitType=Day]{15}{3}
\PstGanttTask[TaskStyle=Important,TaskOutsideLabel={Task 3},
TaskInsideLabel={\Large\textcolor{white}{\textbf{Important}}}]{2}{5}
\PstGanttTask[TaskStyle=NotImportant,TaskOutsideLabel={Task 4}]{4}{2}
\PstGanttTask[TaskOutsideLabel={Task 5}]{5}{2}
\end{PstGanttChart}}
\end{postscript}
\end{document}
Everything goes well if I comment out the fontspec lines (lines 4-6).
With fontspec on, I get an empty page. Log below:
This is LuaTeX, Version beta-0.65.0-2010121316
\write18 enabled.
(./Test-Gantt-chart.tex
LaTeX2e <2009/09/24>
LuaTeX adaptation of babel <v3.8l-luatex-1.4> and hyphenation patterns for engl
ish, dumylang, nohyphenation, loaded.
(/usr/local/texlive/2010/texmf-dist/tex/latex/memoir/memoir.cls
Document Class: memoir 2010/09/19 v3.6g configurable book, report, article docu
ment class
(/usr/local/texlive/2010/texmf-dist/tex/generic/oberdiek/ifpdf.sty
Package ifpdf Warning: Someone has redefined \pdfoutput.
) (/usr/local/texlive/2010/texmf-dist/tex/generic/ifxetex/ifxetex.sty)
(/usr/local/texlive/2010/texmf-dist/tex/generic/oberdiek/ifluatex.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/etex-pkg/etex.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/memoir/mem10.clo)
(/usr/local/texlive/2010/texmf-dist/tex/latex/memoir/mempatch.sty))
(/usr/local/texlive/2010/texmf-dist/tex/latex/pst-gantt/pst-gantt.sty
(/usr/local/texlive/2010/texmf-dist/tex/latex/pstricks/pstricks.sty
(/usr/local/texlive/2010/texmf-dist/tex/generic/pstricks/pstricks.tex
(/usr/local/texlive/2010/texmf-dist/tex/generic/xkeyval/pst-xkey.tex
(/usr/local/texlive/2010/texmf-dist/tex/latex/xkeyval/xkeyval.sty
(/usr/local/texlive/2010/texmf-dist/tex/generic/xkeyval/xkeyval.tex
(/usr/local/texlive/2010/texmf-dist/tex/generic/xkeyval/keyval.tex))))
(/usr/local/texlive/2010/texmf-dist/tex/generic/pstricks/pst-fp.tex
`pst-fp' v0.05, 2010/01/17 (hv))
`PSTricks' v2.17 <2011/01/30> (tvz)
(/usr/local/texlive/2010/texmf-dist/tex/generic/pstricks/pstricks.con))
(/usr/local/texlive/2010/texmf-dist/tex/generic/pstricks/pst-fp.tex)
(/usr/local/texlive/2010/texmf-dist/tex/latex/xcolor/xcolor.sty
(/usr/local/texlive/2010/texmf-dist/tex/latex/latexconfig/color.cfg)
(/usr/local/texlive/2010/texmf-dist/tex/latex/pdftex-def/pdftex.def
(/usr/local/texlive/2010/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
(/usr/local/texlive/2010/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/local/texlive/2010/texmf-dist/tex/generic/oberdiek/ltxcmds.sty)
(/usr/local/texlive/2010/texmf-dist/tex/generic/oberdiek/luatex-loader.sty
(/usr/local/texlive/2010/texmf-dist/scripts/oberdiek/oberdiek.luatex.lua))))))
(/usr/local/texlive/2010/texmf-dist/tex/generic/pst-gantt/pst-gantt.tex
(/usr/local/texlive/2010/texmf-dist/tex/generic/pst-node/pst-node.tex
v1.14, 2010/12/28)
(/usr/local/texlive/2010/texmf-dist/tex/generic/pst-grad/pst-grad.tex
`pst-grad' v1.06, 2006/11/27 (tvz,dg,hv))
(/usr/local/texlive/2010/texmf-dist/tex/generic/multido/multido.tex
v1.42, 2010/05/14 <tvz>)
`pst-gantt' v0.21, 2010/02/23 (Denis Girou and Herbert Voss)))
(/usr/local/texlive/2010/texmf-dist/tex/latex/auto-pst-pdf/auto-pst-pdf.sty
(/usr/local/texlive/2010/texmf-dist/tex/latex/ifplatform/ifplatform.sty
(/usr/local/texlive/2010/texmf-dist/tex/generic/oberdiek/catchfile.sty
(/usr/local/texlive/2010/texmf-dist/tex/generic/oberdiek/etexcmds.sty))
(./Test-Gantt-chart.w18
-------------------------------------------------
auto-pst-pdf: Auxiliary LaTeX compilation
-------------------------------------------------
This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010)
entering extended mode
))
Package auto-pst-pdf Warning:
Creation of Test-Gantt-chart-autopp.dvi failed.
This warning occured on input line 124.
Package auto-pst-pdf Warning:
Could not create Test-Gantt-chart-pics.pdf. Auxiliary files not deleted.
This warning occured on input line 124.
-------------------------------------------------
auto-pst-pdf: End auxiliary LaTeX compilation
-------------------------------------------------
(/usr/local/texlive/2010/texmf-dist/tex/latex/pst-pdf/pst-pdf.sty
(/usr/local/texlive/2010/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2010/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2010/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/latexconfig/graphics.cfg)))
(/usr/local/texlive/2010/texmf-dist/tex/latex/preview/preview.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/graphics/dvips.def)
(/usr/local/texlive/2010/texmf-dist/tex/latex/environ/environ.sty)))
(/usr/local/texlive/2010/texmf-dist/tex/latex/fontspec/fontspec.sty
(/usr/local/texlive/2010/texmf-dist/tex/latex/expl3/expl3.sty
(/usr/local/texlive/2010/texmf-dist/tex/latex/expl3/l3names.sty
(/usr/local/texlive/2010/texmf-dist/tex/generic/oberdiek/luatex.sty))
(/usr/local/texlive/2010/texmf-dist/tex/latex/expl3/l3basics.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/expl3/l3expan.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/expl3/l3tl.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/expl3/l3int.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/expl3/l3quark.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/expl3/l3seq.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/expl3/l3toks.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/expl3/l3prg.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/expl3/l3clist.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/expl3/l3token.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/expl3/l3prop.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/expl3/l3msg.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/expl3/l3io.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/expl3/l3skip.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/expl3/l3box.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/expl3/l3keyval.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/expl3/l3keys.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/expl3/l3precom.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/expl3/l3xref.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/expl3/l3file.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/expl3/l3fp.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/expl3/l3luatex.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/tools/calc.sty))
(/usr/local/texlive/2010/texmf-dist/tex/latex/xpackages/xbase/xparse.sty)
(/usr/local/texlive/2010/texmf-dist/tex/generic/kastrup/binhex.tex)
(/usr/local/texlive/2010/texmf-dist/tex/luatex/luatextra/luatextra.sty
(/usr/local/texlive/2010/texmf-dist/tex/luatex/luatexbase/luatexbase.sty
(/usr/local/texlive/2010/texmf-dist/tex/luatex/luatexbase/luatexbase-compat.sty
)
(/usr/local/texlive/2010/texmf-dist/tex/luatex/luatexbase/luatexbase-loader.sty
(/usr/local/texlive/2010/texmf-dist/tex/luatex/luatexbase/luatexbase.loader.lua
))
(/usr/local/texlive/2010/texmf-dist/tex/luatex/luatexbase/luatexbase-regs.sty)
(/usr/local/texlive/2010/texmf-dist/tex/luatex/luatexbase/luatexbase-attr.sty
(/usr/local/texlive/2010/texmf-dist/tex/luatex/luatexbase/attr.lua))
(/usr/local/texlive/2010/texmf-dist/tex/luatex/luatexbase/luatexbase-cctb.sty
(/usr/local/texlive/2010/texmf-dist/tex/luatex/luatexbase/cctb.lua)))
(/usr/local/texlive/2010/texmf-dist/tex/luatex/luatexbase/luatexbase-modutils.s
ty
(/usr/local/texlive/2010/texmf-dist/tex/luatex/luatexbase/modutils.lua))
(/usr/local/texlive/2010/texmf-dist/tex/luatex/luatexbase/luatexbase-mcb.sty
(/usr/local/texlive/2010/texmf-dist/tex/luatex/luatexbase/mcb.lua))
(/usr/local/texlive/2010/texmf-dist/tex/luatex/lualibs/lualibs.lua)
(/usr/local/texlive/2010/texmf-dist/tex/luatex/lualibs/lualibs-string.lua)
(/usr/local/texlive/2010/texmf-dist/tex/luatex/lualibs/lualibs-lpeg.lua)
(/usr/local/texlive/2010/texmf-dist/tex/luatex/lualibs/lualibs-boolean.lua)
(/usr/local/texlive/2010/texmf-dist/tex/luatex/lualibs/lualibs-number.lua)
(/usr/local/texlive/2010/texmf-dist/tex/luatex/lualibs/lualibs-math.lua)
(/usr/local/texlive/2010/texmf-dist/tex/luatex/lualibs/lualibs-table.lua)
(/usr/local/texlive/2010/texmf-dist/tex/luatex/lualibs/lualibs-aux.lua)
(/usr/local/texlive/2010/texmf-dist/tex/luatex/lualibs/lualibs-io.lua)
(/usr/local/texlive/2010/texmf-dist/tex/luatex/lualibs/lualibs-os.lua)
(/usr/local/texlive/2010/texmf-dist/tex/luatex/lualibs/lualibs-file.lua)
(/usr/local/texlive/2010/texmf-dist/tex/luatex/lualibs/lualibs-md5.lua)
(/usr/local/texlive/2010/texmf-dist/tex/luatex/lualibs/lualibs-dir.lua)
(/usr/local/texlive/2010/texmf-dist/tex/luatex/lualibs/lualibs-unicode.lua)
(/usr/local/texlive/2010/texmf-dist/tex/luatex/lualibs/lualibs-utils.lua)
(/usr/local/texlive/2010/texmf-dist/tex/luatex/lualibs/lualibs-dimen.lua)
(/usr/local/texlive/2010/texmf-dist/tex/luatex/lualibs/lualibs-url.lua)
(/usr/local/texlive/2010/texmf-dist/tex/luatex/lualibs/lualibs-set.lua)
(/usr/local/texlive/2010/texmf-dist/tex/luatex/luaotfload/luaotfload.sty
(/usr/local/texlive/2010/texmf-dist/tex/luatex/luaotfload/luaotfload.lua)(using
cache: /home/stefano/.texlive2010/texmf-var/luatex-cache/generic))
(/usr/local/texlive/2010/texmf-dist/tex/latex/metalogo/metalogo.sty)
(/usr/local/texlive/2010/texmf-dist/tex/lualatex/luacode/luacode.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/base/fixltx2e.sty))
(/usr/local/texlive/2010/texmf-dist/tex/latex/fontspec/fontspec.lua)
(/usr/local/texlive/2010/texmf-dist/tex/latex/fontspec/fontspec-patches.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/base/fontenc.sty
(/usr/local/texlive/2010/texmf-dist/tex/latex/euenc/eu2enc.def)
(/usr/local/texlive/2010/texmf-dist/tex/latex/euenc/eu2lmr.fd)(load: /home/stef
ano/.texlive2010/texmf-var/luatex-cache/generic/fonts/otf/temp-lmroman10-regula
r.lua)) (/usr/local/texlive/2010/texmf-dist/tex/xelatex/xunicode/xunicode.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/fontspec/fontspec.cfg))
(./Test-Gantt-chart.aux)
(/usr/local/texlive/2010/texmf-dist/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
)
Preview: Fontsize 10pt
Preview: PDFoutput 1
Package pst-pdf Warning: pspicture No. 1 undefined.
Package pst-pdf Warning: File `Test-Gantt-chart-pics.pdf' not found.
(pst-pdf) Use the following commands to create it:
(pst-pdf) ----------------------------------------------------
(pst-pdf) latex Test-Gantt-chart.tex
(pst-pdf) dvips -o Test-Gantt-chart-pics.ps Test-Gantt-chart.dvi
(pst-pdf) ps2pdf Test-Gantt-chart-pics.ps
(pst-pdf) ---------------------------------------------------- .
(./Test-Gantt-chart.aux)
*File List*
memoir.cls 2010/09/19 v3.6g configurable book, report, article document cl
ass
ifpdf.sty 2010/01/28 v2.1 Provides the ifpdf switch (HO)
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
pst-gantt.sty 2008/03/21 package wrapper for pst-gantt.tex (hv)
pstricks.sty 2010/09/18 v0.48 LaTeX wrapper for `PSTricks' (RN,HV)
pstricks.tex 2011/01/30 v2.17 `PSTricks' (tvz,hv)
pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)
xkeyval.sty 2008/08/13 v2.6a package option processing (HA)
xkeyval.tex 2008/08/13 v2.6a key=value parser (HA)
pst-fp.tex 2011/01/30 v2.17 `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
pdftex.def 2010/09/14 v0.05b Graphics/color for pdfTeX
pdftexcmds.sty 2010/04/01 v0.9 Utility functions of pdfTeX for LuaTeX (HO)
infwarerr.sty 2010/04/08 v1.3 Providing info/warning/message (HO)
ltxcmds.sty 2010/04/26 v1.7 LaTeX kernel commands for general use (HO)
luatex-loader.sty 2010/03/09 v0.4 Lua module loader (HO)
pst-gantt.tex 2010/02/23 v0.21 `pst-gantt' (hv)
auto-pst-pdf.sty 2009/04/26 v0.6 Wrapper for pst-pdf
ifplatform.sty 2010/10/22 v0.4 Testing for the operating system
catchfile.sty 2010/04/28 v1.5 Catches the contents of a file (HO)
etexcmds.sty 2010/01/28 v1.3 Prefix for e-TeX command names (HO)
Test-Gantt-chart.w18
pst-pdf.sty 2008/10/09 v1.1v PS graphics for pdfLaTeX (RN,HjG)
graphicx.sty 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
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
preview.sty 2010/02/14 11.86 (AUCTeX/preview-latex)
dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
environ.sty 2008/06/18 v0.2 A new way to define environments
fontspec.sty 2010/11/07 v2.1d Advanced font selection for XeLaTeX/LuaLaTeX
expl3.sty 2010/10/02 v2056 L3 Experimental code bundle wrapper
l3names.sty 2010/10/03 v2064 L3 Experimental Naming Scheme for TeX Primitiv
es
luatex.sty 2010/03/09 v0.4 LuaTeX basic definition package (HO)
l3basics.sty 2010/10/03 v2063 L3 Experimental basic definitions
l3expan.sty 2010/09/20 v2037 L3 Experimental Argument Expansion module
l3tl.sty 2010/10/29 v2081 L3 Experimental Token Lists
l3int.sty 2010/10/17 v2077 L3 Experimental Integer module
l3quark.sty 2010/09/20 v2036 L3 Experimental Quark Commands
l3seq.sty 2010/03/29 v1879 L3 Experimental sequences and stacks
l3toks.sty 2010/09/20 v2037 L3 Experimental Token Registers
l3prg.sty 2010/10/03 v2063 L3 Experimental control structures
l3clist.sty 2010/10/09 v2071 L3 Experimental comma separated lists
l3token.sty 2010/10/03 v2063 L3 Experimental token investigation and manipu
lation
l3prop.sty 2010/03/21 v1857 L3 Experimental Property Lists
l3msg.sty 2010/10/02 v2052 L3 Experimental LaTeX Messages module
l3io.sty 2010/10/03 v2063 L3 Experimental i/o module
l3skip.sty 2010/10/03 v2063 L3 Experimental skip registers
l3box.sty 2010/09/26 v2048 L3 Experimental Box module
l3keyval.sty 2010/04/11 v1890 L3 Experimental keyval processing
l3keys.sty 2010/10/27 v2079 L3 Experimental key-value support
l3precom.sty 2010/02/09 v1793 L3 Experimental precompilation module
l3xref.sty 2010/02/09 v1786 L3 Experimental cross referencing
l3file.sty 2010/03/21 v1853 L3 Experimental file loading
l3fp.sty 2010/10/27 v2080 L3 Experimental floating-point operations
l3luatex.sty 2010/07/18 v1985 L3 Experimental LuaTeX functions
calc.sty 2007/08/22 v4.3 Infix arithmetic (KKT,FJ)
xparse.sty 2010/10/13 v2073 Generic document command parser
luatextra.sty 2010/10/08 v0.98 LuaTeX extra low-level macros
luatexbase.sty 2010/05/27 v0.2a Module utilities for LuaTeX
luatexbase-compat.sty 2010/05/27 v0.2a Compatibility tools for LuaTeX
luatexbase-loader.sty 2010/05/27 v0.2a Lua module loader for LuaTeX
luatexbase-regs.sty 2010/05/27 v0.2a Registers allocation for LuaTeX
luatexbase-attr.sty 2010/05/27 v0.2a Attributes allocation for LuaTeX
luatexbase-cctb.sty 2010/05/27 v0.2a Catcodetable allocation for LuaTeX
luatexbase-modutils.sty 2010/05/27 v0.2a Module utilities for LuaTeX
luatexbase-mcb.sty 2010/05/27 v0.2a Callback management for LuaTeX
luaotfload.sty 2010/10/16 v1.20 OpenType layout system
metalogo.sty 2010/05/29 v0.12 Extended TeX logo macros
luacode.sty 2010/11/08 v1.0 lua-in-tex helpers (mpg)
fixltx2e.sty 2006/09/13 v1.1m fixes to LaTeX
fontspec-patches.sty 2010/11/07 v2.1d Advanced font selection for XeLaTeX/Lu
aLaTeX
fontenc.sty
eu2enc.def 2010/05/27 v0.1h Experimental Unicode font encodings
eu2lmr.fd 2009/10/30 v1.6 Font defs for Latin Modern
xunicode.sty 2010/05/18 v0.95 provides access to latin accents and many othe
r characters in Unicode lower plane
fontspec.cfg
supp-pdf.mkii
***********
)
702 words of node memory still in use:
2 hlist, 2 vlist, 1 rule, 2 glue, 4 attribute, 135 glue_spec, 4 attribute_li
st, 3 write, 8 special, 1 pdf_colorstack nodes
avail lists: 2:9,3:1,6:7,7:1,9:1
No pages of output.
Transcript written on Test-Gantt-chart.log.
More information about the PSTricks
mailing list